-
Notifications
You must be signed in to change notification settings - Fork 3k
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
vf_vapoursynth: copy side data (Dolby Vision, etc) from the source frame #12593
base: master
Are you sure you want to change the base?
Conversation
any chance? |
Better to manually @sfan5 @Dudemanguy . |
{ | ||
VSMap *map = p->vsapi->getFramePropsRW(frame); | ||
if (!map) | ||
return -1; | ||
p->vsapi->propSetInt(map, "_DurationNum", dur_num, 0); | ||
p->vsapi->propSetInt(map, "_DurationDen", dur_den, 0); | ||
p->vsapi->propSetInt(map, "__frameno", frameno, 0); | ||
if(img->dovi && img->dovi->size) | ||
p->vsapi->propSetData(map,"_DoVi", img->dovi->data, img->dovi->size, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code style
FYI, After merge of #13458 |
Fixing #10438.
Continue from 10884, now copying everything and using existing function.
2nd commit is about passing DoVi data into Vapoursynth, so the script could take care in some way (which is required for any interpolation filter, for example).