summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-04 15:50:26 +0900
committerJan Schmidt <jan@centricular.com>2016-08-16 01:39:14 +1000
commit33ff3ec860297d87b88d318a62954a86541fd828 (patch)
tree67767dc43a10a53bbce1728add793f5eba9e8bc2
parentbd9ef8fb687efde5d3ad98e84a5d60eca9fc117b (diff)
downloadgstreamer-plugins-bad-33ff3ec860297d87b88d318a62954a86541fd828.tar.gz
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
-rw-r--r--ext/qt/gstqtsink.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/qt/gstqtsink.cc b/ext/qt/gstqtsink.cc
index df44a7d50..62a537368 100644
--- a/ext/qt/gstqtsink.cc
+++ b/ext/qt/gstqtsink.cc
@@ -126,8 +126,7 @@ gst_qt_sink_class_init (GstQtSinkClass * klass)
G_MAXINT, 1, 1, 1,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_qt_sink_template));
+ gst_element_class_add_static_pad_template (gstelement_class, &gst_qt_sink_template);
gobject_class->finalize = gst_qt_sink_finalize;