[FFmpeg-devel] [PATCH] opt: implement av_opt_set_from_string().

Stefano Sabatini stefasab at gmail.com
Sun Sep 9 12:35:11 CEST 2012


On date Sunday 2012-09-02 11:52:13 +0200, Stefano Sabatini encoded:
[...]
> > I think so, but I would like some outside advice. Maybe look at the current
> > code of parse_key_value_pair, and try to guess in advance where various
> > cases of invalid input will fail and the error message that will result: if
> > you get it wrong, then the code is probably too complicated :)
> 
> I'm no good at doing that. What I do in these cases is to write a test
> which covers most sane and pathological cases, and check how it
> behaves. Again, if you don't want to do that I can adopt the patch and
> work on it myself.

Ping, there are several features which are currently blocked by this.
-- 
FFmpeg = Frenzy & Forgiving Miracolous Philosophical Erotic Glue


More information about the ffmpeg-devel mailing list