aboutsummaryrefslogtreecommitdiff
path: root/src/codec_query/vulkan.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-01 18:28:06 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-01 18:28:06 +0200
commit720a4e29196300493815630a2727600153dde329 (patch)
tree762373bc8251c5c235997a5251dfb3e066fc304f /src/codec_query/vulkan.c
parent0eb9ce003d2b2086c708272e321c6dfb2557c8bd (diff)
Support gpus that only support low power encoding mode (Intel Arc A380)
Diffstat (limited to 'src/codec_query/vulkan.c')
-rw-r--r--src/codec_query/vulkan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/codec_query/vulkan.c b/src/codec_query/vulkan.c
index c19c4f7..5e0abe2 100644
--- a/src/codec_query/vulkan.c
+++ b/src/codec_query/vulkan.c
@@ -147,7 +147,8 @@ bool gsr_get_supported_video_codecs_vulkan(gsr_supported_video_codecs *video_cod
free(device_extensions);
return success;
#else
- video_codecs->h264 = true;
+ // TODO: Low power query
+ video_codecs->h264 = (gsr_supported_video_codec){ true, false };
return true;
#endif
}