mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
This commit is contained in:
parent
1375f98879
commit
59f3ceff48
1 changed files with 4 additions and 4 deletions
|
@ -230,10 +230,10 @@ gst_two_lame_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_two_lame_src_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_two_lame_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_two_lame_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_two_lame_sink_template);
|
||||
gst_element_class_set_details_simple (element_class, "TwoLAME mp2 encoder",
|
||||
"Codec/Encoder/Audio",
|
||||
"High-quality free MP2 encoder",
|
||||
|
|
Loading…
Reference in a new issue