From 9653abc3304b93a8e902d5ab35ec5608f6c77739 Mon Sep 17 00:00:00 2001 From: columbarius Date: Thu, 27 May 2021 01:48:44 +0200 Subject: [PATCH] screencast: announce supported buffer type --- 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 b7f8162..000184b 100644 --- a/src/screencast/pipewire_screencast.c +++ b/src/screencast/pipewire_screencast.c @@ -153,7 +153,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(XDPW_PWR_ALIGN)); + SPA_PARAM_BUFFERS_align, SPA_POD_Int(XDPW_PWR_ALIGN), + SPA_PARAM_BUFFERS_dataType,SPA_POD_CHOICE_FLAGS_Int(1<