mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
streamiddemux: Reset pad counter after removing all pads
This commit is contained in:
parent
fadabe8b78
commit
ad161f7df5
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ gst_streamid_demux_reset (GstStreamidDemux * demux)
|
||||||
if (demux->active_srcpad != NULL)
|
if (demux->active_srcpad != NULL)
|
||||||
demux->active_srcpad = NULL;
|
demux->active_srcpad = NULL;
|
||||||
|
|
||||||
|
demux->nb_srcpads = 0;
|
||||||
GST_OBJECT_UNLOCK (demux);
|
GST_OBJECT_UNLOCK (demux);
|
||||||
|
|
||||||
if (demux->stream_id_pairs != NULL) {
|
if (demux->stream_id_pairs != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue