codecanalyzer: use new gst_element_class_add_static_pad_template()

https://bugzilla.gnome.org/show_bug.cgi?id=763197
This commit is contained in:
Vineeth T M 2016-03-07 08:53:23 +09:00 committed by Sebastian Dröge
parent e11b7cc26c
commit 36f490a325

View file

@ -123,8 +123,7 @@ gst_analyzer_sink_class_init (GstAnalyzerSinkClass * klass)
"Sink",
"Sink to dump the parsed information",
"Sreerenj Balachandran<sreerenj.balachandran@intel.com>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate);
gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_analyzer_sink_change_state);