bad: use new gst_element_class_add_static_pad_template()

https://bugzilla.gnome.org/show_bug.cgi?id=763081
This commit is contained in:
Vineeth TM 2016-03-04 15:50:26 +09:00 committed by Sebastian Dröge
parent c2f17d4834
commit acb1b44ee0

View file

@ -126,8 +126,7 @@ gst_qt_sink_class_init (GstQtSinkClass * klass)
G_MAXINT, 1, 1, 1, G_MAXINT, 1, 1, 1,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_static_pad_template (gstelement_class, &gst_qt_sink_template);
gst_static_pad_template_get (&gst_qt_sink_template));
gobject_class->finalize = gst_qt_sink_finalize; gobject_class->finalize = gst_qt_sink_finalize;