1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avformat/tee : Pass standards compliance value to slave muxers as well

This commit is contained in:
Karthick J 2019-01-30 19:00:59 +05:30 committed by Nicolas George
parent 2e2b44baba
commit 789d3b98d1

View File

@ -236,6 +236,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave)
avf2->io_close = avf->io_close; avf2->io_close = avf->io_close;
avf2->interrupt_callback = avf->interrupt_callback; avf2->interrupt_callback = avf->interrupt_callback;
avf2->flags = avf->flags; avf2->flags = avf->flags;
avf2->strict_std_compliance = avf->strict_std_compliance;
tee_slave->stream_map = av_calloc(avf->nb_streams, sizeof(*tee_slave->stream_map)); tee_slave->stream_map = av_calloc(avf->nb_streams, sizeof(*tee_slave->stream_map));
if (!tee_slave->stream_map) { if (!tee_slave->stream_map) {