changeset 23914:d6bda7b63eac

Remove a bunch of extraneous GstBus messages from the debug output.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Thu, 21 Aug 2008 02:41:21 +0000
parents ba609f368dc8
children 9632027d3b50 9104d46df299
files libpurple/media.c
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Thu Aug 21 00:53:58 2008 +0000
+++ b/libpurple/media.c	Thu Aug 21 02:41:21 2008 +0000
@@ -593,22 +593,11 @@
 				gst_structure_get_int(msg->structure, "error-no", &error_no);
 				purple_debug_error("media", "farsight-error: %i: %s\n", error_no,
 						  gst_structure_get_string(msg->structure, "error-msg"));
-			} else {
-				gchar *name, *str;
-				name = gst_object_get_name(GST_MESSAGE_SRC (msg));
-				purple_debug_info("media", "element name: %s\n", name);
-				g_free(name);
-
-				str = gst_structure_to_string(msg->structure);
-				purple_debug_info("media", "structure: %s\n", str);
-				g_free(str);
 			}
 			break;
 		}
 		default:
-			purple_debug_info("media", "gst message type: %s\n",
-					  GST_MESSAGE_TYPE_NAME(msg));
-			return TRUE;
+			break;
 	}
 
 	return TRUE;