From edc100eee0c9b9d5c4a17bf5c05197e2143c5c81 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 21 Jan 2015 23:08:41 +0100 Subject: vo_opengl: make the default radius 3.0 and simplify scaler documentation This also fixes the maximum range to 16.0, which was previously set to 32.0 and incorrectly documented as 8.0. 16 taps should be more than anybody will ever need, but it's the highest radius that's supported by all affected filters. --- video/out/filter_kernels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/filter_kernels.c') diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c index d983e9318f..f2c97b4bde 100644 --- a/video/out/filter_kernels.c +++ b/video/out/filter_kernels.c @@ -57,7 +57,7 @@ bool mp_init_filter(struct filter_kernel *filter, const int *sizes, double inv_scale) { if (filter->radius < 0) - filter->radius = 2.0; + filter->radius = 3.0; // polar filters can be of any radius, and nothing special is needed if (filter->polar) { filter->size = filter->radius; -- cgit v1.2.3