From dceb8b12525c8236ffb389bbd9bf04423a570c1a Mon Sep 17 00:00:00 2001 From: Rens Dijkshoorn Date: Sat, 6 Dec 2014 02:20:38 +0100 Subject: [PATCH] avformat/movenc: Add 2048x1080 to the aivx case This improves compatibility of such files with apple tools Signed-off-by: Michael Niedermayer --- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 10e883c923..2321748bf3 100644 --- a/libavformat/movenc.c +++ b/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'); } }