From d077e00f3eb4d094cb16e099e5bb138458118d54 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 12 Apr 2025 06:24:03 +0000 Subject: [PATCH] vulkan_ffv1: enable acceleration on Intel Fixed by previous commit. --- libavcodec/vulkan_ffv1.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libavcodec/vulkan_ffv1.c b/libavcodec/vulkan_ffv1.c index 17bfc943d4..1156d6749b 100644 --- a/libavcodec/vulkan_ffv1.c +++ b/libavcodec/vulkan_ffv1.c @@ -1142,20 +1142,6 @@ static int vk_decode_ffv1_init(AVCodecContext *avctx) return err; ctx = dec->shared_ctx; - switch (ctx->s.driver_props.driverID) { - case VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS: - case VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA: - if (avctx->strict_std_compliance < FF_COMPLIANCE_UNOFFICIAL) { - av_log(avctx, AV_LOG_ERROR, - "Intel's drivers are unsupported, use -strict -1 to enable acceleration.\n"); - return AVERROR(ENOTSUP); - } else { - av_log(avctx, AV_LOG_WARNING, - "Enabling acceleration on Intel's drivers.\n"); - } - break; - }; - fv = ctx->sd_ctx = av_mallocz(sizeof(*fv)); if (!fv) { err = AVERROR(ENOMEM);