diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-05-18 23:32:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-05-18 23:32:42 +0000 |
commit | ed90d370ec6d784f85f429b9af98d36406eebba3 (patch) | |
tree | 38e0643820f2a9a3f8a9f4543d71ac4a0cd3ca8b /libavformat/movenc.c | |
parent | 6f276720aca21109c1e17e01a71741f83cee05ac (diff) | |
download | ffmpeg-ed90d370ec6d784f85f429b9af98d36406eebba3.tar.gz |
dont store mov style meta tags in mp4 (fixes ffmpeg -title + gtkpod)
Originally committed as revision 5405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 0111777cd8..1399b30ab3 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1185,6 +1185,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov, /* 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 isnt valid in mp4 /* Requirements */ for (i=0; i<MAX_STREAMS; i++) { if(mov->tracks[i].entry <= 0) continue; @@ -1203,6 +1204,7 @@ 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); + } return updateSize(pb, pos); } |