mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 18:22:42 -08:00
refactor(core): normalize service naming across app runtime
This commit is contained in:
@@ -62,10 +62,7 @@ export class MediaGenerator {
|
||||
fs.unlinkSync(filePath);
|
||||
}
|
||||
} catch (err) {
|
||||
log.debug(
|
||||
`Failed to clean up ${filePath}:`,
|
||||
(err as Error).message,
|
||||
);
|
||||
log.debug(`Failed to clean up ${filePath}:`, (err as Error).message);
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
@@ -374,12 +371,7 @@ export class MediaGenerator {
|
||||
"8",
|
||||
);
|
||||
} else if (av1Encoder === "libsvtav1") {
|
||||
encoderArgs.push(
|
||||
"-crf",
|
||||
clampedCrf.toString(),
|
||||
"-preset",
|
||||
"8",
|
||||
);
|
||||
encoderArgs.push("-crf", clampedCrf.toString(), "-preset", "8");
|
||||
} else {
|
||||
// librav1e
|
||||
encoderArgs.push("-qp", clampedCrf.toString(), "-speed", "8");
|
||||
|
||||
Reference in New Issue
Block a user