summaryrefslogtreecommitdiff
path: root/libavformat/tee.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-08-23 10:16:59 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-08-23 12:27:09 +0200
commit0be3be9011963adfdb9ad15890dabb558cd36f5a (patch)
tree6b0f449ebadbb2a369db71c05497a520c015b4ef /libavformat/tee.c
parent16a0d75c769a7df6f457b2200dbc9a7cc73798c6 (diff)
downloadffmpeg-0be3be9011963adfdb9ad15890dabb558cd36f5a.tar.gz
lavf/tee: copy metadata to output chained muxers
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r--libavformat/tee.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 71f245e4f1..a50ea799e3 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) {