Commit dceb8b12 authored by Rens Dijkshoorn's avatar Rens Dijkshoorn Committed by Michael Niedermayer

avformat/movenc: Add 2048x1080 to the aivx case

This improves compatibility of such files with apple tools
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 208c03a4
......@@ -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');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment