mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/hlsenc: copy metadata
Fixes Ticket2296 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c619e14c31
commit
d780fdb904
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue