changeset 4487:7590f1edf959 libavformat

demux some more metadata tags in mov
author aurel
date Sun, 15 Feb 2009 14:13:28 +0000
parents fde631f0bc67
children 724c0f6a52dc
files mov.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sun Feb 15 09:04:08 2009 +0000
+++ b/mov.c	Sun Feb 15 14:13:28 2009 +0000
@@ -1461,12 +1461,17 @@
     }
     switch (atom.type) {
     case MKTAG(0xa9,'n','a','m'): key = "title";     break;
+    case MKTAG(0xa9,'a','u','t'):
     case MKTAG(0xa9,'A','R','T'):
     case MKTAG(0xa9,'w','r','t'): key = "author";    break;
     case MKTAG(0xa9,'c','p','y'): key = "copyright"; break;
     case MKTAG(0xa9,'c','m','t'):
     case MKTAG(0xa9,'i','n','f'): key = "comment";   break;
     case MKTAG(0xa9,'a','l','b'): key = "album";     break;
+    case MKTAG(0xa9,'d','a','y'): key = "year";      break;
+    case MKTAG(0xa9,'g','e','n'): key = "genre";     break;
+    case MKTAG(0xa9,'t','o','o'):
+    case MKTAG(0xa9,'e','n','c'): key = "muxer";     break;
     }
     if (!key)
         return 0;
@@ -1842,6 +1847,11 @@
 { MKTAG(0xa9,'A','R','T'), mov_read_udta_string },
 { MKTAG(0xa9,'a','l','b'), mov_read_udta_string },
 { MKTAG(0xa9,'c','m','t'), mov_read_udta_string },
+{ MKTAG(0xa9,'a','u','t'), mov_read_udta_string },
+{ MKTAG(0xa9,'d','a','y'), mov_read_udta_string },
+{ MKTAG(0xa9,'g','e','n'), mov_read_udta_string },
+{ MKTAG(0xa9,'e','n','c'), mov_read_udta_string },
+{ MKTAG(0xa9,'t','o','o'), mov_read_udta_string },
 { 0, NULL }
 };