qtdemux: fix conditions for end of segment in reverse playback
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 9 Jul 2019 21:12:45 +0000 (23:12 +0200)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Tue, 9 Jul 2019 21:21:20 +0000 (21:21 +0000)
commit9deb3c27acd4161f810cd782f03bcdaccf2643c7
treef52bdefbfcf6619025e13198cce65b9778b2a88f
parent67b8ce31671f48c04fb971f75497ada0df9d187c
qtdemux: fix conditions for end of segment in reverse playback

The time_position field of the stream is offset by the media_start
of its QtDemuxSegment compared to the start of the GstSegment of
the demuxer, take it into account when making comparisons.
gst/isomp4/qtdemux.c