[FFmpeg-trac] #9192(swscale:open): Command line switch sws_dither doesn't allow "none"

FFmpeg trac at avcodec.org
Sat Mar 26 11:30:17 EET 2022


#9192: Command line switch sws_dither doesn't allow "none"
---------------------------------------+-----------------------------------
             Reporter:  Videogamer555  |                    Owner:  (none)
                 Type:  defect         |                   Status:  open
             Priority:  minor          |                Component:  swscale
              Version:  git-master     |               Resolution:
             Keywords:                 |               Blocked By:
             Blocking:                 |  Reproduced by developer:  0
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------
Comment (by Balling):

 So none always means 0.
 https://github.com/FFmpeg/FFmpeg/blob/fce01276422a0e121d61aec811ee1773f9013b9c/libavutil/opt.c#L300

 So there is no bug. If anything

 ‘none’
         no dithering

 should be removed from documentation because it shadows global variable.
 Zero is good.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9192#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list