mm-video-v4l2: vdec: add special handling for codec_config buffer
[1] During flush, current implementation allows codec_config buffer to
send it to firmware, even there is no sufficient FTB buffers avaliable
with firmware. So VideoDecMsgThread thread is waiting on codec_config
EBD for 2 sec and that lead to timeout in pre-roll logic at framework.
So framework treats that as a corrupted clip and closes video session
and proceeds with only audio.
[2] To handle this situation, send outstanding FTB buffers to firmware,
before queuing codec_config ETB's.
Change-Id: I5df3bada976cab282a41b3cb2b836ed468d37615
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
1 file changed