fix: добавить поддержку auto для videotoolbox

This commit is contained in:
2026-01-20 14:31:03 +03:00
parent 8575757f81
commit 17748d3900
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -462,7 +462,7 @@ function selectHardwareEncoders(
} {
const warnings: string[] = [];
const supportedForAuto = new Set<HardwareAccelerator>(['nvenc', 'qsv', 'amf']);
const supportedForAuto = new Set<HardwareAccelerator>(['nvenc', 'qsv', 'amf', 'vaapi', 'videotoolbox', 'v4l2']);
const relevant = available.filter(info =>
(needsH264 && info.h264Encoder) || (needsAV1 && info.av1Encoder)
);