fix compile error with trace macro
authorRob Clark <rob@ti.com>
Wed, 10 Mar 2010 17:50:47 +0000 (11:50 -0600)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 11 Mar 2010 16:52:03 +0000 (17:52 +0100)
Note that this one isn't a problem with normal trace macros, but causes problems with
some replacement trace macros that I use, which expect the format string to be
appendable (ie "foo "fmt in the macro)

https://bugzilla.gnome.org/show_bug.cgi?id=612454

gst/dccp/gstdccp.c

index 443931b..148aa4a 100644 (file)
@@ -156,7 +156,7 @@ gst_dccp_read_buffer (GstElement * this, int socket, GstBuffer ** buf)
 #endif
 
   if (bytes_read != readsize) {
-    GST_DEBUG_OBJECT (this, ("Error while reading data"));
+    GST_DEBUG_OBJECT (this, "Error while reading data");
     return GST_FLOW_ERROR;
   }