Skip to content

Commit

Permalink
Correct DitherType range_in behavior
Browse files Browse the repository at this point in the history
Prefer explicit args, fallback to clip props
Closes #163
  • Loading branch information
emotion3459 authored Dec 4, 2024
1 parent 1bc635f commit d33e7b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vstools/functions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def apply(
assert self != DitherType.AUTO, CustomValueError("Cannot apply AUTO.", self.__class__)

fmt = get_video_format(clip)
clip = ColorRange.ensure_presence(clip, range_in)

if not self.is_fmtc:
return clip.resize.Point(
Expand Down

0 comments on commit d33e7b4

Please sign in to comment.