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

Stefano Sabatini stefasab at gmail.com
Thu Jul 12 01:40:19 CEST 2012


On date Wednesday 2012-07-11 13:36:50 +0200, Michael Niedermayer encoded:
> 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

Updated.
-- 
FFmpeg = Fundamentalist and Frenzy Minimal Pacific Evangelical Guide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-add-metadata-to-AVFrame.patch
Type: text/x-diff
Size: 1747 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120712/d9e0ae40/attachment.bin>


More information about the ffmpeg-devel mailing list