avformat/movenc: write pasp atom even if sar.num == sar.den

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/210/merge
Paul B Mahol 8 years ago
parent 6d9a46e884
commit 88d79dbd16
  1. 3
      libavformat/movenc.c

@ -1837,8 +1837,7 @@ static int mov_write_video_tag(AVIOContext *pb, MOVMuxContext *mov, MOVTrack *tr
av_log(mov->fc, AV_LOG_WARNING, "Not writing 'colr' atom. Format is not MOV or MP4.\n");
}
if (track->par->sample_aspect_ratio.den && track->par->sample_aspect_ratio.num &&
track->par->sample_aspect_ratio.den != track->par->sample_aspect_ratio.num) {
if (track->par->sample_aspect_ratio.den && track->par->sample_aspect_ratio.num) {
mov_write_pasp_tag(pb, track);
}

Loading…
Cancel
Save