[FFmpeg-cvslog] r23353 - in branches/0.6: . libavformat/avformat.h libavformat/mov.c libavformat/movenc.c

siretart subversion
Thu May 27 22:40:09 CEST 2010


Author: siretart
Date: Thu May 27 22:40:09 2010
New Revision: 23353

Log:
change author metadata to artist in mov de/muxer

backport r23266 by bcoudurier

Modified:
   branches/0.6/   (props changed)
   branches/0.6/libavformat/avformat.h
   branches/0.6/libavformat/mov.c
   branches/0.6/libavformat/movenc.c

Modified: branches/0.6/libavformat/avformat.h
==============================================================================
--- branches/0.6/libavformat/avformat.h	Thu May 27 19:11:37 2010	(r23352)
+++ branches/0.6/libavformat/avformat.h	Thu May 27 22:40:09 2010	(r23353)
@@ -23,7 +23,7 @@
 
 #define LIBAVFORMAT_VERSION_MAJOR 52
 #define LIBAVFORMAT_VERSION_MINOR 64
-#define LIBAVFORMAT_VERSION_MICRO  0
+#define LIBAVFORMAT_VERSION_MICRO  1
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
                                                LIBAVFORMAT_VERSION_MINOR, \

Modified: branches/0.6/libavformat/mov.c
==============================================================================
--- branches/0.6/libavformat/mov.c	Thu May 27 19:11:37 2010	(r23352)
+++ branches/0.6/libavformat/mov.c	Thu May 27 22:40:09 2010	(r23353)
@@ -144,7 +144,7 @@ static int mov_read_udta_string(MOVConte
     switch (atom.type) {
     case MKTAG(0xa9,'n','a','m'): key = "title";     break;
     case MKTAG(0xa9,'a','u','t'):
-    case MKTAG(0xa9,'A','R','T'): key = "author";    break;
+    case MKTAG(0xa9,'A','R','T'): key = "artist";    break;
     case MKTAG(0xa9,'w','r','t'): key = "composer";  break;
     case MKTAG( 'c','p','r','t'):
     case MKTAG(0xa9,'c','p','y'): key = "copyright"; break;

Modified: branches/0.6/libavformat/movenc.c
==============================================================================
--- branches/0.6/libavformat/movenc.c	Thu May 27 19:11:37 2010	(r23352)
+++ branches/0.6/libavformat/movenc.c	Thu May 27 22:40:09 2010	(r23353)
@@ -1452,7 +1452,7 @@ static int mov_write_ilst_tag(ByteIOCont
     put_be32(pb, 0); /* size */
     put_tag(pb, "ilst");
     mov_write_string_metadata(s, pb, "\251nam", "title"    , 1);
-    mov_write_string_metadata(s, pb, "\251ART", "author"   , 1);
+    mov_write_string_metadata(s, pb, "\251ART", "artist"   , 1);
     mov_write_string_metadata(s, pb, "aART", "album_artist", 1);
     mov_write_string_metadata(s, pb, "\251wrt", "composer" , 1);
     mov_write_string_metadata(s, pb, "\251alb", "album"    , 1);



More information about the ffmpeg-cvslog mailing list