[FFmpeg-trac] #6880(avfilter:new): Expression 'max' for thickness in drawbox filter can lead to parse error

FFmpeg trac at avcodec.org
Tue Nov 28 13:25:21 EET 2017


#6880: Expression 'max' for thickness in drawbox filter can lead to parse error
----------------------------------+--------------------------------------
             Reporter:  Gyan      |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avfilter  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 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`.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6880>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list