vcmohan
26th June 2015, 07:57
Trying to code a transition. Input are 2 clips output 1 clip.
in init section do I create a new node as output using
typedef VSNodeRef *(VS_CC *VSCloneNodeRef)(VSNodeRef *node);
and
d.vi = vsapi->getVideoInfo(d.node);
use
vsapi->setVideoInfo(d->vi, 1, node);
Will I not get a constant vi pointer that prevents me in modifying a value in vi?
Request help with a small example code or a reference to a code in the vapoursynth in Gthub!
in init section do I create a new node as output using
typedef VSNodeRef *(VS_CC *VSCloneNodeRef)(VSNodeRef *node);
and
d.vi = vsapi->getVideoInfo(d.node);
use
vsapi->setVideoInfo(d->vi, 1, node);
Will I not get a constant vi pointer that prevents me in modifying a value in vi?
Request help with a small example code or a reference to a code in the vapoursynth in Gthub!