Skip to content

Commit

Permalink
scripts/vsmlrt.py: fix format conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Apr 13, 2023
1 parent b4f9a70 commit 668058b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/vsmlrt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.15.21"
__version__ = "3.15.22"

__all__ = [
"Backend", "BackendV2",
Expand Down Expand Up @@ -1693,7 +1693,7 @@ def fmtc_resample(clip: vs.VideoNode, **kwargs) -> vs.VideoNode:
clip_org = clip

if clip.format.sample_type == vs.FLOAT and clip.format.bits_per_sample != 32:
format = clip.format.replace(core, bits_per_sample=32)
format = clip.format.replace(core=core, bits_per_sample=32)
clip = core.resize.Point(clip, format=format)

clip = core.fmtc.resample(clip, **kwargs)
Expand Down

0 comments on commit 668058b

Please sign in to comment.