From 3cb7b12cbec7d93511fa9fa99c08803d1786264a Mon Sep 17 00:00:00 2001 From: David Corvoysier Date: Tue, 16 Oct 2012 09:10:00 +0200 Subject: [PATCH] Fixed regression after the introduction of the multi-screen support, preventing the pipeline from stopping properly --- ext/dash/gstdashdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index d69a1e295a..61fa8fd620 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -998,7 +998,7 @@ end_of_manifest: { GST_INFO_OBJECT (demux, "Reached end of manifest, sending EOS"); guint i = 0; - for (i = 0; i < nb_adaptation_set; i++) { + for (i = 0; i < gst_mpdparser_get_nb_active_stream (demux->client); i++) { gst_pad_push_event (demux->srcpad[i], gst_event_new_eos ()); } gst_dash_demux_stop (demux);