# HG changeset patch # User bcoudurier # Date 1213232149 0 # Node ID 91a688e89d3151aabd7589f24bac2137e17f4cd3 # Parent 3f87bde8a97c5aa0daf6a885eb8b20eddf51982e don't write double sets of metadata in mov, only write usual ones diff -r 3f87bde8a97c -r 91a688e89d31 movenc.c --- a/movenc.c Wed Jun 11 19:54:17 2008 +0000 +++ b/movenc.c Thu Jun 12 00:55:49 2008 +0000 @@ -1263,9 +1263,6 @@ mov_write_3gp_udta_tag(pb, s, "albm", s->album); mov_write_3gp_udta_tag(pb, s, "yrrc", "nil"); } else { - /* iTunes meta data */ - mov_write_meta_tag(pb, mov, s); - if(mov->mode == MODE_MOV){ // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4 mov_write_string_tag(pb, "\251nam", s->title , 0); mov_write_string_tag(pb, "\251aut", s->author , 0); @@ -1274,6 +1271,9 @@ mov_write_string_tag(pb, "\251enc", LIBAVFORMAT_IDENT, 0); mov_write_string_tag(pb, "\251des", s->comment , 0); mov_write_string_tag(pb, "\251gen", s->genre , 0); + } else { + /* iTunes meta data */ + mov_write_meta_tag(pb, mov, s); } } return updateSize(pb, pos);