diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index 8c9aa40bfa..5194221d50 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -53,6 +53,10 @@ static const struct { {IMGFMT_RGBA64, AV_PIX_FMT_RGBA64}, +#ifdef AV_PIX_FMT_X2RGB10 + {IMGFMT_RGB30, AV_PIX_FMT_X2RGB10}, +#endif + {IMGFMT_VDPAU, AV_PIX_FMT_VDPAU}, {IMGFMT_VIDEOTOOLBOX, AV_PIX_FMT_VIDEOTOOLBOX}, {IMGFMT_MEDIACODEC, AV_PIX_FMT_MEDIACODEC},