1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-26 22:16:21 +02:00

rtpenc_chain: forward strict_std_compliance flags to rtp muxer

fixes: https://trac.ffmpeg.org/ticket/6713
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Tristan Matthews 2019-02-22 15:40:27 -05:00 committed by Michael Niedermayer
parent 37e4c226c0
commit 00f54c15f4

View 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)