mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue