On Mon, Oct 26, 2015 at 09:56:37PM +0100, Nicolas George wrote:
> Le quintidi 5 brumaire, an CCXXIV, Clement Boesch a écrit :
> > > Note: While I am touching the options code, I have this crazy idea about
> > > replacing AV_OPT_TYPE_* that would allow to get out of escaping hell
> > > completely. I will not have time to act on it soon, but if someone wants 
> > > to
> > > hear about it...
> > What escaping are you talking about?
> 
> All the levels of backslashes you have to put before delimiters. For
> example, if you want to put a two minutes duration in a filter graph
> description, you can not write "testsrc=d=2:00", because the colon will
> delimit the option. You have to write a largish number of backslashes in
> front of the colon. It becomes ever worse when nesting values: think of
> colons inside the localtime expansion inside the text option of the drawtext
> filter.
> 
> I believe we could avoid that almost entirely.
> 

Oh. Wasn't "testsrc=d='2:00'" supposed to work, just like comma & friends
in eval inside filters options?

-- 
Clément B.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to