Copy link to clipboard
Copied
Hi everyone,
I have a very weird issue with one of my plugins. I wrote it several years ago and it was working pretty well until now.
It seems to be a caching problem. It sometimes skips frames.
First I thought I was returning bad data to AE, or whatsoever... But after digging a bit more, I've found that on these frames, AE doesn't send any call to the plugin at all!
To make sure, I've set a break point at the very first line of the EntryPointFunc(). It seems to happen mostly after Ram previewing, and then trying to go to the frame right after the last one rendered.
Did anyone ever hit such an issue?
For info, here are my out_flags:
out_data->out_flags |= PF_OutFlag_I_DO_DIALOG | PF_OutFlag_WIDE_TIME_INPUT;
out_data->out_flags2 = PF_OutFlag2_SUPPORTS_QUERY_DYNAMIC_FLAGS | PF_OutFlag2_I_USE_3D_CAMERA;
Any idea?
Cheers,
François
1 Correct answer
OK, for future generations, I'll answer my own question 🙂
No cmd was sent cos' I wasn't returning the good PF_Err during previous frames rendering. I was returning Interrupt_CANCEL instead of OUT_OF_MEMORY.
Somehow, previous versions of AE could deal with it, not anymore (probably the UI / Render thread separation).
François
Copy link to clipboard
Copied
OK, for future generations, I'll answer my own question 🙂
No cmd was sent cos' I wasn't returning the good PF_Err during previous frames rendering. I was returning Interrupt_CANCEL instead of OUT_OF_MEMORY.
Somehow, previous versions of AE could deal with it, not anymore (probably the UI / Render thread separation).
François

