mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +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
f6ec0f705e
commit
f42b7042d7
1 changed files with 2 additions and 4 deletions
|
@ -152,11 +152,9 @@ gst_test_aggregator_class_init (GstTestAggregatorClass * klass)
|
|||
GST_STATIC_PAD_TEMPLATE ("sink_%u", GST_PAD_SINK, GST_PAD_REQUEST,
|
||||
GST_STATIC_CAPS_ANY);
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&_src_template));
|
||||
gst_element_class_add_static_pad_template (gstelement_class, &_src_template);
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&_sink_template));
|
||||
gst_element_class_add_static_pad_template (gstelement_class, &_sink_template);
|
||||
|
||||
gst_element_class_set_static_metadata (gstelement_class, "Aggregator",
|
||||
"Testing", "Combine N buffers", "Stefan Sauer <ensonic@users.sf.net>");
|
||||
|
|
Loading…
Reference in a new issue