amvideo: omx consecutive drop should happen only after omx_run is true [1/1]
authorRico Yang <wei.yang@amlogic.com>
Wed, 11 Sep 2019 07:40:17 +0000 (03:40 -0400)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 18 Sep 2019 05:56:25 +0000 (22:56 -0700)
commit63f5c4559ecd693f230ef490254decb9ca5e514d
treeef3e805524affd0873af97ac27ac18c0a3d87b54
parent270cbf3b28a98f2071f54862e7cf967e52e98356
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>
drivers/amlogic/media/video_sink/video.c