[FFmpeg-cvslog] avcodec: add side_data type for updated metadata

Ben Boeckel git at videolan.org
Wed Nov 20 17:41:35 CET 2013


ffmpeg | branch: master | Ben Boeckel <mathstuf at gmail.com> | Sun Nov 17 20:36:25 2013 -0500| [1e506a2cc586935b9548870295dcbd680422e180] | committer: Michael Niedermayer

avcodec: add side_data type for updated metadata

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>
Reviewed-by: wm4
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e506a2cc586935b9548870295dcbd680422e180
---

 libavcodec/avcodec.h |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 48114d9..5239bd7 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1044,6 +1044,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,
 };
 
 /**



More information about the ffmpeg-cvslog mailing list