rtsp: In the muxer, show the generated with verbose log level
authorMartin Storsjö <martin@martin.st>
Sun, 3 Oct 2010 11:56:38 +0000 (11:56 +0000)
committerMartin Storsjö <martin@martin.st>
Sun, 3 Oct 2010 11:56:38 +0000 (11:56 +0000)
It is only useful for debugging, so it doesn't have to be shown every time.

Originally committed as revision 25323 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 72b0ad2..877b38d 100644 (file)
@@ -1359,7 +1359,7 @@ static int rtsp_setup_output_streams(AVFormatContext *s, const char *addr)
         av_free(sdp);
         return AVERROR_INVALIDDATA;
     }
-    av_log(s, AV_LOG_INFO, "SDP:\n%s\n", sdp);
+    av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", sdp);
     ff_rtsp_send_cmd_with_content(s, "ANNOUNCE", rt->control_uri,
                                   "Content-Type: application/sdp\r\n",
                                   reply, NULL, sdp, strlen(sdp));