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
{{ message }}
Repository navigation
libobs: obs_source_skip_video_filter crashes when the filter was removed during render #2160
When a filter is removed from its source, its parent and target are cleared. A filter that calls obs_source_skip_video_filter() from its video_render after that point crashes on a NULL parent. Filters commonly call it when they have nothing to draw: a shader that failed to compile, an effect that is disabled, or a size of 0. The removal can come from the Filters dialog, a script or an obs-websocket RemoveSourceFilter.
obs_source_process_filter_begin() and the other filter helpers already return early when there is no parent or target.
Upstream has the same code. Found while scoping round 7 of the Rust port (R7-1).
Plan
RED: a real-libobs test. A filter is removed from inside its own video_render, then calls obs_source_skip_video_filter(), so the render sees the cleared parent deterministically. Also cover a filter that was never attached.
GREEN: return early when the parent or target is NULL, as the other filter helpers do. Every attached filter draws as before.
Activity
rdoupe commentedon Oct 24, 2026
Claiming: #2160.
libobs: Draw nothing when a filter with no parent skips its video (ob…