Comments (2)
I am sorry, I accidentally clicked finish too soon.
(Let me just mention I have no experience with CMake nor OBS Plugin dev)
Regardless, as it turns out your Linux version of the plugin has the problem that you forgot to close the XDisplay in your getCursorPos function in advanced-scene-switcher-nix.cpp crashing OBS after some time with a segfault and the error "Maximum number of clients reached".
I was not able to test that properly as that your build system appears to be fairly broken on Linux as well, eventhough I managed to get it to compile properly by finding the QT package, getting the OBS-Studio source and using its headers and CMake Helpers and changing the libobs to just obs which the library is called on my system, when I moved the .so into the plugin folder nothing showed up although it had when I had used the precompiled bins.
from sceneswitcher.
No worries and thanks for letting me know about the issues!
I added "XCloseDisplay(dpy);" in the cursor position check to avoid the segfault.
I am very inexperienced with CMake as well so any suggestions are welcome. I am building OBS when I building the plugin. I moved the sources of this plugin to the the frontend-plugins folder in the OBS sources ("obs-studio/UI/frontend-plugins/SceneSwitcher"). I then edited the CMakeLists.txt in the frontend-plugins folder to include the SceneSwitcher sources directory by adding the line "add_subdirectory(SceneSwitcher)". So the final file looks like this:
add_subdirectory(frontend-tools)
add_subdirectory(SceneSwitcher)
Then I switch back to my OSB build directory and call make. (after previously calling cmake)
from sceneswitcher.
Related Issues (20)
- Not showing up in OBS Tools (WIndows 64 bit) HOT 5
- Copying macro with Source Set settings action doesn't copy setting name HOT 2
- QT 6 error after OBS update HOT 5
- Support bigger numbers for variable actions etc. HOT 2
- this issue possibly be due to a bug in the recent OBS updates? HOT 1
- Suggestion : Macro action to print to log HOT 1
- Relative time formatting for last used (and incoming last changed) variable columns HOT 1
- Regarding macos builds for 1.25.0 HOT 2
- Crash when open plugin in obs HOT 6
- Selecting Virtual Camera in Macro crashes OBS 30.0.2 HOT 3
- output volume check in the "Audio" condition HOT 3
- "Macro already exists" error if you rename group to the same name as some macro HOT 1
- Add macro option to autostop actions when its condition is met before it finishes HOT 1
- Possibility to use separate custom timers for macros
- Send Websocket message to OBS Browser Source HOT 2
- Bug - 'Set to environment variable value' with wrong variable crashes OBS HOT 2
- Cannot build neither under Clang 17.0.6 nor GCC 13.2.0 HOT 8
- [Bug] The queue system runs disabled actions. HOT 2
- [Bug] Stopping a queue within a queue's execution causes OBS to crash. HOT 2
- Toggle 24-hour and 12-hour Time input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sceneswitcher.