diff --git a/codecanalyzer/src/plugins/gst/analyzersink/gstanalyzersink.c b/codecanalyzer/src/plugins/gst/analyzersink/gstanalyzersink.c index 6301104e8d..658822e79c 100644 --- a/codecanalyzer/src/plugins/gst/analyzersink/gstanalyzersink.c +++ b/codecanalyzer/src/plugins/gst/analyzersink/gstanalyzersink.c @@ -123,8 +123,7 @@ gst_analyzer_sink_class_init (GstAnalyzerSinkClass * klass) "Sink", "Sink to dump the parsed information", "Sreerenj Balachandran"); - 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);