mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
tsync: tsync: fix av sync problem random [1/1]
PD#SWPL-906 Problem: The video and audio did not synchronous randomly Solution: it seems system time increase not by vsync isr, so change the system time get interface to make sure system time increase by vsync isr when amaster mode Verify: R311&P321 32bit&64bit version Change-Id: Ib3a556ba097fc6f0c51fd4560ab8101c6e7f509c Signed-off-by: live.li <live.li@amlogic.com>
This commit is contained in:
@@ -116,6 +116,9 @@ EXPORT_SYMBOL(timestamp_apts_started);
|
||||
|
||||
u32 timestamp_pcrscr_get(void)
|
||||
{
|
||||
if (tsync_get_mode() == TSYNC_MODE_AMASTER)
|
||||
return system_time;
|
||||
|
||||
if (tsdemux_pcrscr_valid_cb && tsdemux_pcrscr_valid_cb()) {
|
||||
if (tsync_pcr_demux_pcr_used() == 0) {
|
||||
return system_time;
|
||||
|
||||
Reference in New Issue
Block a user