Skip to content

Commit

Permalink
Fix an issue where linear light scalers may shift colors
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed May 26, 2024
1 parent 4e7ee72 commit 210a2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vskernels/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def __enter__(self) -> LinearLightProcessing:

self._wclip = cast(ConstantFormatVideoNode, depth(self.clip, 32) if self.sigmoid else self.clip)
self._curve = Transfer.from_video(self.clip)
self._matrix = Matrix.from_transfer(self._curve)
self._matrix = Matrix.from_video(self.clip)
self._resampler = Catrom.ensure_obj(self.resampler)

self._exited = False
Expand Down

0 comments on commit 210a2a2

Please sign in to comment.