diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-11-28 12:58:44 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-11-28 13:30:27 +0000 |
commit | c0e101e93fa178fb3cb62bed64117c005583b032 (patch) | |
tree | 3db76b46e901357dba441789e899f64321f474d7 /ext/shout2 | |
parent | a2337b8af45cb5e8c091ff0e1c3ef4b6cc7b20a3 (diff) | |
download | gstreamer-plugins-good-c0e101e93fa178fb3cb62bed64117c005583b032.tar.gz |
various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
Diffstat (limited to 'ext/shout2')
-rw-r--r-- | ext/shout2/gstshout2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c index 9a6363bb5..8b0ddbf79 100644 --- a/ext/shout2/gstshout2.c +++ b/ext/shout2/gstshout2.c @@ -160,8 +160,8 @@ gst_shout2send_base_init (GstShout2sendClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_template)); + gst_element_class_add_static_pad_template (element_class, + &sink_template); gst_element_class_set_details_simple (element_class, "Icecast network sink", "Sink/Network", "Sends data to an icecast server", "Wim Taymans <wim.taymans@chello.be>, " |