mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the commit until a proper solution has been found. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
be6ed1bc3c
commit
d0a33bc1c8
@ -0,0 +1,32 @@
|
||||
From d93bee286143789995aa4ef2ffc195eaaff2d635 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Reichl <hias@horus.com>
|
||||
Date: Fri, 29 Oct 2021 12:48:42 +0200
|
||||
Subject: [PATCH] Revert "media: bcm2835-codec: Limit video callbacks"
|
||||
|
||||
This reverts commit f814bfc5f4d3005eb266a1556be8b7b8770629bd.
|
||||
---
|
||||
.../vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
||||
index e8452c82d088..6078d6e2ace0 100644
|
||||
--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
||||
+++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
||||
@@ -2510,14 +2510,6 @@ static int bcm2835_codec_create_component(struct bcm2835_codec_ctx *ctx)
|
||||
MMAL_PARAMETER_VIDEO_STOP_ON_PAR_COLOUR_CHANGE,
|
||||
&enable,
|
||||
sizeof(enable));
|
||||
-
|
||||
- enable = (unsigned int)-5;
|
||||
- vchiq_mmal_port_parameter_set(dev->instance,
|
||||
- &ctx->component->control,
|
||||
- MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS,
|
||||
- &enable,
|
||||
- sizeof(enable));
|
||||
-
|
||||
} else if (dev->role == DEINTERLACE) {
|
||||
/* Select the default deinterlace algorithm. */
|
||||
int half_framerate = 0;
|
||||
--
|
||||
2.30.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user