aboutsummaryrefslogtreecommitdiff
path: root/include/pipewire_video.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-27 10:30:31 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-27 10:30:31 +0100
commit26e9029579345392f67bdb2fa962b1c5026f77db (patch)
treefcbca2f56f68c27adb42dcd6765dcb5f45bf842e /include/pipewire_video.h
parentcafcda102287a836dde5342a53ddf755487b1ccb (diff)
Pipewire: support 10-bit formats (where alpha is 2 bits, total 32-bits)
Diffstat (limited to 'include/pipewire_video.h')
-rw-r--r--include/pipewire_video.h4
1 files changed, 2 insertions, 2 deletions
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 <spa/param/video/format.h>
#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;