ext/ladspa/gstsignalprocessor.c: Don't unref the pad template after adding it. gst_element_class_add_pad_template tak...

Original commit message from CVS:
* ext/ladspa/gstsignalprocessor.c:
(gst_signal_processor_class_add_pad_template):
Don't unref the pad template after adding it.
gst_element_class_add_pad_template takes ownership of it.
This commit is contained in:
Sebastian Dröge 2008-02-04 11:48:50 +00:00
parent c6507559fb
commit aa4139370a
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-02-04 Sebastian Dröge <slomo@circular-chaos.org>
* ext/ladspa/gstsignalprocessor.c:
(gst_signal_processor_class_add_pad_template):
Don't unref the pad template after adding it.
gst_element_class_add_pad_template takes ownership of it.
2008-02-03 Jan Schmidt <jan.schmidt@sun.com>
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:

View file

@ -92,7 +92,6 @@ gst_signal_processor_class_add_pad_template (GstSignalProcessorClass * klass,
GST_SIGNAL_PROCESSOR_PAD_TEMPLATE (new)->index = index;
gst_element_class_add_pad_template (GST_ELEMENT_CLASS (klass), new);
gst_object_unref (new);
}