Added proper error handling for a failure of ftruncate()
Made a very stupid fix to fix build errors when _FORTIFY_SOURCE > 0. Will work on a proper error handling solution
Added (void) cast to ftruncate() in order to prevent build failures on certain distros
wlrobs is an obs-studio plugin that allows you to screen capture on wlroots based wayland compositors
libwayland-dev
libobs-dev
pkg-config
meson
hg clone https://hg.sr.ht/~scoopta/wlrobs
cd wlrobs
meson setup build
ninja -C build
The screencopy backend can be disabled with the -Duse_scpy=false
meson option, likewise dmabuf can be disabled with -Duse_dmabuf=false
mkdir -p ~/.config/obs-studio/plugins/wlrobs/bin/64bit
cp build/libwlrobs.so ~/.config/obs-studio/plugins/wlrobs/bin/64bit
rm -rf ~/.config/obs-studio/plugins/wlrobs
Please file bug reports at https://todo.sr.ht/~scoopta/wlrobs
Please submit patches to https://lists.sr.ht/~scoopta/wlrobs
You can find documentation here https://man.sr.ht/hg.sr.ht/email.md