[FFmpeg-devel] [PATCH] Implement av_set_options_string()
Stefano Sabatini
stefano.sabatini-lala
Sun May 3 11:21:23 CEST 2009
On date Friday 2009-05-01 20:02:40 +0200, Stefano Sabatini encoded:
> On date Saturday 2009-04-25 23:11:40 +0200, Stefano Sabatini encoded:
> > Hi, as in subject.
> >
> > The result of the test is:
> >
> > [test @ 0xbfaf32a0]Setting options string ''
> >
> > [test @ 0xbfaf32a0]Setting options string 'foo='
> > [test @ 0xbfaf32a0]Setting value '' for key 'foo'
> > [test @ 0xbfaf32a0]Unknown option key 'foo'
> > [test @ 0xbfaf32a0]Error setting options string: 'foo='
> >
> > [test @ 0xbfaf32a0]Setting options string 'foo'
> > [test @ 0xbfaf32a0]No key or key/value separator found after key
> > [test @ 0xbfaf32a0]Error setting options string: 'foo'
> >
> > [test @ 0xbfaf32a0]Setting options string 'foo=val'
> > [test @ 0xbfaf32a0]Setting value 'val' for key 'foo'
> > [test @ 0xbfaf32a0]Unknown option key 'foo'
> > [test @ 0xbfaf32a0]Error setting options string: 'foo=val'
> >
> > [test @ 0xbfaf32a0]Setting options string 'toggle=1:foo'
> > [test @ 0xbfaf32a0]Setting value '1' for key 'toggle'
> > [test @ 0xbfaf32a0]No key or key/value separator found after key
> > [test @ 0xbfaf32a0]Error setting options string: 'toggle=1:foo'
> >
> > [test @ 0xbfaf32a0]Setting options string 'toggle=100'
> > [test @ 0xbfaf32a0]Setting value '100' for key 'toggle'
> > Value 100.000000 for parameter 'toggle' out of range
> > [test @ 0xbfaf32a0]Invalid value '100' for key 'toggle'
> > [test @ 0xbfaf32a0]Error setting options string: 'toggle=100'
> >
> > [test @ 0xbfaf32a0]Setting options string 'flags=+mu-lame:num=42:toggle=0'
> > [test @ 0xbfaf32a0]Setting value '+mu-lame' for key 'flags'
> > [test @ 0xbfaf32a0]Setting value '42' for key 'num'
> > [test @ 0xbfaf32a0]Setting value '0' for key 'toggle'
> >
> > [test @ 0xbfaf32a0]Setting options string 'num=42:string=blahblah'
> > [test @ 0xbfaf32a0]Setting value '42' for key 'num'
> > [test @ 0xbfaf32a0]Setting value 'blahblah' for key 'string'
> >
> > [test @ 0xbfaf32a0]Setting options string 'num=42:string=blahblah'
> > [test @ 0xbfaf32a0]Setting value '42' for key 'num'
> > [test @ 0xbfaf32a0]Setting value 'blahblah' for key 'string'
>
> Patch updated, AV_DEFINE_CLASS patch included for convenience.
Ping.
--
FFmpeg = Friendly and Faboulous Mystic Philosofic Elaborated Gadget
More information about the ffmpeg-devel
mailing list