[FFmpeg-devel] [PATCH] lavc: add metadata to AVFrame

Michael Niedermayer michaelni at gmx.at
Wed Jul 11 13:36:50 CEST 2012


On Wed, Jul 11, 2012 at 01:21:51PM +0200, Stefano Sabatini wrote:
> From: Thomas Kühnel <kuehnelth at googlemail.com>
> 
> See thread:
> Subject: [libav-devel] [PATCH 1/3] avcodec: add metadata to AVFrame
> Date: Tue,  4 Oct 2011 00:19:51 +0200
> 
> FIXME: add APIchanges entry and bump minor
> ---
>  libavcodec/avcodec.h |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index c850963..c395784 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -1311,6 +1311,13 @@ typedef struct AVFrame {
>       * - decoding: Read by user.
>       */
>      int64_t pkt_duration;
> +
> +    /**
> +     * Metadata.
> +     * - encoding: Set by user.
> +     * - decoding: Set by libavcodec.
> +     */
> +    AVDictionary *metadata;

a accessor should be added so this can be accessed from outside
libavcodec in a AVFrame ABI independant way

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

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- 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/20120711/03340d3f/attachment.asc>


More information about the ffmpeg-devel mailing list