mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +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
e00bc04e3d
commit
a541d63210
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ gst_data_uri_src_class_init (GstDataURISrcClass * klass)
|
|||
"URI that should be used",
|
||||
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
"data: URI source element", "Source", "Handles data: uris",
|
||||
"Philippe Normand <pnormand@igalia.com>, "
|
||||
|
|
Loading…
Reference in a new issue