aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-18 16:21:49 +0300
committerMichael Niedermayer <michaelni@gmx.at>2011-05-20 01:44:10 +0200
commit65a4d8e5a78800a4f493fa21c4bb329d31df96ed (patch)
tree9be6b29d4db5223b7e2820c367867ea48a928d0b
parentef409645f06368bcdcedd1b7fe19e25699ae5082 (diff)
downloadffmpeg-65a4d8e5a78800a4f493fa21c4bb329d31df96ed.tar.gz
rtpenc_chain: Pass the MP4A_LATM flag to chained muxers
-rw-r--r--libavformat/rtpenc_chain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c
index bd3d1a875d..faaff097d7 100644
--- a/libavformat/rtpenc_chain.c
+++ b/libavformat/rtpenc_chain.c
@@ -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;