[FFmpeg-devel] [PATCHv2 1/5] avcodec: add side_data type for updated metadata

Ben Boeckel mathstuf at gmail.com
Sat Oct 26 04:18:04 CEST 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 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b64331d..f78475e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1012,6 +1012,12 @@ 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.
+     */
+    AV_PKT_DATA_METADATA_UPDATE,
 };
 
 /**
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list