rtpenc_chain: forward strict_std_compliance flags to rtp muxer
authorTristan Matthews <tmatth@videolan.org>
Fri, 22 Feb 2019 20:40:27 +0000 (15:40 -0500)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 23 Feb 2019 21:48:35 +0000 (22:48 +0100)
fixes: https://trac.ffmpeg.org/ticket/6713
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rtpenc_chain.c

index d3c1bc9..e7a4dff 100644 (file)
@@ -59,6 +59,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s,
     /* Copy other stream parameters. */
     rtpctx->streams[0]->sample_aspect_ratio = st->sample_aspect_ratio;
     rtpctx->flags |= s->flags & AVFMT_FLAG_BITEXACT;
+    rtpctx->strict_std_compliance = s->strict_std_compliance;
 
     /* Get the payload type from the codec */
     if (st->id < RTP_PT_PRIVATE)