Commit 1cb3f390 authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/selector/gstinputselector.c: Release the selector lock when pad alloc...

gst/selector/gstinputselector.c: Release the selector lock when pad alloc happens on a non selected pad.

Original commit message from CVS:
* gst/selector/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.
parent e20e15e5
2008-03-20 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/selector/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.
2008-03-20 Wim Taymans <wim.taymans@collabora.co.uk>
 
* gst/selector/gstinputselector.c: (gst_selector_pad_class_init),
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment