mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-24 05:33:08 +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() {
|
bool ConfigCenter::IsHardwareVideoCodecAvailable() {
|
||||||
#if (((defined(_WIN32) || defined(__linux__)) && !defined(__aarch64__) && \
|
#if defined(_WIN32) || defined(__APPLE__) || \
|
||||||
!defined(__arm__) && USE_CUDA) || \
|
(defined(__linux__) && !defined(__aarch64__) && !defined(__arm__) && USE_CUDA)
|
||||||
defined(__APPLE__))
|
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Vendored
+1
-1
Submodule deps/submodules/minirtc updated: 2e15671370...c1b268f20f
Reference in New Issue
Block a user