mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
don't write double sets of metadata in mov, only write usual ones
Originally committed as revision 13751 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6dfafe109d
commit
283c9a8ed4
@ -1263,9 +1263,6 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov,
|
||||
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 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user