diff options
Diffstat (limited to 'gst/fsrtpconference')
-rw-r--r-- | gst/fsrtpconference/fs-rtp-discover-codecs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c index f02172fd..e53fbdb2 100644 --- a/gst/fsrtpconference/fs-rtp-discover-codecs.c +++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c @@ -1483,6 +1483,11 @@ extract_field_data (GQuark field_id, } else if (0 == strcmp (field_name, "encoding-name")) { + if (type == GST_TYPE_LIST) + { + value = gst_value_list_get_value (value, 0); + type = G_VALUE_TYPE (value); + } if (type != G_TYPE_STRING) { return FALSE; |