Revert "linux-capture: Fix Ubuntu 21.10 builds"

This reverts commit 0532a5c1f0.

Ubuntu 21.10 is from OBS 28 onwards not longer supported and as such we
can raise the requirement of the PipeWire dependency to 0.3.33.
master
columbarius 2022-08-03 19:36:10 +02:00 committed by Georges Basile Stavracas Neto
parent a1e8075fba
commit 76e9c64f41
2 changed files with 1 additions and 5 deletions

View File

@ -6,7 +6,7 @@ if(NOT ENABLE_PIPEWIRE)
return()
endif()
find_package(PipeWire 0.3.32 REQUIRED)
find_package(PipeWire 0.3.33 REQUIRED)
find_package(Gio QUIET)
find_package(Libdrm QUIET) # we require libdrm/drm_fourcc.h to build

View File

@ -36,10 +36,6 @@
#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 CURSOR_META_SIZE(width, height) \
(sizeof(struct spa_meta_cursor) + sizeof(struct spa_meta_bitmap) + \
width * height * 4)