TCmullet
26th April 2024, 16:41
I have an elaborate function that eventually calls SubTitle(). I haven't used it in ages, but as I was setting it up to use it again, I got the strangest error:
'I don't know what "color_yellow" means.' This is the standard error handler in Avisynth. My code is this line:
ftcolor = defined(ftcolor) ? ftcolor : color_yellow
ftcolor is one of my many input parameters. You can see that I make it optional. It's the reference to color-yellow that is causing Avisynth to bomb. Why is that? It is said that all versions of Avisynth starting with 2.55 include all the color presets.
'I don't know what "color_yellow" means.' This is the standard error handler in Avisynth. My code is this line:
ftcolor = defined(ftcolor) ? ftcolor : color_yellow
ftcolor is one of my many input parameters. You can see that I make it optional. It's the reference to color-yellow that is causing Avisynth to bomb. Why is that? It is said that all versions of Avisynth starting with 2.55 include all the color presets.