summaryrefslogtreecommitdiff
path: root/host-common/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'host-common/logging.h')
-rw-r--r--host-common/logging.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/host-common/logging.h b/host-common/logging.h
index 22d0581b..b4563e90 100644
--- a/host-common/logging.h
+++ b/host-common/logging.h
@@ -19,6 +19,13 @@
#define GL_LOG(...) ((void)0)
#endif
+//#define ENABLE_DECODER_LOG 1
+#if defined(ENABLE_DECODER_LOG)
+#define DECODER_DEBUG_LOG(...) GFXSTREAM_LOG(stderr, "I", __VA_ARGS__)
+#else
+#define DECODER_DEBUG_LOG(...) ((void)0)
+#endif
+
#define ERR(...) \
do { \
GFXSTREAM_LOG(stderr, "E", __VA_ARGS__); \