mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-22 04:23:06 +08:00
[feat] enable Windows MFT codecs without CUDA
This commit is contained in:
@@ -426,9 +426,8 @@ ConfigCenter::VIDEO_ENCODE_FORMAT ConfigCenter::GetVideoEncodeFormat() const {
|
||||
}
|
||||
|
||||
bool ConfigCenter::IsHardwareVideoCodecAvailable() {
|
||||
#if (((defined(_WIN32) || defined(__linux__)) && !defined(__aarch64__) && \
|
||||
!defined(__arm__) && USE_CUDA) || \
|
||||
defined(__APPLE__))
|
||||
#if defined(_WIN32) || defined(__APPLE__) || \
|
||||
(defined(__linux__) && !defined(__aarch64__) && !defined(__arm__) && USE_CUDA)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
|
||||
Vendored
+1
-1
Submodule deps/submodules/minirtc updated: 2e15671370...c1b268f20f
Reference in New Issue
Block a user