rtsp: Show the received SDP
authorMartin Storsjö <martin@martin.st>
Sun, 3 Oct 2010 11:55:16 +0000 (11:55 +0000)
committerMartin Storsjö <martin@martin.st>
Sun, 3 Oct 2010 11:55:16 +0000 (11:55 +0000)
Originally committed as revision 25322 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 5759788..72b0ad2 100644 (file)
@@ -1315,6 +1315,7 @@ static int rtsp_setup_input_streams(AVFormatContext *s, RTSPMessageHeader *reply
         return AVERROR_INVALIDDATA;
     }
 
+    av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", content);
     /* now we got the SDP description, we parse it */
     ret = sdp_parse(s, (const char *)content);
     av_freep(&content);