View Single Post
Old 17th June 2008, 08:20   #3  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by gzarkadas View Post
I see that you had time to test it seriously, congratulations .
It was rather that I had time to think about it clearly enough to realise the problem existed. The test case was then the easy bit.

Quote:
This BTW confirms my speculation in the other thread you mention. Whether local, or global a scheme that depends on setting a single variable will show-up this behavior in such situations.
I think the scheme itself is sound, but currently it has a flaw in its implementation.

Quote:
I don't know if a remedy to this can be applied without incurring serious performance issues; your proposed solution intervenes with the normal way of operation of runtime filters, which is to set the current_frame.
I would expect the performance overhead to be minimal. My fix simply ensures that the effect of assignment to current_frame is localised to the processing of the frame in question. The code already does the same thing with the variable last.
Gavino is offline   Reply With Quote