Commit b1b847ba authored by Andreas Rheinhardt's avatar 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: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 2a789688
...@@ -70,6 +70,9 @@ static int chunk_mux_init(AVFormatContext *s) ...@@ -70,6 +70,9 @@ static int chunk_mux_init(AVFormatContext *s)
oc->interrupt_callback = s->interrupt_callback; oc->interrupt_callback = s->interrupt_callback;
oc->max_delay = s->max_delay; 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); av_dict_copy(&oc->metadata, s->metadata, 0);
*(const AVClass**)oc->priv_data = oc->oformat->priv_class; *(const AVClass**)oc->priv_data = oc->oformat->priv_class;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment