mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-10 16:00:28 -07:00
style: fix lint errors
This commit is contained in:
parent
0614a711e8
commit
f1a292e57a
1 changed files with 3 additions and 3 deletions
|
|
@ -217,10 +217,10 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|||
|
||||
if (ffmpegQualityEnabled) {
|
||||
if (encoderProperties.isGpu) {
|
||||
if(encoderProperties.encoder == 'hevc_qsv') {
|
||||
stream.outputArgs.push('-global_quality', ffmpegQuality);
|
||||
if (encoderProperties.encoder == 'hevc_qsv') {
|
||||
stream.outputArgs.push('-global_quality', ffmpegQuality);
|
||||
} else {
|
||||
stream.outputArgs.push('-qp', ffmpegQuality);
|
||||
stream.outputArgs.push('-qp', ffmpegQuality);
|
||||
}
|
||||
} else {
|
||||
stream.outputArgs.push('-crf', ffmpegQuality);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue