videodecoder: release stream lock after handling gap events
authorPhilippe Normand <philn@igalia.com>
Wed, 27 Apr 2022 09:18:39 +0000 (10:18 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 28 Apr 2022 07:12:28 +0000 (07:12 +0000)
commitb8e3d167ea85385422afc4336d6eb5cfaa715c07
tree349ae00b6cb71553bf15b9202022172c3bd3df54
parent0f9f179beccbaf3b8ea3355dfecdb91eca23389b
videodecoder: release stream lock after handling gap events

The stream lock is taken before handling gap events but was not released in all
possible runtime situations. This issue was introduced in:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1274

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2307>
subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c