summaryrefslogtreecommitdiff
path: root/sys/ximage/ximagesink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ximage/ximagesink.c')
-rw-r--r--sys/ximage/ximagesink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c
index d2c8c81d9..88c1de157 100644
--- a/sys/ximage/ximagesink.c
+++ b/sys/ximage/ximagesink.c
@@ -1976,8 +1976,8 @@ gst_x_image_sink_class_init (GstXImageSinkClass * klass)
"Video sink", "Sink/Video",
"A standard X based videosink", "Julien Moutte <julien@moutte.net>");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_x_image_sink_sink_template_factory));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_x_image_sink_sink_template_factory);
gstelement_class->change_state = gst_x_image_sink_change_state;