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)
- Checkbox icons, instead of collapse/expand icons on macro groups HOT 2
- Source Index Range sets end value to start value when saved HOT 1
- [Feature request] Disable/enable entire group of macros
- [Feature request] Add some Twitch chat tags as temp vars
- OBS Forum Page minimum Version is outdated HOT 1
- Sending custom input fails in certain applications HOT 4
- [FEATURE REQUEST]: QUEUE PAUSE & RESUME HOT 3
- buildnumber file is a problem for Debian (Salsa) HOT 2
- Version 1.25.5 not building on x86 HOT 4
- "[Notification System] action" have the text rows out of place HOT 2
- Scene Switcher freezes with some triggers or actions HOT 2
- OBS Crashes after creating an action HOT 1
- Changing the focus window suddenly broke with "Windows default lockscreen" being the captured window all the time HOT 1
- Manage Broadcast HOT 1
- [Bug] Lag in OBS when plugin window is open HOT 4
- 1.26.0 64bit version of the plugin is not loaded by obs 30.1.2 on windows HOT 12
- 1.26.1 Update breaks volume conditions HOT 4
- [Feature request] Colored status on dock. HOT 2
- Number of changes of variable tooltip got removed
- Process empty when I have WezTerm window focused HOT 2
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.