From 91b2d71da057a17da18272ee9dd6701a903580ed Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 13 Mar 2009 15:14:37 +0100 Subject: [PATCH] appsrc: release lock in _eos flushing case Release the mutex when we are flushing in gst_app_src_end_of_stream() Fixes #574964. --- gst-libs/gst/app/gstappsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/app/gstappsrc.c b/gst-libs/gst/app/gstappsrc.c index b5ff49a..eb03b42 100644 --- a/gst-libs/gst/app/gstappsrc.c +++ b/gst-libs/gst/app/gstappsrc.c @@ -1446,6 +1446,7 @@ gst_app_src_end_of_stream (GstAppSrc * appsrc) /* ERRORS */ flushing: { + g_mutex_unlock (appsrc->priv->mutex); GST_DEBUG_OBJECT (appsrc, "refuse EOS, we are flushing"); return GST_FLOW_WRONG_STATE; } -- 2.7.4