summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2015-01-26 10:50:49 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-02-18 12:20:34 +0100
commit245f665c3b50bee1ab58714593b5db5e560b09a8 (patch)
treec931397b31414e91572a444bf678470ff117be1f
parent738aad2177bcd1ce52f18b9f0776e98dd94680bb (diff)
qtdemux: Don't fail on seeks after EOSWIP
We reset the demuxer into the MOVIE state so that seek requests after EOS get processed.
-rw-r--r--gst/isomp4/qtdemux.c2
1 files changed, 2 insertions, 0 deletions
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;