[FFmpeg-devel] [PATCH] metadata compatibility layer (part2)
Wed Jan 7 01:21:07 CET 2009
Hi attached patch is the second (and final) part of the metadata
compatibility layer. It adds compatibility in the other way around.
When a demuxer read metadata and stores it with av_metadata_set(),
it automatically fill the old API metadata fields, so that a
software using the old API is still able to get metadata from
demuxers using the new API.
It is slightly ugly, especially the AVFormatContext pointer stored
in the AVMetadata struct, but that's the cleanest way I found.
As the struct is not exposed in public API and all of this is
just a temporary transition code, I think it is acceptable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6065 bytes
Desc: not available
More information about the ffmpeg-devel