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>
This commit is contained in:
Rens Dijkshoorn 2014-12-06 02:20:38 +01:00 committed by Michael Niedermayer
parent 208c03a4d8
commit dceb8b1252
1 changed files with 2 additions and 1 deletions

View File

@ -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');
}
}