summaryrefslogtreecommitdiff
path: root/sys/pvr2d/gstpvrvideosink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pvr2d/gstpvrvideosink.c')
-rw-r--r--sys/pvr2d/gstpvrvideosink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pvr2d/gstpvrvideosink.c b/sys/pvr2d/gstpvrvideosink.c
index 7c1024376..4e32a8c06 100644
--- a/sys/pvr2d/gstpvrvideosink.c
+++ b/sys/pvr2d/gstpvrvideosink.c
@@ -1464,8 +1464,8 @@ gst_pvrvideosink_class_init (GstPVRVideoSinkClass * klass)
"A PVR videosink",
"Luciana Fujii Pontello <luciana.fujii@collabora.co.uk");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_pvrvideosink_sink_template_factory));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_pvrvideosink_sink_template_factory);
gstelement_class->change_state = gst_pvrvideosink_change_state;