Proper DMA-BUF format and modifier negotiation is possible with PipeWire 0.3.40. This commit adds checks for older versions and allows to build against them. These are classified as follows: * PipeWire server older than 0.3.24: Restrict to SHM only * PipeWire server between 0.3.24 (incl.) and 0.3.40: Announce modifiers along with the old method. On failed import drop all modifiers. * PipeWire server 0.3.40 and newer: Announce modifiers along with the old method. On failed import drop only a single modifier. |
||
|---|---|---|
| .. | ||
| data/locale | ||
| CMakeLists.txt | ||
| linux-capture.c | ||
| pipewire-capture.c | ||
| pipewire-capture.h | ||
| pipewire.c | ||
| pipewire.h | ||
| portal.c | ||
| portal.h | ||
| README | ||
| 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 | ||
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