From 861e9566f67d31ecc11b204dde094fc693a9f981 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 24 Feb 2024 12:35:51 +0100 Subject: video: don't define IMGFMT_VULKAN conditionally We generally try to avoid that due to the #ifdef mess. The equivalent format is defined in ffmpeg 4.4 while our interop code requires a higher version, but that doesn't cause any problems. --- video/fmt-conversion.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/fmt-conversion.c') diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index aa7d857341..39dead4600 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -66,9 +66,7 @@ static const struct { {IMGFMT_CUDA, AV_PIX_FMT_CUDA}, {IMGFMT_P010, AV_PIX_FMT_P010}, {IMGFMT_DRMPRIME, AV_PIX_FMT_DRM_PRIME}, -#if HAVE_VULKAN_INTEROP {IMGFMT_VULKAN, AV_PIX_FMT_VULKAN}, -#endif {0, AV_PIX_FMT_NONE} }; -- cgit v1.2.3