Marin85
6th August 2012, 01:04
Hi,
I have the following basic problem understanding some of the avisynth syntax. I have a function, say,
myfunction(clip c, string "a", int "b") {
c.someotherfunction(x=a,y=b)
}
where someotherfunction is some other function defined accordingly and all that works just fine. My problem starts when I try to use return scriptclip instead, e.g.
myfunction(clip c, string "a", int "b") {
c.
some stuff
return scriptclip("someotherfunction(some other stuff,x=a,y=b)",after_frame=true)
}
then someotherfunction no longer seems to take the input from the myfunction arguments. My question is thus: why is this and how can it be done properly? I hope I have described my problem more or less clearly in its generality.
I have the following basic problem understanding some of the avisynth syntax. I have a function, say,
myfunction(clip c, string "a", int "b") {
c.someotherfunction(x=a,y=b)
}
where someotherfunction is some other function defined accordingly and all that works just fine. My problem starts when I try to use return scriptclip instead, e.g.
myfunction(clip c, string "a", int "b") {
c.
some stuff
return scriptclip("someotherfunction(some other stuff,x=a,y=b)",after_frame=true)
}
then someotherfunction no longer seems to take the input from the myfunction arguments. My question is thus: why is this and how can it be done properly? I hope I have described my problem more or less clearly in its generality.