Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in code? #2

Closed
andrewbedia opened this issue Jan 11, 2021 · 1 comment
Closed

typo in code? #2

andrewbedia opened this issue Jan 11, 2021 · 1 comment

Comments

@andrewbedia
Copy link

andrewbedia commented Jan 11, 2021

When calling the function as follows in a .vpy, it complains about RGBS not defined on line 134

from vapoursynth import core
import resamplehq as rshq
video = rshq.resample_hq(clip=video,height=960,width=720)

The fix seems to be changing line 1 in resamplehq.py to be
from vapoursynth import core, RGB, RGBH, RGBS

instead of
from vapoursynth import core, RGB, RGBH, RGBH

@4re
Copy link
Owner

4re commented Jan 11, 2021

Oops... indeed. Should be fixed now.

@4re 4re closed this as completed Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants