avsync: video_stop don't clear the tsync_pcr_inited_flag [1/2]

PD#SWPL-14955

Problem:
Pcm playback is mute after replaying multiple times

Solution:
Don't clear the tsync_pcr_inited_flag when video stop

Verify:
Verified ok on patch-build

Change-Id: I1cf76d2dd8a56ce85c62b0c3b8b7782223b1d282
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
This commit is contained in:
Zhizhong Zhang
2020-03-17 18:52:06 +08:00
committed by Chris
parent b8f9c3739e
commit 3d33b75412

View File

@@ -1013,9 +1013,8 @@ void tsync_pcr_avevent_locked(enum avevent_e event, u32 param)
tsync_set_av_state(0, 3);
tsync_pcr_vpause_flag = 0;
tsync_pcr_vstart_flag = 0;
tsync_pcr_inited_flag = 0;
wait_pcr_count = 0;
pr_info("not clear init flag when video stop\n");
pr_info("wait_pcr_count = 0\n");
tsync_pcr_tsdemuxpcr_discontinue = 0;
tsync_pcr_discontinue_point = 0;