Apply suggestion from @cubic-dev-ai[bot]
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
99c4c4fbd2
commit
c10e4e6f30
1 changed files with 1 additions and 1 deletions
|
|
@ -758,7 +758,7 @@ export async function convert(
|
|||
} else if(has_hwa){
|
||||
// If hardware acceleration is specified but no codec override,
|
||||
// remove from args
|
||||
ffmpegArgs = ffmpegArgs.slice(loc_hwa-1, loc_hwa);
|
||||
ffmpegArgs = ffmpegArgs.filter((_, i) => i !== loc_hwa && i !== loc_hwa + 1);
|
||||
}
|
||||
|
||||
// Debug: print the full ffmpeg command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue