v4l2videodec: safely retrun from video_dec_loop with stream unlock
authorHou Qi <qi.hou@nxp.com>
Tue, 15 Mar 2022 01:49:59 +0000 (09:49 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Mar 2022 02:13:00 +0000 (02:13 +0000)
commit738dbf1cb7fd23969b63aff35ed6da473b963a0a
treeb8773748c4f589c20227c61781b001659fd6f15b
parent5ca39060f43403cd50f287620378288fcac1a9a0
v4l2videodec: safely retrun from video_dec_loop with stream unlock

This is to avoid decoder hang when doing trick play between
different resolutions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1960>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c