summaryrefslogtreecommitdiff
path: root/ext/qt/gstqtsink.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/qt/gstqtsink.cc')
-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;