streamiddemux: Reset pad counter after removing all pads

This commit is contained in:
Sebastian Dröge 2015-03-12 14:39:37 +00:00
parent fadabe8b78
commit ad161f7df5

View file

@ -353,6 +353,7 @@ gst_streamid_demux_reset (GstStreamidDemux * demux)
if (demux->active_srcpad != NULL)
demux->active_srcpad = NULL;
demux->nb_srcpads = 0;
GST_OBJECT_UNLOCK (demux);
if (demux->stream_id_pairs != NULL) {