From 55013f488e871cc03b091b8c5607f6e1c4dc79e3 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 17 Feb 2002 18:31:42 +0000 Subject: [PATCH] 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. --- gst/adder/gstadder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 513b5a1..3c348fc 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -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); -- 2.7.4