[FFmpeg-cvslog] lavf/tee: copy metadata to output chained muxers
Stefano Sabatini
git at videolan.org
Fri Aug 23 12:28:11 CEST 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Aug 23 10:16:59 2013 +0200| [0be3be9011963adfdb9ad15890dabb558cd36f5a] | committer: Stefano Sabatini
lavf/tee: copy metadata to output chained muxers
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0be3be9011963adfdb9ad15890dabb558cd36f5a
---
libavformat/tee.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 71f245e..a50ea79 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -160,6 +160,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave)
ret = avformat_alloc_output_context2(&avf2, NULL, format, filename);
if (ret < 0)
goto end;
+ av_dict_copy(&avf2->metadata, avf->metadata, 0);
tee_slave->stream_map = av_calloc(avf->nb_streams, sizeof(*tee_slave->stream_map));
if (!tee_slave->stream_map) {
More information about the ffmpeg-cvslog
mailing list