movenc: hotfix, dont store fiel for h264 / mpeg4-asp / dnxhd
Other software does not store it in this case, and the information is provided by the codec stream Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1132,8 +1132,11 @@ static int mov_write_video_tag(AVIOContext *pb, MOVTrack *track)
|
||||
else if (track->vos_len > 0)
|
||||
mov_write_glbl_tag(pb, track);
|
||||
|
||||
if (track->enc->field_order != AV_FIELD_UNKNOWN)
|
||||
mov_write_fiel_tag(pb, track);
|
||||
if (track->enc->codec_id != AV_CODEC_ID_H264 &&
|
||||
track->enc->codec_id != AV_CODEC_ID_MPEG4 &&
|
||||
track->enc->codec_id != AV_CODEC_ID_DNXHD)
|
||||
if (track->enc->field_order != AV_FIELD_UNKNOWN)
|
||||
mov_write_fiel_tag(pb, track);
|
||||
|
||||
if (track->enc->sample_aspect_ratio.den && track->enc->sample_aspect_ratio.num &&
|
||||
track->enc->sample_aspect_ratio.den != track->enc->sample_aspect_ratio.num) {
|
||||
|
||||
Reference in New Issue
Block a user