qtdemux: Forward segments directly if we are operating in PUSH mode on fragmented...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 1 Jun 2016 17:28:39 +0000 (20:28 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 7 Jun 2016 13:19:39 +0000 (16:19 +0300)
commit24862c2f742e05c2d8e88a81ad579b9828c6e2d5
tree8dbeaff758fcbbcdb0fdea615cde0750e76c8c5d
parentf9e01a53d8df4c4d3a6782e55ab7d11b480ff368
qtdemux: Forward segments directly if we are operating in PUSH mode on fragmented streams

We shouldn't go through segment activation as we will only have a limited
understanding of how the whole stream timeline looks like from the moof. We
only know about the current fragment, while upstream knows about the whole
stream.

This fixes seeking in DASH streams, both for seeks after the current moof and
for seeks into the current moof. The former would fail because the moof ends
and we can't activate any segment, the latter would cause a segment that stops
at the moof end, and no further fragments would be played because we end up
being EOS.

https://bugzilla.gnome.org/show_bug.cgi?id=767071
gst/isomp4/qtdemux.c