diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2011-11-07 19:20:20 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-11-28 16:08:12 +0100 |
commit | fc6d5ab1c00248e3d6fc2fa77b074d9842806e15 (patch) | |
tree | 62d0668c005e8ffe95e484747a6a5e378ee54daa /telepathy-farstream | |
parent | 12e2cac5777a13f94beb2a21efa7ad139b6dc989 (diff) | |
download | telepathy-farstream-fc6d5ab1c00248e3d6fc2fa77b074d9842806e15.tar.gz |
Use the new GstMessage parsing functions
Diffstat (limited to 'telepathy-farstream')
-rw-r--r-- | telepathy-farstream/call-content.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/telepathy-farstream/call-content.c b/telepathy-farstream/call-content.c index f1db5ef..1305183 100644 --- a/telepathy-farstream/call-content.c +++ b/telepathy-farstream/call-content.c @@ -1751,17 +1751,8 @@ tf_call_content_bus_message (TfCallContent *content, ret = TRUE; } } - else if (gst_structure_has_name (s, "farstream-codecs-changed")) + else if (fs_session_parse_codecs_changed (message, content->fssession)) { - FsSession *fssession; - const GValue *value; - - value = gst_structure_get_value (s, "session"); - fssession = g_value_get_object (value); - - if (fssession != content->fssession) - return FALSE; - g_debug ("Codecs changed"); tf_call_content_try_sending_codecs (content); |