[vlc-commits] omxil: enable extra debug in debug builds
Rafaël Carré
git at videolan.org
Tue Jul 10 18:30:33 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jul 10 18:28:50 2012 +0200| [f0226d6312f9eed91856fdf164bc0735b4ae40c7] | committer: Rafaël Carré
omxil: enable extra debug in debug builds
This will enable more people to make useful reports.
To avoid spamming your log, several solutions:
- rebuild with this define removed
- use grep to match only what interests you from the log
- use software decoder
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0226d6312f9eed91856fdf164bc0735b4ae40c7
---
modules/codec/omxil/omxil.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index 8cd24f5..bd3962d 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -50,7 +50,9 @@
#include "omxil.h"
-//#define OMXIL_EXTRA_DEBUG
+#ifndef NDEBUG
+# define OMXIL_EXTRA_DEBUG
+#endif
#define SENTINEL_FLAG 0x10000
More information about the vlc-commits
mailing list