avviddec: Unlock stream lock while waiting for decoded frame
authorSeungha Yang <seungha@centricular.com>
Thu, 16 Nov 2023 16:01:36 +0000 (01:01 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 16 Nov 2023 20:09:53 +0000 (20:09 +0000)
commitf96d05bf52d2e7b97241ed29b019fc5ad573592a
tree75f97b179dc096810e0ca4d43da1ce785bfc5a3f
parente3f68180033ce8ab9c2b60f4849ef143ab2d7875
avviddec: Unlock stream lock while waiting for decoded frame

FFmpeg might request buffer from other threads, it will result
in deadlock

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2558
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5683>
subprojects/gst-libav/ext/libav/gstavviddec.c