hamsterstyle
4th December 2013, 01:01
Say I want to create the below function. I only want to activate Extensible wave format = true when the avisynth script I'm creating has 6 channels of audio.
function AutoOpt(clip c) {
c = AudioChannels(c) == 6 ? Eval("""OPT_UseWaveExtensible = true"""):Eval("""OPT_UseWaveExtensible = false""")
}
However this does not work. Any thoughts on how I could make it work?
function AutoOpt(clip c) {
c = AudioChannels(c) == 6 ? Eval("""OPT_UseWaveExtensible = true"""):Eval("""OPT_UseWaveExtensible = false""")
}
However this does not work. Any thoughts on how I could make it work?