mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
appsrc: Clear the EOS state on a seek.
Allow seeking back into the stream after it hits EOS.
This commit is contained in:
parent
6723bf429f
commit
8c76ae5fa9
1 changed files with 1 additions and 0 deletions
|
@ -836,6 +836,7 @@ gst_app_src_do_seek (GstBaseSrc * src, GstSegment * segment)
|
|||
if (res) {
|
||||
GST_DEBUG_OBJECT (appsrc, "flushing queue");
|
||||
gst_app_src_flush_queued (appsrc);
|
||||
appsrc->priv->is_eos = FALSE;
|
||||
} else {
|
||||
GST_WARNING_OBJECT (appsrc, "seek failed");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue