Mercurial > pidgin.yaz
changeset 26008:5606408fff59
Silence FS_ERROR_UNKNOWN_CNAME error.
It's only an issue when using the multicast transmitter which isn't used.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sun, 31 Aug 2008 23:27:05 +0000 |
parents | 943a09762d95 |
children | 6ab96d5d8ac6 |
files | libpurple/media.c |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/media.c Sun Aug 31 22:46:16 2008 +0000 +++ b/libpurple/media.c Sun Aug 31 23:27:05 2008 +0000 @@ -624,8 +624,13 @@ FsError error_no; gst_structure_get_enum(msg->structure, "error-no", FS_TYPE_ERROR, (gint*)&error_no); - purple_debug_error("media", "farsight-error: %i: %s\n", error_no, - gst_structure_get_string(msg->structure, "error-msg")); + /* + * Unknown CName is only a problem for the + * multicast transmitter which isn't used. + */ + if (error_no != FS_ERROR_UNKNOWN_CNAME) + purple_debug_error("media", "farsight-error: %i: %s\n", error_no, + gst_structure_get_string(msg->structure, "error-msg")); } else if (gst_structure_has_name(msg->structure, "farsight-new-local-candidate")) { FsStream *stream = g_value_get_object(gst_structure_get_value(msg->structure, "stream"));