Support gpus that only support low power encoding mode (Intel Arc A380)

This commit is contained in:
dec05eba
2024-10-01 18:28:06 +02:00
parent 0eb9ce003d
commit 720a4e2919
5 changed files with 114 additions and 80 deletions

View File

@@ -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
}