blob: c7b3c459f670b51b18f2f390ad8f69388cc012ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "codec.h"
const char* ffDetectCodec(FFCodecOptions* options, FFlist* result /*list of FFCodecResult*/) {
if (options->useVulkan) {
#ifdef FF_HAVE_VULKAN
return ffDetectCodecVulkan(options, result);
#else
FF_UNUSED(options, result);
return "Fastfetch was built without Vulkan support";
#endif
}
return ffDetectCodecNative(options, result);
}
|