avformat/movenc: Add 2048x1080 to the aivx case

This improves compatibility of such files with apple tools

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/101/head
Rens Dijkshoorn 10 years ago committed by Michael Niedermayer
parent 208c03a4d8
commit dceb8b1252
  1. 3
      libavformat/movenc.c

@ -1279,7 +1279,8 @@ static int mov_get_h264_codec_tag(AVFormatContext *s, MOVTrack *track)
else if (rate == 60) tag = MKTAG('a','i','1','6');
}
} else if ( track->enc->width == 4096 && track->enc->height == 2160
|| track->enc->width == 3840 && track->enc->height == 2160) {
|| track->enc->width == 3840 && track->enc->height == 2160
|| track->enc->width == 2048 && track->enc->height == 1080) {
tag = MKTAG('a','i','v','x');
}
}

Loading…
Cancel
Save