]> git.sesse.net Git - vlc/commitdiff
demux: mp4: add missing samsung atoms
authorFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 14 Oct 2014 17:28:24 +0000 (19:28 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 14 Oct 2014 18:26:15 +0000 (20:26 +0200)
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.h
modules/demux/mp4/mp4.c

index 7e9afd8ca0ae16e66f2fcf8f935233cccc152721..a57e8faa48b5189e040690a9e5293c59f88195a8 100644 (file)
@@ -3738,6 +3738,8 @@ static const struct
     { ATOM_gnre,    MP4_ReadBox_gnre,         MP4_FreeBox_Common,  ATOM_udta },
     { ATOM_name,    MP4_ReadBox_String,       MP4_FreeBox_String,  ATOM_udta },
     { ATOM_trkn,    MP4_ReadBox_trkn,         MP4_FreeBox_Common,  ATOM_udta },
+    { ATOM_vndr,    MP4_ReadBox_String,       MP4_FreeBox_String,  ATOM_udta },
+    { ATOM_SDLN,    MP4_ReadBox_String,       MP4_FreeBox_String,  ATOM_udta },
 
     /* iTunes/Quicktime meta info */
     { ATOM_meta,    MP4_ReadBox_meta,         MP4_FreeBox_Common,  0 },
index a888d2efe11305d0d48df1811656ce7e04c2f505..50fe38f03f25c2d902362154eed149891da43bcc 100644 (file)
 #define ATOM_covr VLC_FOURCC( 'c', 'o', 'v', 'r' )
 
 #define ATOM_chap VLC_FOURCC( 'c', 'h', 'a', 'p' )
+#define ATOM_SDLN VLC_FOURCC( 'S', 'D', 'L', 'N' )
+#define ATOM_vndr VLC_FOURCC( 'v', 'n', 'd', 'r' )
 
 /* Do you want some debug information on all read boxes ? */
 #ifndef NDEBUG
index eb6b64fe8ff027bb2d38f1c4871d8a8aa6f6c250..a5ffe773b62595425467c9bb4d443c08ec8b1ef2 100644 (file)
@@ -1626,6 +1626,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     { ATOM_0xa9sol, N_("Soloist") },
                     { ATOM_0xa9thx, N_("Thanks") },
                     { ATOM_0xa9xpd, N_("Executive Producer") },
+                    { ATOM_vndr,    N_("Vendor") },
                     { 0, "" },
                 };
                 for( unsigned i = 0; xa9typetoextrameta[i].xa9_type; i++ )