Skip to content

Commit

Permalink
Fix float graining
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 authored Oct 22, 2024
1 parent ad4a13a commit 76c1986
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vsdeband/noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ def _try_grain(src: vs.VideoNode, stre: tuple[float, float] = strength, **args:
if self.neutral_out:
merge_clip = grained.std.MakeDiff(grained)[0].std.Loop(grained.num_frames)
else:
if clip.format.sample_type == vs.FLOAT:
grained = norm_expr(grained, ('x 0.5 -', ''), planes)
merge_clip, grained = clip, clip.std.MergeDiff(grained, planes)

if do_protect_chroma:
Expand Down

0 comments on commit 76c1986

Please sign in to comment.