[FFmpeg-devel] [PATCHv3 1/7] avcodec: add side_data type for updated metadata

Ben Boeckel mathstuf at gmail.com
Mon Oct 28 03:47:29 CET 2013


This type is intended to be used to allow codecs to pass updated
metadata to applications.

Signed-off-by: Ben Boeckel <mathstuf at gmail.com>
---
 libavcodec/avcodec.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b64331d..ee2ba54 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1012,6 +1012,13 @@ enum AVPacketSideDataType {
      * follow the timestamp specifier of a WebVTT cue.
      */
     AV_PKT_DATA_WEBVTT_SETTINGS,
+
+    /**
+     * A list of zero terminated key/value strings. There is no end marker for
+     * the list, so it is required to rely on the side data size to stop. This
+     * side data includes updated metadata which appeared in the stream.
+     */
+    AV_PKT_DATA_METADATA_UPDATE,
 };
 
 /**
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list