mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
e20e15e5a2
commit
1cb3f3903b
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue