summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-09 20:50:48 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-09-18 13:38:00 -0400
commit04a706724d818f450f68b453492aae9e8cb08af5 (patch)
tree10938f42272c442c191b4a75fed7640760f360e9 /gst
parent8d818b6377f19fe9e4e25b3c40c35ba49bcc13ed (diff)
downloadfarstream-04a706724d818f450f68b453492aae9e8cb08af5.tar.gz
rtpdiscocode: Ignore codecs with no "payload" property
Diffstat (limited to 'gst')
-rw-r--r--gst/fsrtpconference/fs-rtp-discover-codecs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index c73228e7..cc195444 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -484,6 +484,8 @@ remove_dynamic_duplicates (GList *list)
/* let's skip all non static payload types */
value = gst_structure_get_value (rtp_struct, "payload");
+ if (!value)
+ continue;
type = G_VALUE_TYPE (value);
if (type != G_TYPE_INT)
{