amlv4l2dec: CB2 fix poll capture buffer error [1/1]
PD#SWPL-144499
Problem:
on YTS case MSE Codec Tests MSE (H264) LoopH264,after eos, this case
will seek to beginning of video to play again. But render compositor
hold 2 capture buffer,so when amlv4l2dec streamon, the available number
of capture buffers is less than last playback. it cause fence failure
Solution:
check the number of capture buffers those queued to v4l2
Verify:
ap222
Change-Id: Iaa4dac85f431cadd130d75431e5c2fc662ea89ad
Signed-off-by: fei.deng <fei.deng@amlogic.com>
2 files changed