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
@ -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…
x
Reference in New Issue
Block a user