ffmpeg | branch: master | Andreas Cadhalpun <[email protected]> | Sun Aug 23 11:53:09 2015 +0200| [1bf76cd2db0aa5c140828e5fea6f34203977ba3a] | committer: Andreas Cadhalpun
rtpenc_chain: also copy AVFMT_FLAG_BITEXACT to new AVFormatContext Otherwise it is impossible to make '-movflags +rtphint' bitexact after FF_API_LAVF_BITEXACT has been disabled. Reviewed-by: Ronald S. Bultje <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1bf76cd2db0aa5c140828e5fea6f34203977ba3a --- libavformat/rtpenc_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c index 74f306e..96e65ef 100644 --- a/libavformat/rtpenc_chain.c +++ b/libavformat/rtpenc_chain.c @@ -58,7 +58,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s, rtpctx->max_delay = s->max_delay; /* Copy other stream parameters. */ rtpctx->streams[0]->sample_aspect_ratio = st->sample_aspect_ratio; - rtpctx->flags |= s->flags & AVFMT_FLAG_MP4A_LATM; + rtpctx->flags |= s->flags & (AVFMT_FLAG_MP4A_LATM | AVFMT_FLAG_BITEXACT); /* Get the payload type from the codec */ if (st->id < RTP_PT_PRIVATE) _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
