record-daemon: fix linux builds
record-daemon / Build, check and test (push) Failing after 55s
record-daemon / Build Windows (xwin) (push) Has been skipped

This commit is contained in:
vhaudiquet committed 2026-03-21 13:40:10 +01:00
1 parent fb3a26b961
commit 5121a46533
5 files changed
+154 -20

No files matched your search

-15
View File
@@ -369,11 +369,6 @@ fn is_nvenc_available() -> bool {
|| std::path::Path::new("C:\\Windows\\System32\\nvEncMFTH265.dll").exists()
}
#[cfg(not(target_os = "windows"))]
fn is_nvenc_available() -> bool {
false
}
/// Check if AMD AMF is available.
#[cfg(target_os = "windows")]
fn is_amf_available() -> bool {
@@ -381,11 +376,6 @@ fn is_amf_available() -> bool {
std::path::Path::new("C:\\Windows\\System32\\amdocl64.dll").exists()
}
#[cfg(not(target_os = "windows"))]
fn is_amf_available() -> bool {
false
}
/// Check if Intel QuickSync is available.
#[cfg(target_os = "windows")]
fn is_quicksync_available() -> bool {
@@ -393,11 +383,6 @@ fn is_quicksync_available() -> bool {
std::path::Path::new("C:\\Windows\\System32\\mfx64.dll").exists()
}
#[cfg(not(target_os = "windows"))]
fn is_quicksync_available() -> bool {
false
}
/// Get the best available encoder capability.
pub fn best_available_encoder() -> EncoderCapability {
let capabilities = detect_hardware_encoders();