Mercurial > libavformat.hg
comparison movenc.c @ 1095:bf797dc4828e libavformat
dont write LAVF_ID if bitexact and any meta tag is set
author | michael |
---|---|
date | Thu, 18 May 2006 23:03:16 +0000 |
parents | 1010b89986bd |
children | f5c75a06e2b4 |
comparison
equal
deleted
inserted
replaced
1094:1010b89986bd | 1095:bf797dc4828e |
---|---|
1143 mov_write_string_tag(pb, "\251nam", s->title , 1); | 1143 mov_write_string_tag(pb, "\251nam", s->title , 1); |
1144 mov_write_string_tag(pb, "\251ART", s->author , 1); | 1144 mov_write_string_tag(pb, "\251ART", s->author , 1); |
1145 mov_write_string_tag(pb, "\251wrt", s->author , 1); | 1145 mov_write_string_tag(pb, "\251wrt", s->author , 1); |
1146 mov_write_string_tag(pb, "\251alb", s->album , 1); | 1146 mov_write_string_tag(pb, "\251alb", s->album , 1); |
1147 mov_write_day_tag(pb, s->year ,1); | 1147 mov_write_day_tag(pb, s->year ,1); |
1148 mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 1); | 1148 if(mov->tracks[0].enc && !(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT)) |
1149 mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 1); | |
1149 mov_write_string_tag(pb, "\251cmt", s->comment , 1); | 1150 mov_write_string_tag(pb, "\251cmt", s->comment , 1); |
1150 mov_write_string_tag(pb, "\251gen", s->genre , 1); | 1151 mov_write_string_tag(pb, "\251gen", s->genre , 1); |
1151 mov_write_trkn_tag(pb, mov, s); | 1152 mov_write_trkn_tag(pb, mov, s); |
1152 return updateSize(pb, pos); | 1153 return updateSize(pb, pos); |
1153 } | 1154 } |