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

wm4 nfxjfg at googlemail.com
Mon Oct 28 19:52:04 CET 2013


On Sun, 27 Oct 2013 22:47:29 -0400
Ben Boeckel <mathstuf at gmail.com> wrote:

> 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,
>  };
>  
>  /**

Looks ok.

Probably requires an entry in doc/APIchanges too?


More information about the ffmpeg-devel mailing list