mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
libavformat/mov: add support for name udta
In the QTFF documentation for udta/"user data atoms", "name" is a valid entry for "name of object" however it is currently skipped leading to some missing metadata when copying for some files. This isn't classified the same as "(C)nam" which is "Title of content" so they aren't necessarily the same.
This commit is contained in:
@@ -392,6 +392,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
return mov_metadata_loci(c, pb, atom.size);
|
||||
case MKTAG( 'm','a','n','u'): key = "make"; break;
|
||||
case MKTAG( 'm','o','d','l'): key = "model"; break;
|
||||
case MKTAG( 'n','a','m','e'): key = "name"; break;
|
||||
case MKTAG( 'p','c','s','t'): key = "podcast";
|
||||
parse = mov_metadata_int8_no_padding; break;
|
||||
case MKTAG( 'p','g','a','p'): key = "gapless_playback";
|
||||
|
||||
Reference in New Issue
Block a user