From: <wt...@ke...> - 2008-03-20 17:48:58
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: wtay Date: Thu Mar 20 2008 17:49:03 UTC Log message: * 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. Modified files: . : ChangeLog gst/selector : gstinputselector.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3222&r2=1.3223 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/selector/gstinputselector.c.diff?r1=1.7&r2=1.8 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.3222 retrieving revision 1.3223 diff -u -d -r1.3222 -r1.3223 --- ChangeLog 20 Mar 2008 17:07:05 -0000 1.3222 +++ ChangeLog 20 Mar 2008 17:48:48 -0000 1.3223 @@ -1,6 +1,13 @@ 2008-03-20 Wim Taymans <wim...@co...> * 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...@co...> + * gst/selector/gstinputselector.c: (gst_selector_pad_class_init), (gst_selector_pad_init), (gst_selector_pad_set_property), (gst_selector_pad_get_property), (gst_selector_pad_event), (gst_selector_pad_bufferalloc), (gst_selector_pad_chain), Index: gstinputselector.c RCS file: /cvs/gstreamer/gst-plugins-bad/gst/selector/gstinputselector.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- gstinputselector.c 20 Mar 2008 17:07:07 -0000 1.7 +++ gstinputselector.c 20 Mar 2008 17:48:49 -0000 1.8 @@ -480,6 +480,8 @@ /* ERRORS */ not_active: { + GST_INPUT_SELECTOR_UNLOCK (sel); /* unselected pad, perform fallback alloc or return unlinked when * asked */ GST_OBJECT_LOCK (selpad); |