gstinfo: add back fix that shouldn't have been reverted
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 8 Oct 2009 08:34:47 +0000 (09:34 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 8 Oct 2009 08:36:38 +0000 (09:36 +0100)
gst/gstinfo.c

index afe4984..6731a8b 100644 (file)
@@ -1649,7 +1649,7 @@ _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file,
       "-------------------------------------------------------------------");
 
   if (msg != NULL && *msg != '\0') {
-    gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, msg);
+    gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, "%s", msg);
   }
 
   while (off < length) {