matroskademux: QoS handling logic only applies to forward playback

Fixes #628894.
This commit is contained in:
Mark Nauwelaerts 2010-09-08 17:50:11 +02:00
parent 6490c4eb3d
commit 91a60245b7

View file

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