Skip to content

Commit

Permalink
audiobasesink: Fix of double lock release
Browse files Browse the repository at this point in the history
Add missing "return;" which prevents double lock release.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1208>
  • Loading branch information
amberik1 authored and GStreamer Marge Bot committed Jun 21, 2021
1 parent e5382fe commit ba4f031
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gst-libs/gst/audio/gstaudiobasesink.c
Expand Up @@ -2350,6 +2350,7 @@ gst_audio_base_sink_callback (GstAudioRingBuffer * rbuf, guint8 * data,
gst_element_post_message (GST_ELEMENT_CAST (sink),
gst_message_new_eos (GST_OBJECT_CAST (sink)));
GST_PAD_STREAM_UNLOCK (basesink->sinkpad);
return;
}
flushing:
{
Expand Down

0 comments on commit ba4f031

Please sign in to comment.