View Single Post
Old 19th July 2011, 11:54   #12  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by Youka View Post
It's mysterious that for every frame in avisynth the same context has to be make the current again.
Revisiting this, it occurs to me that the reason you are seeing this could be multithreading. The OpenGL context is specific to a single thread, but depending on your encoder (or if using a MT version of Avisynth), GetFrame() may be called from a different thread than the constructor.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote