summaryrefslogtreecommitdiff
path: root/ext/gdk_pixbuf/gstgdkpixbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gdk_pixbuf/gstgdkpixbuf.c')
-rw-r--r--ext/gdk_pixbuf/gstgdkpixbuf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/gdk_pixbuf/gstgdkpixbuf.c b/ext/gdk_pixbuf/gstgdkpixbuf.c
index 51c24a1..0a09400 100644
--- a/ext/gdk_pixbuf/gstgdkpixbuf.c
+++ b/ext/gdk_pixbuf/gstgdkpixbuf.c
@@ -157,10 +157,10 @@ gst_gdk_pixbuf_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_gdk_pixbuf_src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_gdk_pixbuf_sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_gdk_pixbuf_src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_gdk_pixbuf_sink_template);
gst_element_class_set_details_simple (element_class,
"GdkPixbuf image decoder", "Codec/Decoder/Image",
"Decodes images in a video stream using GdkPixbuf",