From 2584cd90e38316e5391a4d79245876d5a5c85659 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 27 Jan 2022 14:26:26 +0200 Subject: [PATCH] rtphdrext: Use `set_metadata()` instead of `set_static_metadata()` The latter needs a static string. Part-of: --- subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.c b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.c index 3f7fb25..1116525 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.c @@ -180,7 +180,7 @@ gst_rtp_header_extension_class_set_uri (GstRTPHeaderExtensionClass * klass, { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_add_static_metadata (element_class, + gst_element_class_add_metadata (element_class, GST_RTP_HEADER_EXTENSION_URI_METADATA_KEY, uri); } -- 2.7.4