Thread: Avisynth+
View Single Post
Old 24th June 2019, 15:17   #4741  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 989
Quote:
Originally Posted by pinterf View Post
It worked O.K.
But when I was trying to call it more than once
Code:
InpaintFunc(mask="test.bmp", loc="tl",mode="Deblend",speed=1) 
InpaintFunc(mask="test.bmp", loc="tl",mode="Both",speed=1)
Now it crashes, we are happy now

EDIT: The plugin somehow clears or is overwriting an existing framebuffer pointer?
The crash itself occurs at an internal RGB24-RGB32 conversion but since the destination frame does not exist (zero pointer) it will show "access violation".
I'll have a look at the dll source.
It should crash with one call (InpaintFunc is not meant to work in two instances).

Here I prepared example (should work extracted to "C:"): https://drive.google.com/open?id=1fK...0cezjsVcIL5iHb

Last edited by VoodooFX; 24th June 2019 at 15:20.
VoodooFX is offline