1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/liboapvenc: remove 4:4:4 support until it's properly handled

liboapv will seemingly encode correct 4:4:4 output, but report profile_idc 33, which
is specifically the profile value for 4:2:2 10bit.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2025-05-07 21:40:08 -03:00
parent 1b643e3f65
commit 244ad944e9

View File

@ -105,9 +105,6 @@ static inline int get_color_format(enum AVPixelFormat pix_fmt)
case AV_PIX_FMT_YUV422P10:
cf = OAPV_CF_YCBCR422;
break;
case AV_PIX_FMT_YUV444P10:
cf = OAPV_CF_YCBCR444;
break;
default:
av_assert0(cf != OAPV_CF_UNKNOWN);
}
@ -434,7 +431,6 @@ static av_cold int liboapve_close(AVCodecContext *avctx)
static const enum AVPixelFormat supported_pixel_formats[] = {
AV_PIX_FMT_YUV422P10,
AV_PIX_FMT_YUV444P10,
AV_PIX_FMT_NONE
};