Log in

View Full Version : Avisynth gets stuck in loop when a script calls itself


GodofaGap
26th May 2008, 11:48
Yes, I'm an idiot.

If you have a script called blah.avs which contains the line:

avisource("blah.avs")

and open this in VirtualDub, the script will hang the application. I know that doing this doesn't make any sense, but is it possible to add a check for this so that Avisynth throws an error message instead of hanging the application?

TIA

squid_80
26th May 2008, 13:09
It probably looks like it's hung, but should run out of memory after a while.

GodofaGap
26th May 2008, 17:00
Ah yes, that still takes quite a while though... it's just a suggestion. :)