Opened 11 months ago

#11663 new defect

lv2 omitted values printed as NaN in help

Reported by: Dave Flater Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: LV2
Cc: Dave Flater Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.