diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-04 11:48:50 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-04 11:48:50 +0000 |
commit | aa4139370a3f075b859f93f7c4a159ad5eca6c2d (patch) | |
tree | 83949bf329cdcefc7a0f20fdc4b31ffe0482b4a1 | |
parent | c6507559fbebf31bd24a063eb8312be59a545e14 (diff) | |
download | gst-plugins-bad-aa4139370a3f075b859f93f7c4a159ad5eca6c2d.tar.gz gst-plugins-bad-aa4139370a3f075b859f93f7c4a159ad5eca6c2d.tar.bz2 gst-plugins-bad-aa4139370a3f075b859f93f7c4a159ad5eca6c2d.zip |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/ladspa/gstsignalprocessor.c | 1 |
2 files changed, 7 insertions, 1 deletions
@@ -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: diff --git a/ext/ladspa/gstsignalprocessor.c b/ext/ladspa/gstsignalprocessor.c index 5c0fff83..364f4fec 100644 --- a/ext/ladspa/gstsignalprocessor.c +++ b/ext/ladspa/gstsignalprocessor.c @@ -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); } |