From fa792a91a0bf0006b0710e0f5f448f27139a5445 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 13 Aug 2019 18:42:40 +0200 Subject: [PATCH] fmtconvert: always prefer just 1 buffer --- spa/plugins/audioconvert/fmtconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/audioconvert/fmtconvert.c b/spa/plugins/audioconvert/fmtconvert.c index 0e8061ed4..22b01f8fa 100644 --- a/spa/plugins/audioconvert/fmtconvert.c +++ b/spa/plugins/audioconvert/fmtconvert.c @@ -457,7 +457,7 @@ impl_node_port_enum_params(void *object, int seq, if (other->n_buffers > 0) { param = spa_pod_builder_add_object(&b, SPA_TYPE_OBJECT_ParamBuffers, id, - SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(other->n_buffers, 1, MAX_BUFFERS), + SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(1, 1, MAX_BUFFERS), SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(port->blocks), SPA_PARAM_BUFFERS_size, SPA_POD_Int(other->size / other->stride * port->stride), SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->stride),