Mercurial > libavformat.hg
comparison movenc.c @ 3464:88e25bd62781 libavformat
cosmetics, reindent
author | bcoudurier |
---|---|
date | Thu, 12 Jun 2008 00:56:54 +0000 |
parents | 91a688e89d31 |
children | cee1910ad600 |
comparison
equal
deleted
inserted
replaced
3463:91a688e89d31 | 3464:88e25bd62781 |
---|---|
1260 mov_write_3gp_udta_tag(pb, s, "auth", s->author); | 1260 mov_write_3gp_udta_tag(pb, s, "auth", s->author); |
1261 mov_write_3gp_udta_tag(pb, s, "gnre", s->genre); | 1261 mov_write_3gp_udta_tag(pb, s, "gnre", s->genre); |
1262 mov_write_3gp_udta_tag(pb, s, "dscp", s->comment); | 1262 mov_write_3gp_udta_tag(pb, s, "dscp", s->comment); |
1263 mov_write_3gp_udta_tag(pb, s, "albm", s->album); | 1263 mov_write_3gp_udta_tag(pb, s, "albm", s->album); |
1264 mov_write_3gp_udta_tag(pb, s, "yrrc", "nil"); | 1264 mov_write_3gp_udta_tag(pb, s, "yrrc", "nil"); |
1265 } else if (mov->mode == MODE_MOV) { // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4 | |
1266 mov_write_string_tag(pb, "\251nam", s->title , 0); | |
1267 mov_write_string_tag(pb, "\251aut", s->author , 0); | |
1268 mov_write_string_tag(pb, "\251alb", s->album , 0); | |
1269 mov_write_day_tag(pb, s->year, 0); | |
1270 mov_write_string_tag(pb, "\251enc", LIBAVFORMAT_IDENT, 0); | |
1271 mov_write_string_tag(pb, "\251des", s->comment , 0); | |
1272 mov_write_string_tag(pb, "\251gen", s->genre , 0); | |
1265 } else { | 1273 } else { |
1266 if(mov->mode == MODE_MOV){ // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4 | |
1267 mov_write_string_tag(pb, "\251nam", s->title , 0); | |
1268 mov_write_string_tag(pb, "\251aut", s->author , 0); | |
1269 mov_write_string_tag(pb, "\251alb", s->album , 0); | |
1270 mov_write_day_tag(pb, s->year, 0); | |
1271 mov_write_string_tag(pb, "\251enc", LIBAVFORMAT_IDENT, 0); | |
1272 mov_write_string_tag(pb, "\251des", s->comment , 0); | |
1273 mov_write_string_tag(pb, "\251gen", s->genre , 0); | |
1274 } else { | |
1275 /* iTunes meta data */ | 1274 /* iTunes meta data */ |
1276 mov_write_meta_tag(pb, mov, s); | 1275 mov_write_meta_tag(pb, mov, s); |
1277 } | |
1278 } | 1276 } |
1279 return updateSize(pb, pos); | 1277 return updateSize(pb, pos); |
1280 } | 1278 } |
1281 | 1279 |
1282 return 0; | 1280 return 0; |