Commit d780fdb9 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/hlsenc: copy metadata

Fixes Ticket2296
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c619e14c
...@@ -70,6 +70,7 @@ static int hls_mux_init(AVFormatContext *s) ...@@ -70,6 +70,7 @@ static int hls_mux_init(AVFormatContext *s)
oc->oformat = hls->oformat; oc->oformat = hls->oformat;
oc->interrupt_callback = s->interrupt_callback; oc->interrupt_callback = s->interrupt_callback;
av_dict_copy(&oc->metadata, s->metadata, 0);
for (i = 0; i < s->nb_streams; i++) { for (i = 0; i < s->nb_streams; i++) {
AVStream *st; AVStream *st;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment