info: revert two of the changes

It only needed for the non constant string.
This commit is contained in:
Stefan Kost 2009-10-08 00:08:47 +03:00
parent 084bbe3921
commit cb7a8e8b61

View file

@ -1645,11 +1645,11 @@ _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file,
{ {
guint off = 0; guint off = 0;
gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, "%s", "-----" gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, "--------"
"----------------------------------------------------------------------"); "-------------------------------------------------------------------");
if (msg != NULL && *msg != '\0') { if (msg != NULL && *msg != '\0') {
gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, "%s", msg); gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, msg);
} }
while (off < length) { while (off < length) {
@ -1661,8 +1661,8 @@ _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file,
off += 16; off += 16;
} }
gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, "%s", "-----" gst_debug_log ((cat), GST_LEVEL_MEMDUMP, file, func, line, obj, "--------"
"----------------------------------------------------------------------"); "-------------------------------------------------------------------");
} }
#else /* !GST_DISABLE_GST_DEBUG */ #else /* !GST_DISABLE_GST_DEBUG */