summaryrefslogtreecommitdiffstats
path: root/video/fmt-conversion.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2024-02-24 12:35:51 +0100
committersfan5 <sfan5@live.de>2024-02-26 17:37:20 +0100
commit861e9566f67d31ecc11b204dde094fc693a9f981 (patch)
tree4a737eb2110f1bec546a84bf59a96749171f1426 /video/fmt-conversion.c
parent09f6f28cc2fc39a2407ab2f32c192f6152360fb6 (diff)
downloadmpv-861e9566f67d31ecc11b204dde094fc693a9f981.tar.bz2
mpv-861e9566f67d31ecc11b204dde094fc693a9f981.tar.xz
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.
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r--video/fmt-conversion.c2
1 files changed, 0 insertions, 2 deletions
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}
};