v4l: fixed some issues of the v4l codec. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Thu, 21 May 2020 03:18:07 +0000 (11:18 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Thu, 28 May 2020 02:37:54 +0000 (19:37 -0700)
commit6c27635450014c78a9da7fbbabd5b25546122806
tree818bddc5846488c09df604bbb2aa05ae14456412
parentf3eded78794916b1916c19658197f7bad05124fb
v4l: fixed some issues of the v4l codec. [1/1]

PD#SWPL-26430

Problem:
1. the first picture output 2 times.
2. exception calltrace was found when exit multi-inst playbacks

Solution:
1. the first frame of es must be removed after probe done.
2. clean vb2 buffers status when cmd stream stop.

Verify:
u212

Change-Id: Ic90a5a48e0e2f966e150dc76ba7902a8a9920f3e
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/amvdec_ports/aml_vcodec_dec.c