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:
Wim Taymans 2008-03-20 17:48:49 +00:00 committed by Tim-Philipp Müller
parent c9de8f457a
commit a64e95d347

View file

@ -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);