mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
This commit is contained in:
parent
d37822173d
commit
32e346da06
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue