Revision ce072b2d

View differences:

libavformat/movenc.c
1262 1262
            mov_write_3gp_udta_tag(pb, s, "dscp", s->comment);
1263 1263
            mov_write_3gp_udta_tag(pb, s, "albm", s->album);
1264 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 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 1274
            /* iTunes meta data */
1276 1275
            mov_write_meta_tag(pb, mov, s);
1277
            }
1278 1276
        }
1279 1277
        return updateSize(pb, pos);
1280 1278
    }

Also available in: Unified diff