[FFmpeg-devel] [PATCH] rtsp: Show the received SDP with verbose log level

Martin Storsjö martin
Sun Oct 3 13:57:46 CEST 2010


On Sun, 3 Oct 2010, Ronald S. Bultje wrote:

> On Sun, Oct 3, 2010 at 7:22 AM, Luca Barbato <lu_zero at gentoo.org> wrote:
> > On 10/03/2010 01:10 PM, Martin Storsj? wrote:
> >> Showing the SDP description of the stream is very useful when testing
> >> different things. I guess the main bikeshed question is on which log level
> >> it should be shown. With verbose, it isn't shown by default.
> >>
> >> In the muxer, it is currently shown with loglevel info, but I guess that
> >> could be changed to verbose, too. (And in ffmpeg.c, when using raw rtp
> >> muxers, it is shown unconditionally using printf.)
> >
> > Ok =)
> 
> Definitely OK, any log level is fine as long as it's off by default
> and on with some level.

Ok, applied, and adjusted the muxer SDP dumping to use the same log level.

For ffmpeg.c, it is necessary to show it every time (since it has to be 
transferred out of band to the receiver), so there's no need to adjust it 
or make it consistent with this.

// Martin



More information about the ffmpeg-devel mailing list