diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-04-19 15:55:02 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-04-19 15:55:02 +0200 |
commit | 4991bdfd9201aafb03264e9bc0794bff973f87b2 (patch) | |
tree | fc1ecade5b46a5c7e837a860b90031d157648a6d /gst/isomp4/qtdemux.c | |
parent | a31a4e96a3f2efbd4057e7845e734a3096b20403 (diff) |
Imported Upstream version 1.2.4
Diffstat (limited to 'gst/isomp4/qtdemux.c')
-rw-r--r-- | gst/isomp4/qtdemux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 6be2abc1..8d5e688d 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -4168,7 +4168,9 @@ gst_qtdemux_loop_state_movie (GstQTDemux * qtdemux) /* check for segment end */ if (G_UNLIKELY (qtdemux->segment.stop != -1 - && qtdemux->segment.stop <= min_time + && ((qtdemux->segment.rate >= 0 && qtdemux->segment.stop <= min_time) + || (qtdemux->segment.rate < 0 + && qtdemux->segment.start > min_time)) && qtdemux->streams[index]->on_keyframe)) { GST_DEBUG_OBJECT (qtdemux, "we reached the end of our segment."); qtdemux->streams[index]->time_position = -1; |