The source project of this merge request has been removed.
v4l2videodec: safely retrun from video_dec_loop with stream unlock
I met a case that doing trick play between different resolution causes decoder hang. It's caused by stream lock/unlock not handled well. Need to return safe from video_dec_loop with stream unlock if gst_v4l2_video_dec_setup_capture returns none GST_FLOW_OK.