Signed-off-by: jack <ffm...@jack.fr.eu.org> --- libavformat/hlsenc.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a9fa5d8..77712d0 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -624,6 +624,11 @@ static int hls_start(AVFormatContext *s) err = avformat_write_header(vtt_oc,NULL); if (err < 0) return err; + } else { + HLSContext *hls = s->priv_data; + av_dict_copy(&options, hls->format_options, 0); + avformat_write_header(hls->avf, &options); + av_dict_free(&options); } return 0; -- 2.8.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel