mirror of https://git.ffmpeg.org/ffmpeg.git
lavc: add PIX_FMT_GBR24P to align_dimensions()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6f5b4ce612
commit
67341f6a77
|
@ -166,6 +166,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int l
|
||||||
case PIX_FMT_YUV444P9BE:
|
case PIX_FMT_YUV444P9BE:
|
||||||
case PIX_FMT_YUV444P10LE:
|
case PIX_FMT_YUV444P10LE:
|
||||||
case PIX_FMT_YUV444P10BE:
|
case PIX_FMT_YUV444P10BE:
|
||||||
|
case PIX_FMT_GBR24P:
|
||||||
w_align= 16; //FIXME check for non mpeg style codecs and use less alignment
|
w_align= 16; //FIXME check for non mpeg style codecs and use less alignment
|
||||||
h_align= 16;
|
h_align= 16;
|
||||||
if(s->codec_id == CODEC_ID_MPEG2VIDEO || s->codec_id == CODEC_ID_MJPEG || s->codec_id == CODEC_ID_AMV || s->codec_id == CODEC_ID_THP || s->codec_id == CODEC_ID_H264 || s->codec_id == CODEC_ID_PRORES)
|
if(s->codec_id == CODEC_ID_MPEG2VIDEO || s->codec_id == CODEC_ID_MJPEG || s->codec_id == CODEC_ID_AMV || s->codec_id == CODEC_ID_THP || s->codec_id == CODEC_ID_H264 || s->codec_id == CODEC_ID_PRORES)
|
||||||
|
|
Loading…
Reference in New Issue