Skip to content

Commit d45d9fd

Browse files
popcornmixpelwell
authored andcommitted
Revert "media: bcm2835-codec: Limit video callbacks"
This reverts commit f814bfc. The commit caused media stalls with kodi and stateful v4l2 video decode. John is now using a different way of limiting latency through stateful v4l2 so this is not required.
1 parent a4f1ad4 commit d45d9fd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2536,14 +2536,6 @@ static int bcm2835_codec_create_component(struct bcm2835_codec_ctx *ctx)
25362536
MMAL_PARAMETER_VIDEO_STOP_ON_PAR_COLOUR_CHANGE,
25372537
&enable,
25382538
sizeof(enable));
2539-
2540-
enable = (unsigned int)-5;
2541-
vchiq_mmal_port_parameter_set(dev->instance,
2542-
&ctx->component->control,
2543-
MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS,
2544-
&enable,
2545-
sizeof(enable));
2546-
25472539
} else if (dev->role == DEINTERLACE) {
25482540
/* Select the default deinterlace algorithm. */
25492541
int half_framerate = 0;

0 commit comments

Comments
 (0)