appsrc: release lock in _eos flushing case

Release the mutex when we are flushing in gst_app_src_end_of_stream()
Fixes #574964.
This commit is contained in:
Wim Taymans 2009-03-13 15:14:37 +01:00
parent 77874292a3
commit 91b2d71da0

View file

@ -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;
}