Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling OBS_FRONTEND_EVENT_TRANSITION_CHANGED
When handling frontend events, DispatchJSEvent expects JSON passed as a std::string. An unquoted string is not valid JSON. To get valid JSON, we can build a JSON object like in OBS_FRONTEND_EVENT_SCENE_CHANGED and pass the result of dump() to DispatchJSEvent.
- Loading branch information