[FFmpeg-devel] [RFC] av_set_string() semantics

Michael Niedermayer michaelni
Sat May 24 15:00:40 CEST 2008


On Sat, May 24, 2008 at 12:22:19PM +0200, Stefano Sabatini wrote:
> On date Saturday 2008-05-24 12:00:27 +0200, Stefano Sabatini encoded:
> > Hi all,
> > 
> > Setting a value for an option with av_set_string() for a number or a
> > flag option currently works like this:
> > 
> > * A '+' or '-' at the beginning of the value string cause the
> >   following value to be added to the *default* value for the option,
> 
> Amendment: s/default/current/ here and below.

fixed


[...]

> To be able to modify the current value of an option seems anyway a
> good feature to keep, so we could use a new keyword "current", so that
> for example:
> 
> ffmpeg -foo current+1

read my previous mail please, that about thinking about "use cases" where
something might be usefull first

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080524/5e1a40eb/attachment.pgp>



More information about the ffmpeg-devel mailing list