[FFmpeg-cvslog] avformat/hlsenc: set strict_std_compliance from the parent AVFormatContext
Steven Liu
git at videolan.org
Tue Nov 26 05:32:23 EET 2019
ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Mon Nov 25 11:15:13 2019 +0800| [59d264b0a1218094709d61e30c9056c90859567f] | committer: Steven Liu
avformat/hlsenc: set strict_std_compliance from the parent AVFormatContext
fix ticket: 8388
Reviewed-by: Jan Ekström <jeebjp at gmail.com>
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59d264b0a1218094709d61e30c9056c90859567f
---
libavformat/hlsenc.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 013e91ad88..043438368e 100644
--- a/libavformat/hlsenc.c
+++ b/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) {
More information about the ffmpeg-cvslog
mailing list