# HG changeset patch # User michael # Date 1147993396 0 # Node ID bf797dc4828e3ce9c0ccacb604a53f1573f3dc6b # Parent 1010b89986bde2544c8eeddf40f1dd5dfdc7653b dont write LAVF_ID if bitexact and any meta tag is set diff -r 1010b89986bd -r bf797dc4828e movenc.c --- a/movenc.c Thu May 18 22:49:27 2006 +0000 +++ b/movenc.c Thu May 18 23:03:16 2006 +0000 @@ -1145,7 +1145,8 @@ mov_write_string_tag(pb, "\251wrt", s->author , 1); mov_write_string_tag(pb, "\251alb", s->album , 1); mov_write_day_tag(pb, s->year ,1); - mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 1); + if(mov->tracks[0].enc && !(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT)) + mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 1); mov_write_string_tag(pb, "\251cmt", s->comment , 1); mov_write_string_tag(pb, "\251gen", s->genre , 1); mov_write_trkn_tag(pb, mov, s);