Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-02-29 23:09:29 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-26 03:52:10 +0300
commitb1b847ba56faa3aedad771b8e5916e0773552536 (patch)
tree1dceee3d237069a4f35b090529a7cf4579186ffd /libavformat/webm_chunk.c
parent2a789688498b0715e4804ae2b7e36bee0cd65a63 (diff)
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@gmail.com>
Diffstat (limited to 'libavformat/webm_chunk.c')
-rw-r--r--libavformat/webm_chunk.c3
1 files changed, 3 insertions, 0 deletions
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;