From c2883a4e43aca02545151a894503fdb6c7da58c4 Mon Sep 17 00:00:00 2001 From: columbarius Date: Fri, 18 Sep 2020 23:27:12 +0200 Subject: [PATCH] Add pipewire buffers_dataType parameter in pipwire_screencast.c --- src/screencast/pipewire_screencast.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screencast/pipewire_screencast.c b/src/screencast/pipewire_screencast.c index f88af91..3f24e61 100644 --- a/src/screencast/pipewire_screencast.c +++ b/src/screencast/pipewire_screencast.c @@ -119,7 +119,8 @@ static void pwr_handle_stream_param_changed(void *data, uint32_t id, SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1), SPA_PARAM_BUFFERS_size, SPA_POD_Int(cast->simple_frame.size), SPA_PARAM_BUFFERS_stride, SPA_POD_Int(cast->simple_frame.stride), - SPA_PARAM_BUFFERS_align, SPA_POD_Int(ALIGN)); + SPA_PARAM_BUFFERS_align, SPA_POD_Int(ALIGN), + SPA_PARAM_BUFFERS_dataType, SPA_POD_Int((1<