From 36f490a325ba938aedae529d7684a0652ea31508 Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Mon, 7 Mar 2016 08:53:23 +0900 Subject: [PATCH] codecanalyzer: use new gst_element_class_add_static_pad_template() https://bugzilla.gnome.org/show_bug.cgi?id=763197 --- codecanalyzer/src/plugins/gst/analyzersink/gstanalyzersink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);