summaryrefslogtreecommitdiff
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2011-02-10 17:00:11 (GMT)
committer Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2011-02-10 17:17:40 (GMT)
commit3dc42d370437e4fc1362e861f9c44d685b262aa3 (patch) (side-by-side diff)
tree0d57d91f218e2294d05f9a5fc8c250b8ba359e79
parentb70f4b6ffad984f76efc6f5916f7d8db42c9e496 (diff)
downloadgst-plugins-good-3dc42d370437e4fc1362e861f9c44d685b262aa3.zip
gst-plugins-good-3dc42d370437e4fc1362e861f9c44d685b262aa3.tar.gz
qtdemux: avoid skipping exposing a stream following a removed stream
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/qtdemux/qtdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index b6457ce..7be9986 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -7362,6 +7362,7 @@ qtdemux_expose_streams (GstQTDemux * qtdemux)
sizeof (QtDemuxStream *) * (GST_QTDEMUX_MAX_STREAMS - i - 1));
qtdemux->streams[GST_QTDEMUX_MAX_STREAMS - 1] = NULL;
qtdemux->n_streams--;
+ i--;
continue;
}