summaryrefslogtreecommitdiff
path: root/sys/pvr2d
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-04 15:50:26 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:56:51 +0200
commit8cdfb13658a069cf8c45a3265bf865849d3dc8e9 (patch)
tree93bc4a0be9c90b3e4d086328781411d9798933d8 /sys/pvr2d
parentc25782921324cb9ff7bfcc757257dfde05f95df3 (diff)
downloadgstreamer-plugins-bad-8cdfb13658a069cf8c45a3265bf865849d3dc8e9.tar.gz
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Diffstat (limited to 'sys/pvr2d')
-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;