From 26e9029579345392f67bdb2fa962b1c5026f77db Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 27 Jan 2025 10:30:31 +0100 Subject: Pipewire: support 10-bit formats (where alpha is 2 bits, total 32-bits) --- include/pipewire_video.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/pipewire_video.h') diff --git a/include/pipewire_video.h b/include/pipewire_video.h index 00e2835..92622b8 100644 --- a/include/pipewire_video.h +++ b/include/pipewire_video.h @@ -9,7 +9,7 @@ #include #define GSR_PIPEWIRE_VIDEO_MAX_MODIFIERS 1024 -#define GSR_PIPEWIRE_VIDEO_NUM_VIDEO_FORMATS 6 +#define GSR_PIPEWIRE_VIDEO_MAX_VIDEO_FORMATS 12 #define GSR_PIPEWIRE_VIDEO_DMABUF_MAX_PLANES 4 typedef struct gsr_egl gsr_egl; @@ -82,7 +82,7 @@ typedef struct { uint32_t width, height; } crop; - gsr_video_format supported_video_formats[GSR_PIPEWIRE_VIDEO_NUM_VIDEO_FORMATS]; + gsr_video_format supported_video_formats[GSR_PIPEWIRE_VIDEO_MAX_VIDEO_FORMATS]; gsr_pipewire_video_data_version server_version; gsr_pipewire_video_video_info video_info; -- cgit v1.2.3