qtdemux: avoid skipping exposing a stream following a removed stream

This commit is contained in:
Mark Nauwelaerts 2011-02-10 18:00:11 +01:00
parent b70f4b6ffa
commit 3dc42d3704

View file

@ -7362,6 +7362,7 @@ qtdemux_expose_streams (GstQTDemux * qtdemux)
sizeof (QtDemuxStream *) * (GST_QTDEMUX_MAX_STREAMS - i - 1)); sizeof (QtDemuxStream *) * (GST_QTDEMUX_MAX_STREAMS - i - 1));
qtdemux->streams[GST_QTDEMUX_MAX_STREAMS - 1] = NULL; qtdemux->streams[GST_QTDEMUX_MAX_STREAMS - 1] = NULL;
qtdemux->n_streams--; qtdemux->n_streams--;
i--;
continue; continue;
} }