Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2013-11-18 05:36:25 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-11-20 19:48:51 +0400
commit1e506a2cc586935b9548870295dcbd680422e180 (patch)
treebc7e691daa12e167182ea4f101eab9fe02aac689
parentddaf543aa663374d645210b970a4297e2ce6db14 (diff)
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@gmail.com> Reviewed-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 48114d988b..5239bd76f9 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,
};
/**