[gimp] plug-ins: in psd-load.c change debug state to 4 for 1 bit conversion details.
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: in psd-load.c change debug state to 4 for 1 bit conversion details.
- Date: Tue, 18 May 2021 01:52:06 +0000 (UTC)
commit f82974a70e478d31e0f291d7486a36091128742b
Author: Jacob Boerema <jgboerema gmail com>
Date: Mon May 17 13:40:43 2021 -0400
plug-ins: in psd-load.c change debug state to 4 for 1 bit conversion details.
Since the 1-bit conversion debug statements causes a huge amount
of info which can cause slowdowns when loading do it only when
explicitly setting it to IFDBG(4).
plug-ins/file-psd/psd-load.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/file-psd/psd-load.c b/plug-ins/file-psd/psd-load.c
index a50a278721..41c09cbb73 100644
--- a/plug-ins/file-psd/psd-load.c
+++ b/plug-ins/file-psd/psd-load.c
@@ -2538,7 +2538,7 @@ convert_1_bit (const gchar *src,
for (j = 0; j < 8 && row_pos < columns; ++j)
{
*dst = (*src & mask) ? 0 : 1;
- IFDBG(3) g_debug ("byte %d, bit %d, offset %d, src %d, dst %d",
+ IFDBG(4) g_debug ("byte %d, bit %d, offset %d, src %d, dst %d",
i , j, row_pos, *src, *dst);
dst++;
mask >>= 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]