mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user