qtdemux: fix reverse playback EOS conditions
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 26 Jul 2019 00:45:51 +0000 (02:45 +0200)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Fri, 26 Jul 2019 02:42:11 +0000 (02:42 +0000)
commit4830bbe6ca215647ff282df4c76c420e924d5ab3
treec403ef19544ac024d5762c432d4034589670c1d6
parent104f459258cbede84f1571671642873eaab91456
qtdemux: fix reverse playback EOS conditions

In reverse playback, we don't want to rely on the position of the current
keyframe to decide a stream is EOS: the last GOP we push will start with
a keyframe, which position is likely to be outside of the segment.

Instead, let the normal seek_to_previous_keyframe mechanism do its job,
it works just fine.
gst/isomp4/qtdemux.c