[FFmpeg-devel] [PATCH] segment: copy metadata

Stefano Sabatini stefasab at gmail.com
Mon Mar 18 22:26:21 CET 2013


On date Monday 2013-03-18 19:08:19 +0100, Michael Niedermayer encoded:
> Fixes Ticket2230
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavformat/segment.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/segment.c b/libavformat/segment.c
> index 124a09f..dbcfe89 100644
> --- a/libavformat/segment.c
> +++ b/libavformat/segment.c
> @@ -129,6 +129,7 @@ static int segment_mux_init(AVFormatContext *s)
>  
>      oc->oformat            = seg->oformat;
>      oc->interrupt_callback = s->interrupt_callback;
> +    av_dict_copy(&oc->metadata, s->metadata, 0);

LGTM if works, and thanks.
-- 
FFmpeg = Faithless & Fast Monstrous Power Elastic Geisha


More information about the ffmpeg-devel mailing list