GNOME Bugzilla – Bug 742661
qtdemux: EOS in push mode when seeking in m4a
Last modified: 2015-02-14 14:46:11 UTC
In push mode, seeking can result in EOS instead of prerolling and playing. This happens with this file: http://absolut.zogzog.org/share/samples/m4a/Tie%cc%88sto%60s%20club%20life%20podcast%20396.m4a This is a podcast with embedded covers, so the video frames are very sparse. In push mode I guess the best thing to do would be to send a GAP event until the next frame.
BTW this also happens with the 1.4 branch
commit afa5481c5016b1ae45fa72648fd5df33375feb54 Author: Thiago Santos <thiagoss@osg.samsung.com> Date: Sat Feb 14 11:11:30 2015 -0300 qtdemux: do not use sparse streams in push-based seeking Using the sparse streams can make the push-based seeking return too far in the stream. It also can lead to issues as the sparse streams will be ignored when restarting playback and, if the sparse stream is the one that has the earliest sample, it will confuse qtdemux's offsets as one stream will have an earlier offset than the demuxer's one which might lead to early EOS. https://bugzilla.gnome.org/show_bug.cgi?id=742661