mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
qtdemux: avoid skipping exposing a stream following a removed stream
This commit is contained in:
parent
b70f4b6ffa
commit
3dc42d3704
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue