Skip to content

Commit

Permalink
Fix Threadlevel parameter on NNEDI3.
Browse files Browse the repository at this point in the history
Signed-off-by: jpsdr <jpsdr.psx@free.fr>
  • Loading branch information
jpsdr committed Apr 28, 2020
1 parent b08bdd7 commit 2ecbee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnedi3/nnedi3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3902,7 +3902,7 @@ AVSValue __cdecl Create_nnedi3(AVSValue args, void* user_data, IScriptEnvironmen
const bool MaxPhysCores=args[15].AsBool(true);
const bool SetAffinity=args[16].AsBool(false);
int prefetch = args[19].AsInt(0);
int thread_level=args[20].AsInt(6);
int thread_level=args[21].AsInt(6);

if ((threads<0) || (threads>MAX_MT_THREADS))
env->ThrowError("nnedi3: [threads] must be between 0 and %ld.",MAX_MT_THREADS);
Expand Down

0 comments on commit 2ecbee7

Please sign in to comment.