avformat/hlsenc: set strict_std_compliance from the parent AVFormatContext

fix ticket: 8388

Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
Steven Liu 2019-11-25 11:15:13 +08:00
parent d07d1c1dd0
commit 59d264b0a1

View File

@ -782,6 +782,7 @@ static int hls_mux_init(AVFormatContext *s, VariantStream *vs)
oc->opaque = s->opaque; oc->opaque = s->opaque;
oc->io_open = s->io_open; oc->io_open = s->io_open;
oc->io_close = s->io_close; oc->io_close = s->io_close;
oc->strict_std_compliance = s->strict_std_compliance;
av_dict_copy(&oc->metadata, s->metadata, 0); av_dict_copy(&oc->metadata, s->metadata, 0);
if (vs->vtt_oformat) { if (vs->vtt_oformat) {