appsrc: Clear the EOS state on a seek.

Allow seeking back into the stream after it hits EOS.
This commit is contained in:
Jan Schmidt 2009-11-10 13:55:26 +00:00
parent 6723bf429f
commit 8c76ae5fa9

View file

@ -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");
}