summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-02 02:22:16 +0100
committerwm4 <wm4@nowhere>2019-11-02 02:22:16 +0100
commit00838fe0c34558a9ade2e7002df6a153b526c76e (patch)
tree4fb4680683d6f7827aedec42233b1a36a2d070ad
parentc9d685f5d6a69a8fc3fa495ec79c8997f646e531 (diff)
downloadmpv-00838fe0c34558a9ade2e7002df6a153b526c76e.tar.bz2
mpv-00838fe0c34558a9ade2e7002df6a153b526c76e.tar.xz
zimg: make --zimg-fast=yes default
This is mostly just because of the odd RGB default gamma issue, which shouldn't have any real impact. This also sets allow_approximate_gamma, which I hope is fine for normal use cases.
-rw-r--r--DOCS/man/options.rst2
-rw-r--r--etc/builtin.conf1
-rw-r--r--video/zimg.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index e18e6492b0..8ef81c642d 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3889,7 +3889,7 @@ Software Scaler
``--zimg-fast=<yes|no>``
Allow optimizations that help with performance, but reduce quality (default:
- no). Currently, this may simplify gamma conversion operations.
+ yes). Currently, this may simplify gamma conversion operations.
Audio Resampler
diff --git a/etc/builtin.conf b/etc/builtin.conf
index f00f5e3515..574d342f21 100644
--- a/etc/builtin.conf
+++ b/etc/builtin.conf
@@ -69,7 +69,6 @@ sws-fast=yes
sws-allow-zimg=yes
zimg-scaler=bilinear
zimg-dither=no
-zimg-fast=yes
# Compatibility alias (deprecated)
[opengl-hq]
diff --git a/video/zimg.c b/video/zimg.c
index 0d057e06f3..7010630e7a 100644
--- a/video/zimg.c
+++ b/video/zimg.c
@@ -64,6 +64,7 @@ const struct m_sub_options zimg_conf = {
.scaler_chroma_params = {NAN, NAN},
.scaler_chroma = ZIMG_RESIZE_BILINEAR,
.dither = ZIMG_DITHER_RANDOM,
+ .fast = 1,
},
};