dashdemux: Reset number of subtitle streams counter on reset() too

Otherwise we will continue increasing forever the number of subtitle streams
when reusing the element for another DASH manifest.
This commit is contained in:
Sebastian Dröge 2016-07-28 11:16:24 +03:00
parent c94c0ad834
commit 269a8c5fdf

View file

@ -884,6 +884,7 @@ gst_dash_demux_reset (GstAdaptiveDemux * ademux)
demux->n_audio_streams = 0;
demux->n_video_streams = 0;
demux->n_subtitle_streams = 0;
}
static GstCaps *