obs-scripts
obs-scripts copied to clipboard
Adding two filters of the same type on one source results in OBS freezing
To reproduce this issue add two dropshadow filters on any source.
Also, this issue persists in this case too: if you try to add filter to the scene, that contains a source with a filter of the same type, OBS freezes.
I also tried to investigate myself - creating an empty script, that only defines a filter source doesn't cause this issue. After adding some code to video_render function i was able to reproduce the issue. Furthermore, removing the code from dropshadow's video_render still produced the same issue.
I already saw this myself but sadly I don't know how to fix this issue yet. I think it has something to do with how they implemented the Lua feature because I think I remember I was able to add the same filter multiple times when the filters were still in C.
I see. If I find a way to make this work, I'll commit the changes.