From 65a4d8e5a78800a4f493fa21c4bb329d31df96ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 18 May 2011 16:21:49 +0300 Subject: [PATCH] rtpenc_chain: Pass the MP4A_LATM flag to chained muxers --- libavformat/rtpenc_chain.c | 1 + 1 file changed, 1 insertion(+) 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;