[FFmpeg-devel] [PATCHv4 1/7] avcodec: add side_data type for updated metadata
Ben Boeckel
mathstuf at gmail.com
Mon Nov 18 02:36:25 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 90abdb2..b761edf 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1043,6 +1043,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.4.2
More information about the ffmpeg-devel
mailing list