diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2020-11-26 23:42:20 +0200 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2020-11-27 00:25:32 +0200 |
commit | 62fb374349e0b13707e12ada5a3410a395c58efa (patch) | |
tree | 6fd93d00f80673f44e25437945c423bdcec5b199 /video/out | |
parent | 59c32a04b04dc42dd17665834a9f2ce35a48eeaf (diff) | |
download | mpv-62fb374349e0b13707e12ada5a3410a395c58efa.tar.bz2 mpv-62fb374349e0b13707e12ada5a3410a395c58efa.tar.xz |
vo_sixel: change default dither to "auto"
For two reasons:
1. It was counter intuitive that there's an "auto" value (which is
actually a libsixel value and not an mpv one), but it's not the
default value - our default was Atkinson.
2. "auto" provides better dithering than Atkinson with libsixel, which
is especially noticeable with smooth gradients - where Atkinson has
visible banding.
In libsixel 1.8.2 the "auto" value maps to Atkinson if the output
palette has up to 16 colors, or to Floyd-Steinberg otherwise (e.g.
using fixed palette with 256 colors chooses Floyd-Steinberg).
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_sixel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_sixel.c b/video/out/vo_sixel.c index dff20f716d..df0c05e139 100644 --- a/video/out/vo_sixel.c +++ b/video/out/vo_sixel.c @@ -470,7 +470,7 @@ const struct vo_driver video_out_sixel = { .uninit = uninit, .priv_size = sizeof(struct priv), .priv_defaults = &(const struct priv) { - .opt_diffuse = DIFFUSE_ATKINSON, + .opt_diffuse = DIFFUSE_AUTO, .opt_width = 0, .opt_height = 0, .opt_reqcolors = 256, |