From cb7a8e8b617df3081adbc43cd8c9dc2140b3816c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 8 Oct 2009 00:08:47 +0300 Subject: [PATCH] info: revert two of the changes It only needed for the non constant string. --- gst/gstinfo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 1724aef7b7..afe4984317 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -1645,11 +1645,11 @@ _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file, { 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') { - 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) { @@ -1661,8 +1661,8 @@ _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file, 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 */