View Single Post
Old 21st September 2012, 12:33   #12  |  Link
sscheidegger
Registered User
 
Join Date: Sep 2012
Posts: 14
Thanks a lot for the advice! I had tried to add the functions and invoke the graph in the constructor of BasicPlugin before. This approach failed because at that point the information about the OFX src clip is not available yet.
After your hint I realized that I can also do those things once in BasicPlugin but outside the constructor and it works very well. The memory leak is gone!

I was also wondering if I need AvisynthPluginInit2() in my case. I think I'll leave it away.

Unfortunately I already have the next memory leak. I'm trying to use the mvtools plugin. I am invoking the mvtools functions only once, but when rendering the memory of the process is again growing a lot. If anyone is familiar with mvtools and has an idea what could be the reason, I'd be happy to learn.

Thank you very much for all the help!!!
sscheidegger is offline   Reply With Quote