Opened 8 years ago

Closed 8 years ago

#5823 closed defect (fixed)

showspectrumpic filter scale option order is wrong

Reported by: nicol Owned by:
Priority: minor Component: documentation
Version: git-master Keywords: showspectrumpic
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: showspectrumpic filter scale option order is wrong between code and document.
How to reproduce:

% ffmpeg -h filter=showspectrumpic
scale             <int>        ..FV.... set display scale (from 0 to 5) (default log)
   sqrt                         ..FV.... square root
   cbrt                         ..FV.... cubic root
   4thrt                        ..FV.... 4th root
   5thrt                        ..FV.... 5th root
   log                          ..FV.... logarithmic
   lin                          ..FV.... linear

https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic
scale
    ‘lin’
        linear 
    ‘sqrt’
        square root, default 
    ‘cbrt’
        cubic root 
    ‘4thrt’
        4th root 
    ‘5thrt’
        5th root 
    ‘log’
        logarithmic

ffmpeg version N-81550-g443c9fa
built on ... zeranoe

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by Carl Eugen Hoyos, 8 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed

Should be fixed in 70f4b453cba08b2ca1df94715f883c2315deeac6, thank you for the report.
Note that log == 3 (not 5).

Note: See TracTickets for help on using tickets.