]> git.sesse.net Git - vlc/commitdiff
demux: mp4: add support for computer graphics meta atom
authorFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 10 Jun 2014 18:09:54 +0000 (20:09 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 10 Jun 2014 18:37:03 +0000 (20:37 +0200)
see bartjones.mov
http://streams.videolan.org/samples/mov/unrecognized/

modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.h

index a1aa2fdd2093c1ebf110a62c63944ca20cee6754..f13c3bc6dc0d1d57a7a2f7a6cb8a9f7a9c65c677 100644 (file)
@@ -3338,6 +3338,7 @@ static const struct
     { ATOM_skip,    MP4_ReadBoxSkip,          MP4_FreeBox_Common },
     { ATOM_free,    MP4_ReadBoxSkip,          MP4_FreeBox_Common },
     { ATOM_wide,    MP4_ReadBoxSkip,          MP4_FreeBox_Common },
+    { ATOM_binm,    MP4_ReadBoxSkip,          MP4_FreeBox_Common },
 
     /* Subtitles */
     { ATOM_tx3g,    MP4_ReadBox_sample_tx3g,      MP4_FreeBox_Common },
index 97fe314db2f35014f4a7f96f58efad8c3d6e5eb6..9c8212a6f6086d927c8cfe2d58c130aa2d467e93 100644 (file)
@@ -43,6 +43,7 @@
 #define ATOM_free VLC_FOURCC( 'f', 'r', 'e', 'e' )
 #define ATOM_udta VLC_FOURCC( 'u', 'd', 't', 'a' )
 #define ATOM_wide VLC_FOURCC( 'w', 'i', 'd', 'e' )
+#define ATOM_binm VLC_FOURCC( 0x82, 0x82, 0x7f, 0x7d ) /* binary Computer Graphics Metafile */
 
 #define ATOM_data VLC_FOURCC( 'd', 'a', 't', 'a' )