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",
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",