mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
linux-capture: Fix Ubuntu 21.10 builds
Ubuntu 21.10 provides PipeWire 0.3.32 which is missing the `SPA_POD_PROP_FLAG_DONT_FIXATE` required for proper DMA-BUF negotiation. Since this isn't implemented in the DE's of this Ubuntu version just defining this flag won't have any impact. Revert after support for Ubuntu 21.10 ended.
This commit is contained in:
parent
13693bd199
commit
0532a5c1f0
@ -46,7 +46,7 @@ set(linux-capture_LIBRARIES
|
||||
|
||||
option(ENABLE_PIPEWIRE "Enable PipeWire support" ON)
|
||||
if(ENABLE_PIPEWIRE)
|
||||
find_package(PipeWire 0.3.33 QUIET)
|
||||
find_package(PipeWire 0.3.32 QUIET)
|
||||
find_package(Libdrm QUIET) # we require libdrm/drm_fourcc.h to build
|
||||
find_package(Gio QUIET)
|
||||
|
||||
|
@ -38,6 +38,10 @@
|
||||
#include <spa/param/video/type-info.h>
|
||||
#include <spa/utils/result.h>
|
||||
|
||||
#ifndef SPA_POD_PROP_FLAG_DONT_FIXATE
|
||||
#define SPA_POD_PROP_FLAG_DONT_FIXATE (1 << 4)
|
||||
#endif
|
||||
|
||||
#define REQUEST_PATH "/org/freedesktop/portal/desktop/request/%s/obs%u"
|
||||
#define SESSION_PATH "/org/freedesktop/portal/desktop/session/%s/obs%u"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user