Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6880 closed defect (fixed)

Expression 'max' for thickness in drawbox filter can lead to parse error

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

Description

At present, the value name max for maximum thickness in drawbox (and drawgrid) filter leads to a parse error if the thickness expression contains the max() eval function i.e.

    [Eval @ ...] Invalid chars '(20,30)' at the end of expression 'max(20,30)'

Other functions, like min(), work fine.

Patch at https://patchwork.ffmpeg.org/patch/6223/ renames value to fill.

Change History (2)

comment:1 by llogan, 6 years ago

Resolution: fixed
Status: newclosed

Fixed by you in b3cb9bd43fa33a8aaf7a63e43f8418975b3bf0de. Thanks for the patch.

comment:2 by Carl Eugen Hoyos, 6 years ago

Keywords: drawbox added
Note: See TracTickets for help on using tickets.