Fixed regression after the introduction of the multi-screen support, preventing the pipeline from stopping properly

This commit is contained in:
David Corvoysier 2012-10-16 09:10:00 +02:00 committed by Thiago Santos
parent 6f5d6f91ff
commit 3cb7b12cbe

View file

@ -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);