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 d37822173d
commit 32e346da06
2 changed files with 4 additions and 4 deletions

View file

@ -80,8 +80,8 @@ gst_gtk_gl_sink_class_init (GstGtkGLSinkClass * klass)
"Sink/Video", "A video sink that renders to a GtkWidget",
"Matthew Waters <matthew@centricular.com>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_gtk_gl_sink_template));
gst_element_class_add_static_pad_template (gstelement_class,
&gst_gtk_gl_sink_template);
}
static void

View file

@ -62,8 +62,8 @@ gst_gtk_sink_class_init (GstGtkSinkClass * klass)
"Sink/Video", "A video sink that renders to a GtkWidget",
"Matthew Waters <matthew@centricular.com>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_gtk_sink_template));
gst_element_class_add_static_pad_template (gstelement_class,
&gst_gtk_sink_template);
}
static void