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
This commit is contained in:
Thiago Santos 2014-05-30 14:32:42 -03:00
parent a5a7649831
commit c25d94b7ef

View file

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