Mercurial > libavformat.hg
changeset 1096:f5c75a06e2b4 libavformat
dont store mov style meta tags in mp4 (fixes ffmpeg -title + gtkpod)
author | michael |
---|---|
date | Thu, 18 May 2006 23:32:42 +0000 |
parents | bf797dc4828e |
children | acabd3a4b903 |
files | movenc.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Thu May 18 23:03:16 2006 +0000 +++ b/movenc.c Thu May 18 23:32:42 2006 +0000 @@ -1185,6 +1185,7 @@ /* 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 @@ 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); }