avsync: Clear video pts & pcr pts when ts' playback stops [1/1]

PD#TV-11272

Problem:
Switch to the ATV channel from DTV, the picture is stuck.

Solution:
Clear video pts & pcr pts.

Verify:
x30a4

Change-Id: Id265bfdfbd7e09d1423c9349de0596d4d742474c
Signed-off-by: hui an <hui.an@amlogic.com>
This commit is contained in:
hui an
2019-10-28 12:38:53 +08:00
committed by Jianxin Pan
parent ed26e40f82
commit 3936b23968

View File

@@ -1332,6 +1332,8 @@ void tsync_pcr_stop(void)
tsync_pcr_started = 0;
tsync_audio_state = 0;
tsync_video_state = 0;
timestamp_vpts_set(0);
timestamp_pcrscr_set(0);
}
EXPORT_SYMBOL(tsync_pcr_stop);