summaryrefslogtreecommitdiff
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorAndriy Gelman <andriy.gelman@gmail.com>2020-11-26 19:16:52 -0500
committerAndriy Gelman <andriy.gelman@gmail.com>2020-11-28 12:26:59 -0500
commitb0019b909be7a735b09f89207272294008ff2c0c (patch)
treeb46b3c693c1e8539caa5f20d9d51eb98165ed5b3 /libavformat/rtspdec.c
parent66d89a8070e4f3dd730c5b461403c6a071266e8a (diff)
avformat/rtspdec: show method request in log
Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r--libavformat/rtspdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index 28b35d1993..be11576913 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -474,6 +474,7 @@ int ff_rtsp_parse_streaming_commands(AVFormatContext *s)
ret = read_line(s, rbuf, sizeof(rbuf), &rbuflen);
if (ret < 0)
return ret;
+ av_log(s, AV_LOG_TRACE, "Parsing[%d]: %s\n", rbuflen, rbuf);
ret = parse_command_line(s, rbuf, rbuflen, uri, sizeof(uri), method,
sizeof(method), &methodcode);
if (ret) {
@@ -675,6 +676,7 @@ static int rtsp_listen(AVFormatContext *s)
ret = read_line(s, rbuf, sizeof(rbuf), &rbuflen);
if (ret < 0)
goto fail;
+ av_log(s, AV_LOG_TRACE, "Parsing[%d]: %s\n", rbuflen, rbuf);
ret = parse_command_line(s, rbuf, rbuflen, uri, sizeof(uri), method,
sizeof(method), &methodcode);
if (ret) {