comparison libpurple/media.c @ 24932: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
comparison
equal deleted inserted replaced
24931:943a09762d95 24932:5606408fff59
622 case GST_MESSAGE_ELEMENT: { 622 case GST_MESSAGE_ELEMENT: {
623 if (gst_structure_has_name(msg->structure, "farsight-error")) { 623 if (gst_structure_has_name(msg->structure, "farsight-error")) {
624 FsError error_no; 624 FsError error_no;
625 gst_structure_get_enum(msg->structure, "error-no", 625 gst_structure_get_enum(msg->structure, "error-no",
626 FS_TYPE_ERROR, (gint*)&error_no); 626 FS_TYPE_ERROR, (gint*)&error_no);
627 purple_debug_error("media", "farsight-error: %i: %s\n", error_no, 627 /*
628 gst_structure_get_string(msg->structure, "error-msg")); 628 * Unknown CName is only a problem for the
629 * multicast transmitter which isn't used.
630 */
631 if (error_no != FS_ERROR_UNKNOWN_CNAME)
632 purple_debug_error("media", "farsight-error: %i: %s\n", error_no,
633 gst_structure_get_string(msg->structure, "error-msg"));
629 } else if (gst_structure_has_name(msg->structure, 634 } else if (gst_structure_has_name(msg->structure,
630 "farsight-new-local-candidate")) { 635 "farsight-new-local-candidate")) {
631 FsStream *stream = g_value_get_object(gst_structure_get_value(msg->structure, "stream")); 636 FsStream *stream = g_value_get_object(gst_structure_get_value(msg->structure, "stream"));
632 FsCandidate *local_candidate = g_value_get_boxed(gst_structure_get_value(msg->structure, "candidate")); 637 FsCandidate *local_candidate = g_value_get_boxed(gst_structure_get_value(msg->structure, "candidate"));
633 PurpleMediaSession *session = purple_media_session_from_fs_stream(media, stream); 638 PurpleMediaSession *session = purple_media_session_from_fs_stream(media, stream);