Unlike Xcomposite, the XSHM plugin does not use GLX code, and thus can be used on when EGL renderer is used. It still is X11-specific though, and shouldn't be used on Wayland. Rework the obs_module_load() function of linux-capture to use a switch statement, and load XSHM both on EGL/X11 and GLX/X11. Fixes https://github.com/obsproject/obs-studio/issues/5122 |
||
---|---|---|
.. | ||
data/locale | ||
CMakeLists.txt | ||
README | ||
linux-capture.c | ||
pipewire-capture.c | ||
pipewire-capture.h | ||
pipewire.c | ||
pipewire.h | ||
portal.c | ||
portal.h | ||
xcompcap-helper.cpp | ||
xcompcap-helper.hpp | ||
xcompcap-main.cpp | ||
xcompcap-main.hpp | ||
xcomposite-main.cpp | ||
xcursor-xcb.c | ||
xcursor-xcb.h | ||
xcursor.c | ||
xcursor.h | ||
xhelpers.c | ||
xhelpers.h | ||
xshm-input.c |
README
Linux XShm capture plugin This plugin uses the MIT-SHM extension for the X-server to capture the desktop. Todo: - handle resolution changes of screens - handle adding/removing screens while recording - support different depths Contributing: If you are interested in helping out with the plugin, please drop by in the #obs-dev channel on quakenet. References: - http://www.x.org/releases/current/doc/xextproto/shm.html