aboutsummaryrefslogtreecommitdiff
path: root/src/capture/xcomposite.c
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 /src/capture/xcomposite.c
parentcafcda102287a836dde5342a53ddf755487b1ccb (diff)
Pipewire: support 10-bit formats (where alpha is 2 bits, total 32-bits)
Diffstat (limited to 'src/capture/xcomposite.c')
-rw-r--r--src/capture/xcomposite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/xcomposite.c b/src/capture/xcomposite.c
index d10807e..5cef71d 100644
--- a/src/capture/xcomposite.c
+++ b/src/capture/xcomposite.c
@@ -98,7 +98,7 @@ static int gsr_capture_xcomposite_start(gsr_capture *cap, AVCodecContext *video_
/* Disable vsync */
self->params.egl->eglSwapInterval(self->params.egl->egl_display, 0);
if(window_texture_init(&self->window_texture, self->display, self->window, self->params.egl) != 0 && !self->params.follow_focused) {
- fprintf(stderr, "gsr error: gsr_capture_xcomposite_start: failed to get window texture for window %ld\n", self->window);
+ fprintf(stderr, "gsr error: gsr_capture_xcomposite_start: failed to get window texture for window %ld\n", (long)self->window);
return -1;
}