diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-03-25 15:24:27 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-03-25 15:24:27 -0400 |
commit | db14343c55fb4616153a5ab783293f957c88f1b5 (patch) | |
tree | a134fdae1ec50c145e2edf15450b218f37caeaf7 | |
parent | 2b085b0a3a37cf87e4a9ccf6b2de50a3fc236de3 (diff) | |
download | farstream-db14343c55fb4616153a5ab783293f957c88f1b5.tar.gz |
rtp: Parse payloaders with multiple names
-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; |