From f42b7042d7a926a3b83420cbdd589af1415fef6c Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Fri, 4 Mar 2016 15:50:26 +0900 Subject: [PATCH] bad: use new gst_element_class_add_static_pad_template() https://bugzilla.gnome.org/show_bug.cgi?id=763081 --- tests/check/libs/aggregator.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/check/libs/aggregator.c b/tests/check/libs/aggregator.c index 16355b9..877c4fb 100644 --- a/tests/check/libs/aggregator.c +++ b/tests/check/libs/aggregator.c @@ -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 "); -- 2.7.4