]> git.sesse.net Git - vlc/commitdiff
omxil: enable extra debug in debug builds
authorRafaël Carré <funman@videolan.org>
Tue, 10 Jul 2012 16:28:50 +0000 (18:28 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 10 Jul 2012 16:28:50 +0000 (18:28 +0200)
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

modules/codec/omxil/omxil.c

index 8cd24f5dbc041623b3cfd4eb67c54cc459410e96..bd3962dca936d8c532969b97e2423036306f45dc 100644 (file)
@@ -50,7 +50,9 @@
 
 #include "omxil.h"
 
-//#define OMXIL_EXTRA_DEBUG
+#ifndef NDEBUG
+# define OMXIL_EXTRA_DEBUG
+#endif
 
 #define SENTINEL_FLAG 0x10000