From: Thiago Santos Date: Fri, 30 May 2014 17:32:42 +0000 (-0300) Subject: qtdemux: upstream handles seek if fragmented and on time segment X-Git-Tag: 1.3.3~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c25d94b7efc9d56b6da79eb3e19274812f777d5d;p=platform%2Fupstream%2Fgst-plugins-good.git 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 --- 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; }