[FFmpeg-trac] #4866(documentation:new): Typo on eq at Filters Docmentation

FFmpeg trac at avcodec.org
Sat Sep 19 14:50:03 CEST 2015


#4866: Typo on eq at Filters Docmentation
-------------------------------------+-------------------------------------
             Reporter:  nicol        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  documentation                      |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: Eq filter at contrast default is not 0, but 1.
 How to reproduce:
 {{{
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

 Visit: https://ffmpeg.org/ffmpeg-filters.html#eq

 contrast
 Set the contrast expression. The value must be a float value in range -2.0
 to 2.0. The default value is "0".

 contrast default is not 0, but 1.

 Ref: https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_eq.c#L352
 352 static const AVOption eq_options[] = {
 353     { "contrast",     "set the contrast adjustment, negative values
 give a negative image",
 354         OFFSET(contrast_expr),     AV_OPT_TYPE_STRING, {.str = "1.0"},
 CHAR_MIN, CHAR_MAX, FLAGS },

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4866>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list