appsrc: clear eos flag on flush stop event
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6186>
This commit is contained in:
parent
781fc4a1b6
commit
576dbcbd88
@ -1025,6 +1025,7 @@ gst_app_src_send_event (GstElement * element, GstEvent * event)
|
|||||||
case GST_EVENT_FLUSH_STOP:
|
case GST_EVENT_FLUSH_STOP:
|
||||||
g_mutex_lock (&priv->mutex);
|
g_mutex_lock (&priv->mutex);
|
||||||
gst_app_src_flush_queued (appsrc, TRUE);
|
gst_app_src_flush_queued (appsrc, TRUE);
|
||||||
|
priv->is_eos = FALSE;
|
||||||
g_mutex_unlock (&priv->mutex);
|
g_mutex_unlock (&priv->mutex);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user