Commit 53cdf004 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: add missing samsung atoms

parent 408710f0
...@@ -3738,6 +3738,8 @@ static const struct ...@@ -3738,6 +3738,8 @@ static const struct
{ ATOM_gnre, MP4_ReadBox_gnre, MP4_FreeBox_Common, ATOM_udta }, { ATOM_gnre, MP4_ReadBox_gnre, MP4_FreeBox_Common, ATOM_udta },
{ ATOM_name, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta }, { ATOM_name, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_trkn, MP4_ReadBox_trkn, MP4_FreeBox_Common, 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 */ /* iTunes/Quicktime meta info */
{ ATOM_meta, MP4_ReadBox_meta, MP4_FreeBox_Common, 0 }, { ATOM_meta, MP4_ReadBox_meta, MP4_FreeBox_Common, 0 },
......
...@@ -285,6 +285,8 @@ ...@@ -285,6 +285,8 @@
#define ATOM_covr VLC_FOURCC( 'c', 'o', 'v', 'r' ) #define ATOM_covr VLC_FOURCC( 'c', 'o', 'v', 'r' )
#define ATOM_chap VLC_FOURCC( 'c', 'h', 'a', 'p' ) #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 ? */ /* Do you want some debug information on all read boxes ? */
#ifndef NDEBUG #ifndef NDEBUG
......
...@@ -1626,6 +1626,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1626,6 +1626,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{ ATOM_0xa9sol, N_("Soloist") }, { ATOM_0xa9sol, N_("Soloist") },
{ ATOM_0xa9thx, N_("Thanks") }, { ATOM_0xa9thx, N_("Thanks") },
{ ATOM_0xa9xpd, N_("Executive Producer") }, { ATOM_0xa9xpd, N_("Executive Producer") },
{ ATOM_vndr, N_("Vendor") },
{ 0, "" }, { 0, "" },
}; };
for( unsigned i = 0; xa9typetoextrameta[i].xa9_type; i++ ) for( unsigned i = 0; xa9typetoextrameta[i].xa9_type; i++ )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment