[FFmpeg-trac] #11663(avfilter:new): lv2 omitted values printed as NaN in help
FFmpeg
trac at avcodec.org
Tue Jul 8 20:50:24 EEST 2025
#11663: lv2 omitted values printed as NaN in help
-------------------------------------+-------------------------------------
Reporter: Dave Flater | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-
| master
Keywords: LV2 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
lilv.h says about the function lilv_plugin_get_port_ranges_float, "If a
port doesn't have a minimum, maximum or default value... the corresponding
array element will be set to NaN."
When the help option is used to print available controls and their valid
ranges, libavfilter/af_lv2.c should omit the fields that contain NaNs,
like lv2info does, rather than outputting the NaNs. When a minimum or
maximum is shown as NaN, it misleadingly suggests that a cursed numerical
comparison with NaN might happen in a range check.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11663>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list