summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-03 16:46:24 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:25:41 +0200
commit44b70ca3a15fde4fa725ce74a5f5315b148bbf47 (patch)
treee46cae3862f076a377b2ae950a25df0fb96130ff /sys
parent93196092d1729c4765dbd676662dda89fb246675 (diff)
base: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763075
Diffstat (limited to 'sys')
-rw-r--r--sys/ximage/ximagesink.c4
-rw-r--r--sys/xvimage/xvimagesink.c4
2 files changed, 4 insertions, 4 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;
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index c61207675..e008d09a0 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -2013,8 +2013,8 @@ gst_xv_image_sink_class_init (GstXvImageSinkClass * klass)
"Video sink", "Sink/Video",
"A Xv based videosink", "Julien Moutte <julien@moutte.net>");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_xv_image_sink_sink_template_factory));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_xv_image_sink_sink_template_factory);
gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_xv_image_sink_change_state);