appsrc: clear eos flag on flush stop event

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6186>
This commit is contained in:
Jeongki Kim 2024-02-22 23:41:12 +09:00 committed by GStreamer Marge Bot
parent 781fc4a1b6
commit 576dbcbd88

View file

@ -1025,6 +1025,7 @@ gst_app_src_send_event (GstElement * element, GstEvent * event)
case GST_EVENT_FLUSH_STOP:
g_mutex_lock (&priv->mutex);
gst_app_src_flush_queued (appsrc, TRUE);
priv->is_eos = FALSE;
g_mutex_unlock (&priv->mutex);
break;
default: