From a64e95d347618c8f882adc0f2105f0822730f83f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 20 Mar 2008 17:48:49 +0000 Subject: [PATCH] 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. --- plugins/elements/gstinputselector.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index 852a9be..4f169cf 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -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); -- 2.7.4