From 245f665c3b50bee1ab58714593b5db5e560b09a8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 26 Jan 2015 10:50:49 +0100 Subject: qtdemux: Don't fail on seeks after EOS We reset the demuxer into the MOVIE state so that seek requests after EOS get processed. --- gst/isomp4/qtdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 47cafe2b5..81bf791f2 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -2377,6 +2377,8 @@ gst_qtdemux_handle_sink_event (GstPad * sinkpad, GstObject * parent, if (gst_qtdemux_process_adapter (demux, TRUE) != GST_FLOW_OK) { res = FALSE; } + /* Finally mark stream as being in MOVIE again to allow further seeks */ + demux->state = QTDEMUX_STATE_MOVIE; } } break; -- cgit v1.2.3