From 00838fe0c34558a9ade2e7002df6a153b526c76e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 Nov 2019 02:22:16 +0100 Subject: 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. --- DOCS/man/options.rst | 2 +- etc/builtin.conf | 1 - video/zimg.c | 1 + 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=`` 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, }, }; -- cgit v1.2.3