mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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:
parent
77874292a3
commit
91b2d71da0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue