mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
video: video peek do not post video start event [1/1]
PD#SWPL-4317 Problem: for video peek, before audio post audio start, video may have rended. Solution: do not post video start for video peek, all wait for audio start to start pcr Verify: verify by p212 Change-Id: If5656154e30613164465f84c44d3fd1ee386d654 Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com> Conflicts: drivers/amlogic/media/video_sink/video.c
This commit is contained in:
committed by
Dongjin Kim
parent
3cb9b59d7a
commit
94a573ec4d
@@ -156,6 +156,11 @@ static bool video_start_post;
|
||||
static bool videopeek;
|
||||
static bool nopostvideostart;
|
||||
static struct video_frame_detect_s video_frame_detect;
|
||||
static struct timeval time_setomxpts = {
|
||||
.tv_sec = 0,
|
||||
.tv_usec = 0,
|
||||
};
|
||||
|
||||
|
||||
/*----omx_info bit0: keep_last_frame, bit1~31: unused----*/
|
||||
static u32 omx_info = 0x1;
|
||||
@@ -4051,7 +4056,7 @@ static void vsync_toggle_frame(struct vframe_s *vf, int line)
|
||||
|
||||
/* if el is unnecessary, afbc2 need to be closed */
|
||||
if ((last_el_status == 1) && (vf_with_el == 0))
|
||||
need_disable_vd2 = 1;
|
||||
need_disable_vd2 = true;
|
||||
|
||||
if (((vf->type & VIDTYPE_MVC) == 0)
|
||||
&& last_mvc_status)
|
||||
|
||||
Reference in New Issue
Block a user