Opened 9 years ago
Closed 9 years ago
#4866 closed defect (fixed)
Typo on eq at Filters Docmentation
Reported by: | nicol | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | documentation |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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 },
Fixed in b798593ca52616773702685fbb4dcb2aae46eaac. Thanks for the report.