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

Stefano Sabatini stefasab at gmail.com
Wed Jul 11 13:21:51 CEST 2012


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;
 } AVFrame;
 
 /**
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list