[vlc-commits] mp4: help debug uuid boxes values

Jean-Baptiste Kempf git at videolan.org
Fri Aug 12 16:08:29 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun  6 19:22:52 2016 +0200| [41ba505c0b5ff6f49b600773a411ac86dfa95df4] | committer: Jean-Baptiste Kempf

mp4: help debug uuid boxes values

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

 modules/demux/mp4/libmp4.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 19fc2be..ffdd99e 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -690,7 +690,17 @@ static int MP4_ReadBox_uuid( stream_t *p_stream, MP4_Box_t *p_box )
     if( !CmpUUID( &p_box->i_uuid, &TfxdBoxUUID ) )
         return MP4_ReadBox_tfxd( p_stream, p_box );
 
+#ifdef MP4_VERBOSE
+    msg_Warn( p_stream, "Unknown uuid type box: "
+    "0x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x"
+    "%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x",
+    p_box->i_uuid.b[0],  p_box->i_uuid.b[1],  p_box->i_uuid.b[2],  p_box->i_uuid.b[3],
+    p_box->i_uuid.b[4],  p_box->i_uuid.b[5],  p_box->i_uuid.b[6],  p_box->i_uuid.b[7],
+    p_box->i_uuid.b[8],  p_box->i_uuid.b[9],  p_box->i_uuid.b[10], p_box->i_uuid.b[11],
+    p_box->i_uuid.b[12], p_box->i_uuid.b[13], p_box->i_uuid.b[14], p_box->i_uuid.b[15] );
+#else
     msg_Warn( p_stream, "Unknown uuid type box" );
+#endif
     return 1;
 }
 



More information about the vlc-commits mailing list