mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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.
This commit is contained in:
parent
7b2d3e5536
commit
836eb1dd02
3 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2005-11-24 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* docs/gst/gstreamer-sections.txt:
|
* docs/gst/gstreamer-sections.txt:
|
||||||
|
|
|
@ -748,6 +748,7 @@ preroll_failed:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (basesink, "preroll failed");
|
GST_DEBUG_OBJECT (basesink, "preroll failed");
|
||||||
gst_base_sink_preroll_queue_flush (basesink, pad);
|
gst_base_sink_preroll_queue_flush (basesink, pad);
|
||||||
|
GST_PAD_PREROLL_UNLOCK (pad);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (basesink, "abort state");
|
GST_DEBUG_OBJECT (basesink, "abort state");
|
||||||
gst_element_abort_state (GST_ELEMENT (basesink));
|
gst_element_abort_state (GST_ELEMENT (basesink));
|
||||||
|
|
|
@ -748,6 +748,7 @@ preroll_failed:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (basesink, "preroll failed");
|
GST_DEBUG_OBJECT (basesink, "preroll failed");
|
||||||
gst_base_sink_preroll_queue_flush (basesink, pad);
|
gst_base_sink_preroll_queue_flush (basesink, pad);
|
||||||
|
GST_PAD_PREROLL_UNLOCK (pad);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (basesink, "abort state");
|
GST_DEBUG_OBJECT (basesink, "abort state");
|
||||||
gst_element_abort_state (GST_ELEMENT (basesink));
|
gst_element_abort_state (GST_ELEMENT (basesink));
|
||||||
|
|
Loading…
Reference in a new issue