ffmpeg | branch: master | Mika Raento <mika.rae...@elisa.fi> | Mon Sep 1 20:05:44 2014 +0300| [502fc3b3d4b36015562d19d74f27d0a4ff835c4e] | committer: Michael Niedermayer
segment: fix copying stream metadata To get mpegts metadata copied when segmenting. Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=502fc3b3d4b36015562d19d74f27d0a4ff835c4e --- libavformat/segment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/segment.c b/libavformat/segment.c index 98301dd..3ee7d7d 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -160,6 +160,7 @@ static int segment_mux_init(AVFormatContext *s) ocodec->codec_tag = 0; } st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio; + av_dict_copy(&st->metadata, s->streams[i]->metadata, 0); } return 0; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog