[vlc-commits] More debug info about filetype

Jean-Baptiste Kempf git at videolan.org
Tue Jul 12 17:07:33 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 11 15:17:34 2011 +0200| [90a570fc6099b1d9f16587e010dddc32f1743cbd] | committer: Jean-Baptiste Kempf

More debug info about filetype

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

 modules/demux/mp4/mp4.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index be2ea2a..562a18d 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -335,7 +335,19 @@ static int Open( vlc_object_t * p_this )
                          p_ftyp->data.p_ftyp->i_minor_version );
                 break;
             case( FOURCC_3gp4 ):
-                msg_Dbg( p_demux, "3gp Media file version 4" );
+            case( VLC_FOURCC( '3', 'g', 'p', '5' ) ):
+            case( VLC_FOURCC( '3', 'g', 'p', '6' ) ):
+            case( VLC_FOURCC( '3', 'g', 'p', '7' ) ):
+                msg_Dbg( p_demux, "3GPP Media file Release: %c",
+#ifdef WORDS_BIGENDIAN
+                        p_ftyp->data.p_ftyp->i_major_brand
+#else
+                        p_ftyp->data.p_ftyp->i_major_brand >> 24
+#endif
+                        );
+                break;
+            case( VLC_FOURCC( 'q', 't', ' ', ' ') ):
+                msg_Dbg( p_demux, "Apple QuickTime file" );
                 break;
             default:
                 msg_Dbg( p_demux,



More information about the vlc-commits mailing list