amlv4l2dec: CB2 fixed streamon error [1/1]

PD#SWPL-141913

Problem:
amlv4l2dec is processing resolution changed event,at this point
received flush event, it cause gst_video_decoder_negotiate failed,
capture buffer pool don't be actived,so none capture buffer queue
to decoder

Solution:
if amlv4l2dec is processing resolution changed event, blocking
flush event until capture buffer pool actived

Verify:
ap222

Change-Id: Ie8b1c940e3745eecdec03a5403239f885e7eb17d
Signed-off-by: fei.deng <fei.deng@amlogic.com>
1 file changed