mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 23:06:18 +00:00
52ab9a72ee
It will be used by Allwinner and Rockchip projects
27 lines
985 B
Diff
27 lines
985 B
Diff
From 1a4b8070ff968a07dc24467922849c1142995e30 Mon Sep 17 00:00:00 2001
|
|
From: popcornmix <popcornmix@gmail.com>
|
|
Date: Tue, 14 Sep 2021 19:14:24 +0100
|
|
Subject: [PATCH] deint_v4l2m2m: increase input and output buffers
|
|
|
|
Required for advanced deinterlacer on pi
|
|
---
|
|
libavfilter/vf_deinterlace_v4l2m2m.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libavfilter/vf_deinterlace_v4l2m2m.c b/libavfilter/vf_deinterlace_v4l2m2m.c
|
|
index a545d551d9ee..0adc96d25435 100644
|
|
--- a/libavfilter/vf_deinterlace_v4l2m2m.c
|
|
+++ b/libavfilter/vf_deinterlace_v4l2m2m.c
|
|
@@ -954,9 +954,9 @@ static av_cold int deint_v4l2m2m_init(AVFilterContext *avctx)
|
|
priv->shared = ctx;
|
|
ctx->fd = -1;
|
|
ctx->output.ctx = ctx;
|
|
- ctx->output.num_buffers = 6;
|
|
+ ctx->output.num_buffers = 8;
|
|
ctx->capture.ctx = ctx;
|
|
- ctx->capture.num_buffers = 6;
|
|
+ ctx->capture.num_buffers = 8;
|
|
ctx->done = 0;
|
|
ctx->field_order = V4L2_FIELD_ANY;
|
|
ctx->cur_in_frame = NULL;
|