mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
amvideo: omx consecutive drop should happen only after omx_run is true [1/1]
PD#SWPL-13232 Problem: amvideo drops excessive video frames than it should drop Solution: drop only after omx_run is true Verify: verified on Franklin Change-Id: Iacb8f23c9635d00ce6265a0228c1e1e458902c6a Signed-off-by: Rico Yang <wei.yang@amlogic.com>
This commit is contained in:
@@ -7225,7 +7225,7 @@ static irqreturn_t vsync_isr_in(int irq, void *dev_id)
|
||||
vf->pts, vf->omx_index,
|
||||
timestamp_pcrscr_get(), timestamp_vpts_get());
|
||||
}
|
||||
if (omx_continuous_drop_flag
|
||||
if ((omx_continuous_drop_flag && omx_run)
|
||||
&& !(debug_flag
|
||||
& DEBUG_FLAG_OMX_DISABLE_DROP_FRAME)) {
|
||||
if (is_dolby_vision_enable() && vf &&
|
||||
|
||||
Reference in New Issue
Block a user