diff mbox

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

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

Commit Message

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

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

Patch

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) {