Commit 6f276720 authored by Michael Niedermayer's avatar Michael Niedermayer

dont write LAVF_ID if bitexact and any meta tag is set

Originally committed as revision 5404 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent efda3395
...@@ -1145,7 +1145,8 @@ static int mov_write_ilst_tag(ByteIOContext *pb, MOVContext* mov, ...@@ -1145,7 +1145,8 @@ static int mov_write_ilst_tag(ByteIOContext *pb, MOVContext* mov,
mov_write_string_tag(pb, "\251wrt", s->author , 1); mov_write_string_tag(pb, "\251wrt", s->author , 1);
mov_write_string_tag(pb, "\251alb", s->album , 1); mov_write_string_tag(pb, "\251alb", s->album , 1);
mov_write_day_tag(pb, s->year ,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, "\251cmt", s->comment , 1);
mov_write_string_tag(pb, "\251gen", s->genre , 1); mov_write_string_tag(pb, "\251gen", s->genre , 1);
mov_write_trkn_tag(pb, mov, s); mov_write_trkn_tag(pb, mov, s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment