some eos fixes to adder. note that even if it has no more sources, adder will still output zeroes and thus will never...

Original commit message from CVS:
some eos fixes to adder. note that even if it has no more sources, adder will
still output zeroes and thus will never really stop.
This commit is contained in:
Andy Wingo 2002-02-17 18:31:42 +00:00
parent 76ffe0769c
commit 55013f488e

View file

@ -363,7 +363,7 @@ gst_adder_loop (GstElement *element)
GST_DEBUG (0, "got an EOS event\n");
gst_bytestream_destroy (input->bytestream);
gst_pad_unref (input->sinkpad);
/* gst_object_unref (GST_OBJECT (input->sinkpad)); this causes problems */
g_free (input);
adder->input_channels = g_slist_delete_link (inputs, inputs);