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>
pull/333/head
Steven Liu 5 years ago
parent d07d1c1dd0
commit 59d264b0a1
  1. 13
      libavformat/hlsenc.c

@ -776,12 +776,13 @@ static int hls_mux_init(AVFormatContext *s, VariantStream *vs)
if (!oc->url)
return AVERROR(ENOMEM);
oc->oformat = vs->oformat;
oc->interrupt_callback = s->interrupt_callback;
oc->max_delay = s->max_delay;
oc->opaque = s->opaque;
oc->io_open = s->io_open;
oc->io_close = s->io_close;
oc->oformat = vs->oformat;
oc->interrupt_callback = s->interrupt_callback;
oc->max_delay = s->max_delay;
oc->opaque = s->opaque;
oc->io_open = s->io_open;
oc->io_close = s->io_close;
oc->strict_std_compliance = s->strict_std_compliance;
av_dict_copy(&oc->metadata, s->metadata, 0);
if (vs->vtt_oformat) {

Loading…
Cancel
Save