From c25d94b7efc9d56b6da79eb3e19274812f777d5d Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 30 May 2014 14:32:42 -0300 Subject: [PATCH] qtdemux: upstream handles seek if fragmented and on time segment Otherwise we can reject seeks on local files that contain fragmented-like atoms like 'mvex'. Also improve a message log https://bugzilla.gnome.org/show_bug.cgi?id=730722 --- gst/isomp4/qtdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 5897f0b..2824dca 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -1556,10 +1556,10 @@ gst_qtdemux_handle_src_event (GstPad * pad, GstObject * parent, GstClockTime ts = gst_util_get_timestamp (); #endif - if (qtdemux->upstream_newsegment || qtdemux->fragmented) { + if (qtdemux->upstream_newsegment && qtdemux->fragmented) { /* seek should be handled by upstream, we might need to re-download fragments */ GST_DEBUG_OBJECT (qtdemux, - "leting upstream handle seek for smoothstreaming"); + "let upstream handle seek for fragmented playback"); goto upstream; } -- 2.7.4