Noticed one last -vf filter check used a colon incorrectly

Changed to a comma which matches all other formatting with the -vf cmd & updated tests
This commit is contained in:
Boosh1 2024-01-26 20:53:55 +00:00
parent f4c02bc997
commit a17ac70d25
2 changed files with 3 additions and 3 deletions

View file

@ -670,7 +670,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
if (inputs.extra_qsv_options.search('-vf scale_qsv') >= 0) {
extraArguments += '-profile:v main10';
// eslint-disable-next-line no-param-reassign
inputs.extra_qsv_options += ':format=p010le'; // Only add on the pixel format to existing scale_qsv cmd
inputs.extra_qsv_options += ',format=p010le'; // Only add on the pixel format to existing scale_qsv cmd
} else {
extraArguments += '-profile:v main10 -vf scale_qsv=format=p010le';
}