summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo_sixel.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/video/out/vo_sixel.c b/video/out/vo_sixel.c
index a1fb04bd59..dff20f716d 100644
--- a/video/out/vo_sixel.c
+++ b/video/out/vo_sixel.c
@@ -140,15 +140,15 @@ static SIXELSTATUS prepare_static_palette(struct vo* vo)
{
struct priv* priv = vo->priv;
- if (priv->dither) {
- sixel_dither_set_body_only(priv->dither, 1);
- } else {
+ if (!priv->dither) {
priv->dither = sixel_dither_get(BUILTIN_XTERM256);
if (priv->dither == NULL)
return SIXEL_FALSE;
sixel_dither_set_diffusion_type(priv->dither, priv->opt_diffuse);
}
+
+ sixel_dither_set_body_only(priv->dither, 0);
return SIXEL_OK;
}
@@ -180,12 +180,11 @@ static SIXELSTATUS prepare_dynamic_palette(struct vo *vo)
sixel_dither_set_diffusion_type(priv->dither, priv->opt_diffuse);
} else {
- if (priv->dither == NULL) {
+ if (priv->dither == NULL)
return SIXEL_FALSE;
- }
- sixel_dither_set_body_only(priv->dither, 1);
}
+ sixel_dither_set_body_only(priv->dither, 0);
return status;
}