From 269a8c5fdf5e76c7956432c9347012efd5acdba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 28 Jul 2016 11:16:24 +0300 Subject: [PATCH] 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. --- ext/dash/gstdashdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index c67c635983..8d682bc784 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -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 *