[FFmpeg-devel] [PATCH 02/18] vulkan_ffv1: enable acceleration on Intel

Lynne dev at lynne.ee
Sat Apr 12 10:22:33 EEST 2025


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);
-- 
2.47.2


More information about the ffmpeg-devel mailing list