[vlc-commits] demux: mp4: split debug info

Francois Cartegnie git at videolan.org
Wed Sep 24 22:35:16 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Sep 24 22:30:18 2014 +0200| [f7edf2f75811a20cede90282d36dee46a5bf5851] | committer: Francois Cartegnie

demux: mp4: split debug info

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7edf2f75811a20cede90282d36dee46a5bf5851
---

 modules/demux/mp4/libmp4.c |    4 ++--
 modules/demux/mp4/libmp4.h |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index be11d8d..040a9a3 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -123,7 +123,7 @@ int MP4_ReadBoxCommon( stream_t *p_stream, MP4_Box_t *p_box )
     {
         CreateUUID( &p_box->i_uuid, p_box->i_type );
     }
-#ifdef MP4_VERBOSE
+#ifdef MP4_ULTRA_VERBOSE
     if( p_box->i_size )
     {
         if MP4_BOX_TYPE_ASCII()
@@ -284,7 +284,7 @@ static int MP4_ReadBoxSkip( stream_t *p_stream, MP4_Box_t *p_box )
     }
 
     /* Nothing to do */
-#ifdef MP4_VERBOSE
+#ifdef MP4_ULTRA_VERBOSE
     if MP4_BOX_TYPE_ASCII()
         msg_Dbg( p_stream, "skip box: \"%4.4s\"", (char*)&p_box->i_type );
     else
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 8e3195c..2e03d27 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -278,6 +278,7 @@
 /* Do you want some debug information on all read boxes ? */
 #ifndef NDEBUG
 # define MP4_VERBOSE  1
+//# define MP4_ULTRA_VERBOSE  1
 #endif
 
 struct MP4_Box_s;



More information about the vlc-commits mailing list