[FFmpeg-devel] avformat/hlsenc: set strict_std_compliance from the parent AVFormatContext

Submitted by Steven Liu on Nov. 20, 2019, 9:25 a.m.

Details

Message ID 20191120092543.5071-1-lq@chinaffmpeg.org
State New
Headers show

Commit Message

Steven Liu Nov. 20, 2019, 9:25 a.m.
fix ticket: 8388

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 libavformat/hlsenc.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 013e91ad88..24c102f570 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -782,6 +782,7 @@  static int hls_mux_init(AVFormatContext *s, VariantStream *vs)
     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) {