[FFmpeg-devel] [PATCH] lavu/eval: add ifzero() and ifnonzero() expression

Nicolas George nicolas.george at normalesup.org
Mon Jan 16 10:43:57 CET 2012


Le sextidi 26 nivôse, an CCXX, Stefano Sabatini a écrit :
> They allow to implement the if/then/else logic, which cannot be
> implemented otherwise.

I am sorry if I am putting my feet on it, but wouldn't it be better, in the
long run and from the user's point of view, to rework the expression parser
to make it understand the standard notations: ==, !=, <, >, <=, >=, ||, &&,
!, ? :, etc.?

(I am currently trying to debug a double free in the automatic buffering of
the filters I proposed. After that and a few loose ends, I do not mind
giving a go at reimplementing the expression parser, if no one else is
interested.)

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list