Commit 836eb1dd authored by Michael Smith's avatar Michael Smith

gst/base/gstbasesink.c: Unlock the PREROLL_LOCK in a failure case.

Original commit message from CVS:
2005-11-24  Michael Smith <msmith@fluendo.com>

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Unlock the PREROLL_LOCK in a failure case.
parent 7b2d3e55
2005-11-24 Michael Smith <msmith@fluendo.com>
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Unlock the PREROLL_LOCK in a failure case.
2005-11-24 Wim Taymans <wim@fluendo.com>
* docs/gst/gstreamer-sections.txt:
......
......@@ -748,6 +748,7 @@ preroll_failed:
{
GST_DEBUG_OBJECT (basesink, "preroll failed");
gst_base_sink_preroll_queue_flush (basesink, pad);
GST_PAD_PREROLL_UNLOCK (pad);
GST_DEBUG_OBJECT (basesink, "abort state");
gst_element_abort_state (GST_ELEMENT (basesink));
......
......@@ -748,6 +748,7 @@ preroll_failed:
{
GST_DEBUG_OBJECT (basesink, "preroll failed");
gst_base_sink_preroll_queue_flush (basesink, pad);
GST_PAD_PREROLL_UNLOCK (pad);
GST_DEBUG_OBJECT (basesink, "abort state");
gst_element_abort_state (GST_ELEMENT (basesink));
......
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