[FFmpeg-devel] [PATCH] Implement av_set_options_string()

Stefano Sabatini stefano.sabatini-lala
Wed May 6 00:33:28 CEST 2009


On date Sunday 2009-05-03 11:21:23 +0200, Stefano Sabatini encoded:
> 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.

Patch updated, I'll post the other patch to a separate thread.

Regards.
-- 
FFmpeg = Faithless and Furious Mastering Philosofic Enlightened Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parseutils-implement-set-options.patch
Type: text/x-diff
Size: 5734 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090506/03f9ec43/attachment.patch>



More information about the ffmpeg-devel mailing list