[FFmpeg-devel] [PATCH 6/6] movenchint: Use rtpenc_chain for setting up the chained RTP muxer

Martin Storsjö martin
Thu Feb 3 16:03:48 CET 2011

On Thu, 3 Feb 2011, Ronald S. Bultje wrote:

> On Thu, Feb 3, 2011 at 7:10 AM, Martin Storsj? <martin at martin.st> wrote:
> > ---
> > ?libavformat/Makefile ? ? | ? ?3 ++-
> > ?libavformat/movenchint.c | ? 35 +++--------------------------------
> > ?2 files changed, 5 insertions(+), 33 deletions(-)
> What happens if libavformat is compiled with --disable-network?

The RTP muxer in itself doesn't depend on --enable-network, since it 
doesn't touch anything networky, only the RTP protocol does that. (And for 
these cases, the RTP muxer uses a dynamic buffer as output instead of an 
rtp:// handle.)

If the RTP muxer is disabled, the RTP hinting fails gracefully with a 
message "Unable to initialize hinting of stream 0", and the mov muxer 
proceeds with muxing without RTP hinting.

This is the way it has worked since the beginning, this patch just changes 
it to share more code with the other chained RTP muxer users.

// Martin

More information about the ffmpeg-devel mailing list