[FFmpeg-devel] [PATCH] lavfi/hue: add process_command callback

Jérémy TRAN tran.jeremy.av at gmail.com
Mon Aug 27 17:33:25 CEST 2012


2012/8/27 Stefano Sabatini <stefasab at gmail.com>:
> This is duplicating code in init. Best thing would be to implement
> "reinit=..." which takes the same arguments as init(), and reuses the
> same code.

Yes you’re right.
But if, for example, the saturation is not set when sending a reinit
command, it will go back to its default value.
Is that fine ? Should we modify the init function or move things in
the config callback and call that function ?

-- 
Jérémy Tran
ACU 2013
EPITA GISTRE 2013


More information about the ffmpeg-devel mailing list