obs-scripts icon indicating copy to clipboard operation
obs-scripts copied to clipboard

Adding two filters of the same type on one source results in OBS freezing

Open an40us opened this issue 6 years ago • 3 comments

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.

an40us avatar Nov 20 '18 14:11 an40us

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.

an40us avatar Nov 20 '18 14:11 an40us

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.

WiiPlayer2 avatar Nov 20 '18 15:11 WiiPlayer2

I see. If I find a way to make this work, I'll commit the changes.

an40us avatar Nov 20 '18 16:11 an40us