Skip to content

Commit

Permalink
autodb_dpir: Fix "mode" kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Sep 25, 2024
1 parent a91bfec commit fbafb6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lvsfunc/deblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _eval_db(

kernel = Kernel.ensure_obj(kernel)

vsdpir_final_args = dict[str, Any](mode='deblock', cuda=cuda)
vsdpir_final_args = dict[str, Any](cuda=cuda)
vsdpir_final_args |= vsdpir_args
vsdpir_final_args.pop('strength', None)

Expand Down Expand Up @@ -153,7 +153,7 @@ def _eval_db(
diffprev = core.std.PlaneStats(rgb, rgb[0] + rgb, prop='YPrev')

db_clips = [
dpir(rgb, strength=st, **vsdpir_final_args)
dpir.DEBLOCK(rgb, strength=st, **vsdpir_final_args)
.std.SetFrameProp('Adb_DeblockStrength', intval=int(st)) for st in strs
]

Expand Down

0 comments on commit fbafb6e

Please sign in to comment.