audiobasesink: Fix of double lock release

Add missing "return;" which prevents double lock release.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1208>
This commit is contained in:
Sergei Kovalev 2021-06-21 14:06:14 +00:00 committed by GStreamer Marge Bot
parent e5382fe84c
commit ba4f031864

View file

@ -2350,6 +2350,7 @@ eos:
gst_element_post_message (GST_ELEMENT_CAST (sink),
gst_message_new_eos (GST_OBJECT_CAST (sink)));
GST_PAD_STREAM_UNLOCK (basesink->sinkpad);
return;
}
flushing:
{