Opened 9 years ago

Closed 9 years ago

#4332 closed defect (fixed)

Expression 'max' no longer works with t option in drawbox

Reported by: llogan Owned by:
Priority: important Component: avfilter
Version: git-master Keywords: drawbox regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Using example from drawbox docs:

ffplay -f lavfi -i testsrc -vf "drawbox=x=10:y=10:w=100:h=100:color=pink@0.5:t=max"
ffplay version N-70237-g5634ca6 Copyright (c) 2003-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC) 20141224 (prerelease)
  configuration: --disable-doc
  libavutil      54. 19.100 / 54. 19.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 23.105 / 56. 23.105
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.101 /  5. 11.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
Input #0, lavfi, from 'testsrc':   0KB vq=    0KB sq=    0B f=0/0   
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[Parsed_drawbox_0 @ 0x7fb688003780] [Eval @ 0x7fb68dffa780] Undefined constant or missing '(' in 'max'
    Last message repeated 5 times
[Parsed_drawbox_0 @ 0x7fb688003780] Error when evaluating the expression 'max'.
[Parsed_drawbox_0 @ 0x7fb688003780] Failed to configure input pad on Parsed_drawbox_0

The same command seems to work until 84f571e37f074724393b152843cd94e4f9a10100.

Spotted by user "FredFloete".

Change History (1)

comment:1 by Michael Niedermayer, 9 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.