aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index ffe1aaaab9..c3b542d358 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -2442,7 +2442,7 @@ void gl_video_set_options(struct gl_video *p, struct gl_video_opts *opts,
if (kernel) {
double radius = kernel->radius;
radius = radius > 0 ? radius : p->opts.scaler_radius[2];
- *queue_size = 50e3 * (ceil(radius) - 1);
+ *queue_size = 50e3 * ceil(radius);
}
}