maiku.vv: ef539ae7: Remove a bunch of extraneous GstBus mess...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Thu Aug 21 04:01:05 EDT 2008


-----------------------------------------------------------------
Revision: ef539ae79430edcfa9f4e8615d3c6f132bf8942f
Ancestor: 7d13b1d8a0484fdf843df1925030b2bd026518df
Author: maiku at soc.pidgin.im
Date: 2008-08-21T02:41:21
Branch: im.pidgin.maiku.vv
URL: http://d.pidgin.im/viewmtn/revision/info/ef539ae79430edcfa9f4e8615d3c6f132bf8942f

Modified files:
        libpurple/media.c

ChangeLog: 

Remove a bunch of extraneous GstBus messages from the debug output.

-------------- next part --------------
============================================================
--- libpurple/media.c	c33b513563ce60195791c7f60709ca926fa2f825
+++ libpurple/media.c	e65a2dcfb1485383150442948a2653337880cb6c
@@ -593,22 +593,11 @@ media_bus_call(GstBus *bus, GstMessage *
 				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;


More information about the Commits mailing list