mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
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>
This commit is contained in:
parent
0f9f179bec
commit
b8e3d167ea
1 changed files with 1 additions and 0 deletions
|
@ -1492,6 +1492,7 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
|
|||
*/
|
||||
forward_immediate = TRUE;
|
||||
} else {
|
||||
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
|
||||
gst_clear_event (&event);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue