summaryrefslogtreecommitdiff
path: root/gst/effectv/gstdice.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv/gstdice.c')
-rw-r--r--gst/effectv/gstdice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c
index bedabe0..a297147 100644
--- a/gst/effectv/gstdice.c
+++ b/gst/effectv/gstdice.c
@@ -289,10 +289,10 @@ gst_dicetv_base_init (gpointer g_class)
"'Dices' the screen up into many small squares",
"Wim Taymans <wim.taymans@chello.be>");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_dicetv_sink_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_dicetv_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_dicetv_sink_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_dicetv_src_template);
}
static void