summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-17 21:53:42 +0200
committerwm4 <wm4@nowhere>2014-04-17 21:53:42 +0200
commit491f5bc9acf46cc9f7ed8d478e4f4f85924d35d1 (patch)
tree8009fe3fd8ace14bdb366d8593b1d9d1cb94e897
parent9dba2a52db2adb42e7c1a292625bd0114ce81969 (diff)
downloadmpv-491f5bc9acf46cc9f7ed8d478e4f4f85924d35d1.tar.bz2
mpv-491f5bc9acf46cc9f7ed8d478e4f4f85924d35d1.tar.xz
vo_opengl: make spline36 default with --vo=opengl-hq
-rw-r--r--DOCS/man/en/vo.rst6
-rw-r--r--video/out/gl_video.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst
index 9a342acb68..c7209859e2 100644
--- a/DOCS/man/en/vo.rst
+++ b/DOCS/man/en/vo.rst
@@ -260,11 +260,13 @@ Available video output drivers are:
``lanczos2``
Lanczos scaling with radius=2. Provides good quality and speed.
- This is the default when using ``opengl-hq``.
``lanczos3``
Lanczos with radius=3.
+ ``spline36``
+ This is the default when using ``opengl-hq``.
+
``bicubic_fast``
Bicubic filter. Has a blurring effect on the image, even if no
scaling is done.
@@ -516,7 +518,7 @@ Available video output drivers are:
This is equivalent to::
- --vo=opengl:lscale=lanczos2:dither-depth=auto:fbo-format=rgb16
+ --vo=opengl:lscale=spline36:dither-depth=auto:fbo-format=rgb16
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 0866474d27..49f83a0971 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -292,7 +292,7 @@ const struct gl_video_opts gl_video_opts_hq_def = {
.dither_size = 6,
.fbo_format = GL_RGBA16,
.scale_sep = 1,
- .scalers = { "lanczos2", "bilinear" },
+ .scalers = { "spline36", "bilinear" },
.scaler_params = {NAN, NAN},
.alpha_mode = 2,
};