Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Raento <mika.raento@elisa.fi>2014-09-01 21:05:44 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-09-02 14:31:04 +0400
commit502fc3b3d4b36015562d19d74f27d0a4ff835c4e (patch)
tree08b440ef593613afb7a113628e194c034c97e052 /libavformat/segment.c
parent413fa76f61f2d4a07dd52e5e70385affffa99b42 (diff)
segment: fix copying stream metadata
To get mpegts metadata copied when segmenting. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 98301dd7bc..3ee7d7d206 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;