From ef3ad9a96eddefd18b0fd5131e6d7a188ad790d3 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Fri, 20 Apr 2018 10:12:29 +0200 Subject: [PATCH] context: Increase the number of pre-allocated buffers Signed-off-by: Maxime Ripard --- src/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.h b/src/context.h index 8ff4661..550c9db 100644 --- a/src/context.h +++ b/src/context.h @@ -34,7 +34,7 @@ * Indeed, the queue might be busy processing a previous buffer, so we need to * pre-allocate a set of buffers with a max size */ #define INPUT_BUFFER_MAX_SIZE 131072 -#define INPUT_BUFFERS_NB 4 +#define INPUT_BUFFERS_NB 6 #define CONTEXT(id) ((object_context_p) object_heap_lookup(&driver_data->context_heap, id)) #define CONTEXT_ID_OFFSET 0x02000000