mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Add other args check
This commit is contained in:
parent
89fe92a8cc
commit
fe8864fcc0
1 changed files with 3 additions and 1 deletions
|
|
@ -191,7 +191,9 @@ const getEncoder = async ({
|
|||
inputs,
|
||||
otherArguments,
|
||||
}) => {
|
||||
if (otherArguments.workerType.includes('gpu')
|
||||
if (
|
||||
otherArguments.workerType
|
||||
&& otherArguments.workerType.includes('gpu')
|
||||
&& inputs.try_use_gpu && (inputs.target_codec === 'hevc' || inputs.target_codec === 'h264')) {
|
||||
const gpuEncoders = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue