sdpmessage: fix mapping single char fmtp params

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1527>
This commit is contained in:
Tomasz Andrzejak 2022-01-15 17:02:52 +01:00 committed by GStreamer Marge Bot
parent 8dfe70d17f
commit 95f5538fa4

View file

@ -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);