[FFmpeg-devel] [PATCH] movenc: Write 'colr' box correctly for MP4

Michael Niedermayer michaelni at gmx.at
Thu Feb 26 18:02:45 CET 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150226/ce03fa4d/attachment.asc>


More information about the ffmpeg-devel mailing list