[FFmpeg-devel] [PATCH 3/5] metadata: add av_metadata_clone_ctx() function

Michael Niedermayer michaelni
Sun Oct 3 21:54:39 CEST 2010


On Sun, Oct 03, 2010 at 09:14:24PM +0200, Anton Khirnov wrote:
> From: Anton Khirnov <wyskas at gmail.com>
> 
> ---
>  libavformat/avformat.h |    7 +++++++
>  libavformat/metadata.c |   17 +++++++++++++++++
>  2 files changed, 24 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index a9fb39f..ab4cf05 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -214,6 +214,13 @@ int av_metadata_clone(AVMetadata **src, AVMetadata **dst, const AVMetadataConv *
>                        const char *pattern, int flags);
>  
>  /**
> + * Clone all (global, per-stream, per-program, per-chapter) metadata from src to
> + * dst. Parameters have the same meaning as for av_metadata_clone().
> + */
> +void av_metadata_clone_ctx(struct AVFormatContext *src, struct AVFormatContext *dst,
> +                           const AVMetadataConv *dst_fmt, const uint8_t *pattern, int flags);
> +

are there any calls where src!=dst ?
i doubt this function could work in that case because all streams and chapeters
must match 1:1

[..]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101003/a2fac713/attachment.pgp>



More information about the ffmpeg-devel mailing list