dv: enable drop frame for dv [1/1]
authoryao liu <yao.liu@amlogic.com>
Mon, 26 Aug 2019 13:58:21 +0000 (09:58 -0400)
committeryao liu <yao.liu@amlogic.com>
Thu, 29 Aug 2019 02:13:09 +0000 (22:13 -0400)
commit6a108be69d58805c6bc426f78e645d8abb7d5cf8
tree205f43019fb238f8af425014d99214d5e4cbc793
parentb8e5a27344d8abde31eae1dd80ad7314b6ef88b0
dv: enable drop frame for dv [1/1]

PD#SWPL-13115

Problem:
Apk drop lots of frames before render
the first frame, in this case, omx_run
is false and no frames will render.
Decoder doesn't have free output buffer.

Solution:
Drop dv frames in video sync before render
the first frame if app want to drop.

Verify:
Verified on U212

Change-Id: I463619f658d7f78ad8d513e17ca78482e17b3a4e
Signed-off-by: yao liu <yao.liu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/video_priv.h
include/linux/amlogic/media/amdolbyvision/dolby_vision.h