Revision ed90d370 libavformat/movenc.c

View differences:

libavformat/movenc.c
1185 1185
    /* iTunes meta data */
1186 1186
    mov_write_meta_tag(pb, mov, s);
1187 1187

  
1188
  if(mov->mode == MODE_MOV){ // the title field breaks gtkpod with mp4 and my suspicion is that stuff isnt valid in mp4
1188 1189
    /* Requirements */
1189 1190
    for (i=0; i<MAX_STREAMS; i++) {
1190 1191
        if(mov->tracks[i].entry <= 0) continue;
......
1203 1204
        mov_write_string_tag(pb, "\251enc", LIBAVFORMAT_IDENT, 0);
1204 1205
    mov_write_string_tag(pb, "\251des", s->comment       , 0);
1205 1206
    mov_write_string_tag(pb, "\251gen", s->genre         , 0);
1207
  }
1206 1208

  
1207 1209
    return updateSize(pb, pos);
1208 1210
}

Also available in: Unified diff