summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-03-21 22:17:02 +0100
committerNiklas Haas <git@nand.wakku.to>2015-03-25 22:40:19 +0100
commita67494e86b7261f59a3a6a3f3e6b1fe0a257bf4f (patch)
treef5aa207261a6dc1376a5463038ce65b0706f7c4f
parent62d3c953679b2dc32e47d9f81b9f877eb1a5c804 (diff)
downloadmpv-a67494e86b7261f59a3a6a3f3e6b1fe0a257bf4f.tar.bz2
mpv-a67494e86b7261f59a3a6a3f3e6b1fe0a257bf4f.tar.xz
vo_opengl: set cscale=spline36 as default for opengl-hq
Bilinear scaling is not a suitable default for something named "hq"; the whole reason this was done in the past was because cscale used to be obscenely slow. This is no longer the case, with cscale being nearly free.
-rw-r--r--DOCS/man/vo.rst2
-rw-r--r--video/out/gl_video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index b9b774fd44..7cc0adac31 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -685,7 +685,7 @@ Available video output drivers are:
This is equivalent to::
- --vo=opengl:scale=spline36:scale-down=mitchell:dither-depth=auto:fbo-format=rgba16:fancy-downscaling:sigmoid-upscaling
+ --vo=opengl:scale=spline36:cscale=spline36scale-down=mitchell:dither-depth=auto:fbo-format=rgba16:fancy-downscaling:sigmoid-upscaling
Note that some cheaper LCDs do dithering that gravely interferes with
``opengl``'s dithering. Disabling dithering with ``dither-depth=no`` helps.
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 3837da82ad..5c21ba2a6b 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -343,7 +343,7 @@ const struct gl_video_opts gl_video_opts_hq_def = {
.sigmoid_center = 0.75,
.sigmoid_slope = 6.5,
.sigmoid_upscaling = 1,
- .scalers = { "spline36", "bilinear", "oversample" },
+ .scalers = { "spline36", "spline36", "oversample" },
.dscaler = "mitchell",
.scaler_params = {{NAN, NAN}, {NAN, NAN}, {NAN, NAN}},
.scaler_radius = {3, 3, 3},