summaryrefslogtreecommitdiffstats
path: root/gst/vbidec
diff options
context:
space:
mode:
Diffstat (limited to 'gst/vbidec')
-rw-r--r--gst/vbidec/gstvbidec.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c
index 4f16e99d..412d1ce2 100644
--- a/gst/vbidec/gstvbidec.c
+++ b/gst/vbidec/gstvbidec.c
@@ -206,15 +206,13 @@ gst_vbidec_init (GstVBIDec * vbidec)
{
/* create the sink and src pads */
vbidec->sinkpad =
- gst_pad_new_from_template (gst_static_pad_template_get
- (&gst_vbidec_sink_template), "sink");
+ gst_pad_new_from_static_template (&gst_vbidec_sink_template, "sink");
gst_element_add_pad (GST_ELEMENT (vbidec), vbidec->sinkpad);
gst_pad_set_chain_function (vbidec->sinkpad,
GST_DEBUG_FUNCPTR (gst_vbidec_chain));
vbidec->srcpad =
- gst_pad_new_from_template (gst_static_pad_template_get
- (&gst_vbidec_src_template), "src");
+ gst_pad_new_from_static_template (&gst_vbidec_src_template, "src");
gst_element_add_pad (GST_ELEMENT (vbidec), vbidec->srcpad);
vbidec->vbiscreen = vbiscreen_new (0, 0, 1.0, 0, (void *) vbidec);