Quote:
Originally Posted by Jawed
I also need to understand how to make arguments for a plug-in optional
|
Simply add the argument name in square brackets in the call to env->AddFunction, and supply a default value when you extract the value using AsInt etc.
For an example, see
http://avisynth.org/mediawiki/Filter...le_sample_1.3a.