fix: добавить поддержку auto для videotoolbox
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user