mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
[MOVED FROM BAD 097/134] various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
This commit is contained in:
parent
020b7c902d
commit
d286b04ee0
2 changed files with 8 additions and 8 deletions
|
@ -160,10 +160,10 @@ gst_vp8_dec_class_init (GstVP8DecClass * klass)
|
|||
0, 16, DEFAULT_NOISE_LEVEL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_vp8_dec_src_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_vp8_dec_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_vp8_dec_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_vp8_dec_sink_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"On2 VP8 Decoder",
|
||||
|
|
|
@ -267,10 +267,10 @@ gst_vp8_enc_class_init (GstVP8EncClass * klass)
|
|||
gobject_class->get_property = gst_vp8_enc_get_property;
|
||||
gobject_class->finalize = gst_vp8_enc_finalize;
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_vp8_enc_src_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_vp8_enc_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_vp8_enc_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_vp8_enc_sink_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"On2 VP8 Encoder",
|
||||
|
|
Loading…
Reference in a new issue