summaryrefslogtreecommitdiff
path: root/ext/cairo/gstcairorender.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/cairo/gstcairorender.c')
-rw-r--r--ext/cairo/gstcairorender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/cairo/gstcairorender.c b/ext/cairo/gstcairorender.c
index cf1b563..870ac17 100644
--- a/ext/cairo/gstcairorender.c
+++ b/ext/cairo/gstcairorender.c
@@ -354,8 +354,8 @@ gst_cairo_render_base_init (gpointer g_class)
gst_element_class_set_details_simple (ec, "Cairo encoder",
"Codec/Encoder", "Encodes streams using Cairo",
"Lutz Mueller <lutz@topfrose.de>");
- gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&t_snk));
- gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&t_src));
+ gst_element_class_add_static_pad_template (ec, &t_snk);
+ gst_element_class_add_static_pad_template (ec, &t_src);
}
static void