mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
plugins/elements/gstinputselector.c: Release the selector lock when pad alloc happens on a non selected pad.
Original commit message from CVS: * plugins/elements/gstinputselector.c: (gst_selector_pad_class_init), (gst_selector_pad_event), (gst_selector_pad_bufferalloc), (gst_selector_pad_chain), (gst_input_selector_set_active_pad): Release the selector lock when pad alloc happens on a non selected pad.
This commit is contained in:
parent
c9de8f457a
commit
a64e95d347
1 changed files with 2 additions and 0 deletions
|
@ -480,6 +480,8 @@ done:
|
|||
/* ERRORS */
|
||||
not_active:
|
||||
{
|
||||
GST_INPUT_SELECTOR_UNLOCK (sel);
|
||||
|
||||
/* unselected pad, perform fallback alloc or return unlinked when
|
||||
* asked */
|
||||
GST_OBJECT_LOCK (selpad);
|
||||
|
|
Loading…
Reference in a new issue