On Thu, Feb 26, 2015 at 04:13:10PM +0000, Derek Buitenhuis wrote: > On 2/26/2015 4:10 PM, Clément Bœsch wrote: > > Yes, it will return an error and abort the operation. Be it done on the > > command line or via the API. So said differently it won't work anymore. > > I do wonder what the point of the whole AVOption API is then, if we can't > break it any more than a struct.
just of the top of my head, i can think of: AVOptions allows listing the available options, like for automatically building a list of available options in a GUI it allows changing the type int->int64, int->double it stores default value, min and max allows access to substructures, one can in some cases move a field to s substructure one could dump and load settings of a struct in a generic way not needing to update the code after fields get added [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel