[FFmpeg-cvslog] avformat/webm_chunk: Copy more information to the child AVFormatContext
Andreas Rheinhardt
git at videolan.org
Thu Mar 26 02:53:55 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sat Feb 29 21:09:29 2020 +0100| [b1b847ba56faa3aedad771b8e5916e0773552536] | committer: Andreas Rheinhardt
avformat/webm_chunk: Copy more information to the child AVFormatContext
In particular the flags are important so that AVFMT_FLAG_BITEXACT can be
honoured by the child muxer.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b1b847ba56faa3aedad771b8e5916e0773552536
---
libavformat/webm_chunk.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index 6daa6a0102..24cabe942e 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -70,6 +70,9 @@ static int chunk_mux_init(AVFormatContext *s)
oc->interrupt_callback = s->interrupt_callback;
oc->max_delay = s->max_delay;
+ oc->flags = s->flags;
+ oc->strict_std_compliance = s->strict_std_compliance;
+
av_dict_copy(&oc->metadata, s->metadata, 0);
*(const AVClass**)oc->priv_data = oc->oformat->priv_class;
More information about the ffmpeg-cvslog
mailing list