Okay, so back to the old patchset. Here's parch 1/3 with updated version bump.
>From a6cd6e5383a22114ca68ce93cd2ddf80656e3833 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20K=C3=BChnel?= <[email protected]>
Date: Mon, 26 Sep 2011 22:26:13 +0200
Subject: [PATCH 1/3] avcodec: add metadata to AVFrame

---
 doc/APIchanges       |    3 +++
 libavcodec/avcodec.h |    7 +++++++
 libavcodec/version.h |    2 +-
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index bd55cb0..f1dc523 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,9 @@ libavutil:   2011-04-18
 
 API changes, most recent first:
 
+2011-10-xx - xxxxxxx - lavc 53.15.0
+  Add metadata to AVFrame.
+
 2011-10-xx - xxxxxxx - lavf 53.10.0
   Add avformat_new_stream(). Deprecate av_new_stream().
 
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 28dde3f..542364b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1138,6 +1138,13 @@ typedef struct AVFrame {
      * - decoding: Set by libavcodec.
      */
     void *thread_opaque;
+
+    /**
+     * Metadata.
+     * - encoding: Set by user.
+     * - decoding: Set by libavcodec.
+     */
+    AVDictionary *metadata;
 } AVFrame;
 
 /**
diff --git a/libavcodec/version.h b/libavcodec/version.h
index a361bbd..3b54bc5 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -21,7 +21,7 @@
 #define AVCODEC_VERSION_H
 
 #define LIBAVCODEC_VERSION_MAJOR 53
-#define LIBAVCODEC_VERSION_MINOR  14
+#define LIBAVCODEC_VERSION_MINOR  15
 #define LIBAVCODEC_VERSION_MICRO  0
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
-- 
1.7.7

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to