Repository navigation
Description
Upstream OBS bug, reported by xurei in obsproject/obs-websocket#1303 (OBS 31.0.3 on Ubuntu, from the PPA and built from git: changing a filter's settings, in the UI or over obs-websocket, never sends SourceFilterSettingsChanged). Tazzlyn confirmed it on Windows with OBS 32.0.2 (the other five filter events work). ruggi99 found the cause and proposed a fix upstream in obsproject/obs-websocket#1346 (open, untested). Still broken in this fork.
Location
plugins/obs-websocket/src/eventhandler/EventHandler.cppSourceUpdatedMultiHandler()is the only place that sendsSourceFilterSettingsChanged(itsOBS_SOURCE_TYPE_FILTERcase). It is connected to the coresource_updatesignal.libobs/obs-source.cobs_source_create_internal()marks every filter private ("Always mark filters as private"), andobs_source_dosignal()inlibobs/obs-internal.hskips the core signals for private sources. Soobs_source_update()on a filter emits the filter's ownupdatesignal but neversource_update, and the filter case above never runs.ConnectSourceSignals()connects each filter'senableandrenamesignals (which is why those events work), but notupdate.
Class
Missing event (no crash). Clients that mirror filter settings (stream deck plugins, remote controls, overlays) never see changes made in OBS or by another client.
How it is reached
- Any change to a filter's settings in the filter's properties in OBS.
- obs-websocket
SetSourceFilterSettings. - Scripts and plugins calling
obs_source_update()on a filter.
Reproduced in the current release
AppImage 33.0.0-beta6-799, driven headless over obs-websocket (subscribed to all non-high-volume events): a Color Source with a Color Correction filter, then SetSourceFilterSettings three times (the new values are applied: GetSourceFilter returns them), then SetSourceFilterEnabled, SetSourceFilterName and SetInputSettings as controls. 2 of 2 runs:
| Change | Event sent |
|---|---|
| filter settings, 3 times | none (SourceFilterSettingsChanged count 0) |
| filter enabled off | SourceFilterEnableStateChanged |
| filter renamed | SourceFilterNameChanged |
| input settings | InputSettingsChanged |
Proposed fix and failing test
Fix (in the obs-rust/obs-websocket fork, then a submodule update here): listen on each filter's own update signal, connected and disconnected with its other signals, as ruggi99 proposed in obsproject/obs-websocket#1346, and drop the unreachable filter case from the core handler so a change can never be reported twice.
RED test (cmocka, test_ws_filter_settings_event). It builds obs-websocket's event handler from the plugin sources against real libobs (frontend calls stubbed) and records the events it sends for a real input with a real filter:
- one filter settings change sends one
SourceFilterSettingsChangedwith the source, filter and new settings; - three changes send three;
- a removed filter sends nothing, and sends again once added back;
- guard: an input settings change sends
InputSettingsChanged, not a filter event.
The first three fail today in both libobs lanes, every run.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
rdoupe commentedon Oct 13, 2026
Claiming: this issue.
test_ws_filter_settings_event(4 cases) builds obs-websocket's event handler against real libobs and changes a real filter's settings: noSourceFilterSettingsChangedis sent, because the handler waits for the coresource_updatesignal, which libobs never fires for filters (they are private). 3 of 4 fail today.updatesignal (obs-rust/obs-websocket fork), and the submodule here moves to it.PR today.
rdoupe commentedon Oct 14, 2026
@xurei you reported this in obsproject/obs-websocket#1303 (changing a filter's settings, in the UI or over obs-websocket, never sends
SourceFilterSettingsChanged), so a heads-up: it's fixed here in obs-rust (obs-rust/obs-websocket#7, moved into OBS with the obs-websocket update in this release).Cause: the event handler waited for the core
source_updatesignal, which libobs never fires for filters. It now listens on each filter's ownupdatesignal, connected and disconnected with the filter's other signals, as ruggi99 proposed in obsproject/obs-websocket#1346. The unreachable filter case in the core handler is gone, so a change can't be reported twice.It's in obs-rust v0.1.0-beta.20261014: https://github.com/obs-rust/obs-studio/releases (Windows, macOS and Linux builds; on Arch it's
obs-studio-rust-gitin the AUR). obs-rust is an AI-assisted fork of OBS.If you get a chance to try it, a reply here on whether your client now gets
SourceFilterSettingsChangedwould really help.test: Cover SourceFilterSettingsChanged for filter changes
test: Cover SourceFilterSettingsChanged for filter changes (obs-rust#747
obs-websocket: Include the screenshot MIME declaration
xurei commentedon Oct 20, 2026
@rdoupe Please do not use my handle in your AI-slop.
I am not involved in any way on this repo, and never will.