rtpenc_chain: Pass the MP4A_LATM flag to chained muxers

This commit is contained in:
Martin Storsjö 2011-05-18 16:21:49 +03:00 committed by Michael Niedermayer
parent ef409645f0
commit 65a4d8e5a7

View File

@ -48,6 +48,7 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
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;
/* Set the synchronized start time. */
rtpctx->start_time_realtime = s->start_time_realtime;