Thread: Avisynth+
View Single Post
Old 9th November 2017, 00:28   #3717  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
Quote:
Originally Posted by poisondeathray View Post
Don't use "return" , just call the variable directly

eg.

Code:
source = whateversource()
A = source().filter1()
B = source().filter2()

#source
A
#B
prefetch(5)
If you wanted "B" , comment out "A" and uncomment out B. If you wanted "source" - same idea, uncomment out source, comment out A and B
I just learned something: I thought I had to use "return." I need to re-read the AVISynth doc. Thanks!
johnmeyer is offline