From 95f5538fa45887885dd0ec67ca2f81f6be1807f2 Mon Sep 17 00:00:00 2001 From: Tomasz Andrzejak Date: Sat, 15 Jan 2022 17:02:52 +0100 Subject: [PATCH] sdpmessage: fix mapping single char fmtp params Part-of: --- subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c b/subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c index 59f0c5c888..02ae0316ee 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c @@ -3720,7 +3720,7 @@ gst_sdp_media_get_caps_from_media (const GstSDPMedia * media, gint pt) } } - if (strlen (key) > 1) { + if (strlen (key)) { tmp = g_ascii_strdown (key, -1); gst_structure_set (s, tmp, G_TYPE_STRING, val, NULL); g_free (tmp);