[FFmpeg-devel] [PATCH 3/3] Metadata demuxer.

Baptiste Coudurier baptiste.coudurier
Wed Dec 15 21:02:54 CET 2010


Hi,

On 12/15/2010 04:15 AM, Anton Khirnov wrote:
> ---
>   doc/general.texi         |    2 +-
>   libavcodec/avcodec.h     |    1 +
>   libavformat/Makefile     |    1 +
>   libavformat/allformats.c |    2 +-
>   libavformat/metadec.c    |  173 ++++++++++++++++++++++++++++++++++++++++++++++
>   5 files changed, 177 insertions(+), 2 deletions(-)
>   create mode 100644 libavformat/metadec.c
>
> diff --git a/doc/general.texi b/doc/general.texi
> index 410b8fa..582920c 100644
> --- a/doc/general.texi
> +++ b/doc/general.texi
> @@ -118,7 +118,7 @@ library:
>       @tab VR native stream format, used by Leitch/Harris' video servers.
>   @item Matroska                  @tab X @tab X
>   @item Matroska audio            @tab X @tab
> - at item FFmpeg metadata           @tab X @tab
> + at item FFmpeg metadata           @tab X @tab X
>       @tab Metadata in text format.
>   @item MAXIS XA                  @tab   @tab X
>       @tab Used in Sim City 3000; file extension .xa.
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index ecfc28b..7feaba1 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -406,6 +406,7 @@ enum CodecID {
>
>       CODEC_ID_MPEG2TS= 0x20000, /**<  _FAKE_ codec to indicate a raw MPEG-2 TS
>                                   * stream (only used by libavformat) */
> +    CODEC_ID_META=0x21000,   ///<  Dummy codec for streams containing only metadata information.

CODEC_ID_METADATA seems more appropriate to me.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list