You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem with a lot of these effects is that they use a buffer of the frame that's stored in the plugin instance. So if multiple frames were to be rendered at the same time they would all be using the same buffer and it would lead to the issues. I think these functions could be made thread safe rather easily by allocating and freeing the buffer within the f0r_update function instead of f0r_construct/destruct so that each thread would have it's own buffer.
But some of the more animated like effects (for example vertigo) I think would be extremely difficult to make thread safe since the operations done to each frame depend on the operations done to the previous frame. I don't think it would be possible to render multiple frames at once with vertigo because to work correctly the frames must be rendered sequentially and in order.
Some frei0r filters are not thread safe, a non-exhaustive list of them is provided by this issue mltframework/mlt#274 and pasted below:
We need to:
The text was updated successfully, but these errors were encountered: