summaryrefslogtreecommitdiff
path: root/gst/vbidec
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-04 15:50:26 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:56:51 +0200
commit8cdfb13658a069cf8c45a3265bf865849d3dc8e9 (patch)
tree93bc4a0be9c90b3e4d086328781411d9798933d8 /gst/vbidec
parentc25782921324cb9ff7bfcc757257dfde05f95df3 (diff)
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Diffstat (limited to 'gst/vbidec')
-rw-r--r--gst/vbidec/gstvbidec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c
index 9c8c5f618..36531a9ac 100644
--- a/gst/vbidec/gstvbidec.c
+++ b/gst/vbidec/gstvbidec.c
@@ -166,10 +166,10 @@ gst_vbidec_base_init (gpointer g_class)
"Decodes closed captions and XDS data from VBI data",
"David I. Lehn <dlehn@users.sourceforge.net>");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_vbidec_src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_vbidec_sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_vbidec_src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_vbidec_sink_template);
}
static void