Skip to content
Snippets Groups Projects
Commit 50ce2960 authored by Mateusz's avatar Mateusz Committed by Michael Niedermayer
Browse files

swscale: use dithering in DITHER_COPY only if not set -sws_dither none


This patch uses dithering in DITHER_COPY macro only if
it was not used option '-sws_dither none'.
With option '-sws_dither none' it uses downshift.

For human eye dithering is OK, for video codecs not necessarily.
If user don't want to use dithering, we should respect that.

Signed-off-by: default avatarMateusz Brzostek <mateuszb@poczta.onet.pl>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 736a4890
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment