Commit 59dbabdd authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: libmp4: add few encoders

parent fe4fa8c9
......@@ -3748,6 +3748,8 @@ static const struct
{ ATOM_xid_, MP4_ReadBox_Metadata, MP4_FreeBox_Common, ATOM_ilst },
/* udta */
{ ATOM_0x40PRM, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_0x40PRQ, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_0xa9ART, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_0xa9alb, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_0xa9ard, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
......@@ -3798,6 +3800,7 @@ static const struct
{ ATOM_0xa9xpd, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_0xa9xyz, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_chpl, MP4_ReadBox_chpl, MP4_FreeBox_chpl, ATOM_udta }, /* nero unlabeled chapters list */
{ ATOM_MCPS, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_name, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_vndr, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
{ ATOM_SDLN, MP4_ReadBox_String, MP4_FreeBox_String, ATOM_udta },
......
......@@ -309,7 +309,10 @@
#define ATOM_tsel VLC_FOURCC( 't', 's', 'e', 'l' )
#define ATOM_xid_ VLC_FOURCC( 'x', 'i', 'd', ' ' )
#define ATOM_0x40PRM VLC_FOURCC( '@', 'P', 'R', 'M' )
#define ATOM_0x40PRQ VLC_FOURCC( '@', 'P', 'R', 'Q' )
#define ATOM_chap VLC_FOURCC( 'c', 'h', 'a', 'p' )
#define ATOM_MCPS VLC_FOURCC( 'M', 'C', 'P', 'S' )
#define ATOM_SDLN VLC_FOURCC( 'S', 'D', 'L', 'N' )
#define ATOM_vndr VLC_FOURCC( 'v', 'n', 'd', 'r' )
......
......@@ -32,6 +32,8 @@ static const struct
const uint32_t xa9_type;
const vlc_meta_type_t meta_type;
} xa9typetometa[] = {
{ ATOM_0x40PRM, vlc_meta_EncodedBy }, /* Adobe Premiere */
{ ATOM_0x40PRQ, vlc_meta_EncodedBy }, /* Adobe Qt */
{ ATOM_0xa9nam, vlc_meta_Title }, /* Full name */
{ ATOM_0xa9aut, vlc_meta_Artist },
{ ATOM_0xa9ART, vlc_meta_Artist },
......@@ -47,6 +49,7 @@ static const struct
{ ATOM_0xa9enc, vlc_meta_EncodedBy }, /* Encoded By */
{ ATOM_0xa9pub, vlc_meta_Publisher },
{ ATOM_0xa9dir, vlc_meta_Director },
{ ATOM_MCPS, vlc_meta_EncodedBy }, /* Cleaner Pro */
{ 0, 0 },
};
......
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