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) --- src/capture/xcomposite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/capture/xcomposite.c') 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; } -- cgit v1.2.3