maiku.vv: 8281eefa: Silence FS_ERROR_UNKNOWN_CNAME error.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Sun Aug 31 23:30:47 EDT 2008


-----------------------------------------------------------------
Revision: 8281eefa641005f260bdfe8fe2394b8023678a01
Ancestor: 02acccad66e0b515ba3778e5a4a5165cc16ba9fb
Author: maiku at soc.pidgin.im
Date: 2008-08-31T23:27:05
Branch: im.pidgin.maiku.vv
URL: http://d.pidgin.im/viewmtn/revision/info/8281eefa641005f260bdfe8fe2394b8023678a01

Modified files:
        libpurple/media.c

ChangeLog: 

Silence FS_ERROR_UNKNOWN_CNAME error.
It's only an issue when using the multicast transmitter which isn't used.

-------------- next part --------------
============================================================
--- libpurple/media.c	5ec1e4456334216b7b6b091062e2c4c4e35e2b15
+++ libpurple/media.c	6b352693c69444c9b9130483ddae863379370159
@@ -624,8 +624,13 @@ media_bus_call(GstBus *bus, GstMessage *
 				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"));


More information about the Commits mailing list