[FFmpeg-devel] [PATCH] AVFrame ABI compatibility improvments

Michael Niedermayer michaelni at gmx.at
Mon Dec 5 13:34:45 CET 2011


On Sat, Dec 03, 2011 at 09:38:55PM +0100, Michael Niedermayer wrote:
> This patch series makes it possible to access AVFrame fields from
> applications independant of their name & position.
> Normally we would just do this by using AVOptions but AVFrame does
> not have a AVClass at its begin in the fork and my patch to add one
> was ignored.
> If just we add a AVClass all fields would shift their position, which
> would defeat the idea of improving ABI compatibility.
> Which brings us to this patchset which should make it possible for us
> to keep adding fields and merging libavs additions without breaking
> ABI. That is as long as applications use av_opt_ptr() to access the
> fields. Which arguable only makes sense with a shared lib of libavcodec.
> With static lib direct access is all fine ...
> 
> A possible improvment would be to provide a more complete set of read
> write functions instead of just a get the pointer. This is a
> patch welcome and can easily be done later if someone wants.
> Ill apply this patchset within a day or 2 unless there are objections
> 
> We will also need an update to the docs which ill do later if noone else
> does it ...

patchset applied
docs added

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

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111205/20f24835/attachment.asc>


More information about the ffmpeg-devel mailing list