matroskademux: QoS handling logic only applies to forward playback
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 8 Sep 2010 15:50:11 +0000 (17:50 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 8 Sep 2010 15:51:34 +0000 (17:51 +0200)
Fixes #628894.

gst/matroska/matroska-demux.c

index ed21483..1ba5750 100644 (file)
@@ -4995,7 +4995,7 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
          will instad skip until the next keyframe. */
       if (GST_CLOCK_TIME_IS_VALID (lace_time) &&
           stream->type == GST_MATROSKA_TRACK_TYPE_VIDEO &&
-          stream->index_table) {
+          stream->index_table && demux->segment.rate > 0.0) {
         GstMatroskaTrackVideoContext *videocontext =
             (GstMatroskaTrackVideoContext *) stream;
         GstClockTime earliest_time;