mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
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:
parent
a5a7649831
commit
c25d94b7ef
1 changed files with 2 additions and 2 deletions
|
@ -1556,10 +1556,10 @@ gst_qtdemux_handle_src_event (GstPad * pad, GstObject * parent,
|
||||||
GstClockTime ts = gst_util_get_timestamp ();
|
GstClockTime ts = gst_util_get_timestamp ();
|
||||||
#endif
|
#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 */
|
/* seek should be handled by upstream, we might need to re-download fragments */
|
||||||
GST_DEBUG_OBJECT (qtdemux,
|
GST_DEBUG_OBJECT (qtdemux,
|
||||||
"leting upstream handle seek for smoothstreaming");
|
"let upstream handle seek for fragmented playback");
|
||||||
goto upstream;
|
goto upstream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue