frame_sync: fixed the issure of the player that starts slowly [2/2]

PD#148146: modify checkin_firstvpts to 0xffffffff

Change-Id: I16d75f8cd0f7ed7582f731db42bc247c49580974
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
This commit is contained in:
Nanxin Qin
2017-08-23 14:42:54 +08:00
committed by Jianxin Pan
parent c5a8273643
commit 435ded217d
2 changed files with 5 additions and 1 deletions

View File

@@ -1317,6 +1317,10 @@ int pts_stop(u8 type)
if (type == PTS_TYPE_AUDIO)
timestamp_apts_set(-1);
if (type == PTS_TYPE_VIDEO || type == PTS_TYPE_HEVC)
timestamp_checkin_firstvpts_set(0xffffffff);
tsync_mode_reinit();
return 0;

View File

@@ -32,7 +32,7 @@ static u32 system_time_up;
static u32 audio_pts_up;
static u32 audio_pts_started;
static u32 first_vpts;
static u32 first_checkin_vpts;
static u32 first_checkin_vpts = 0xffffffff;
static u32 first_apts;
static u32 system_time_scale_base = 1;