diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 7c0a246446..7ff387faf4 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -239,6 +239,13 @@ static int update_size(AVCodecContext *avctx, int w, int h) case AV_PIX_FMT_YUV444P12: #if CONFIG_VP9_VAAPI_HWACCEL *fmtp++ = AV_PIX_FMT_VAAPI; +#endif + break; + case AV_PIX_FMT_GBRP: + case AV_PIX_FMT_GBRP10: + case AV_PIX_FMT_GBRP12: +#if CONFIG_VP9_VAAPI_HWACCEL + *fmtp++ = AV_PIX_FMT_VAAPI; #endif break; }