diff --git a/vsexprtools/exprop.py b/vsexprtools/exprop.py index b734704..a6f52fc 100644 --- a/vsexprtools/exprop.py +++ b/vsexprtools/exprop.py @@ -61,10 +61,10 @@ def get_value(self, clip: vs.VideoNode, chroma: bool = False, range_in: ColorRan if self is ExprToken.RangeDiff: if get_sample_type(clip) is vs.FLOAT: return 0.0 - return get_neutral_value(clip, chroma) + return get_neutral_value(clip) if self is ExprToken.RangeHalf: - return get_neutral_value(clip, chroma) + return get_neutral_value(clip) if self is ExprToken.RangeSize: return (val := get_peak_value(clip)) + (1 - (val <= 1.0))