aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorEloi BAIL <eloi.bail@savoirfairelinux.com>2015-09-15 11:38:23 -0400
committerMartin Storsjö <martin@martin.st>2015-09-16 09:58:12 +0300
commit1ec611a10228945d2ec8a9cf6c5531dee6b7ee56 (patch)
treef6fcfdd4d2bfa826de86f4f29adaaaeddda8d2c9 /libavformat/rtsp.c
parentd555bd69e792e42d94bd909b30d9bfef01db4e25 (diff)
downloadffmpeg-1ec611a10228945d2ec8a9cf6c5531dee6b7ee56.tar.gz
rtsp: warning when max_delay reached
packets are queued due to packet reordering until the queue reach its maximal size or max delay is reached. This commit adds a warning trace when max delay is reached. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 90a6b75e4f..d2c99ea6f0 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2112,6 +2112,8 @@ redo:
}
if (len == AVERROR(EAGAIN) && first_queue_st &&
rt->transport == RTSP_TRANSPORT_RTP) {
+ av_log(s, AV_LOG_WARNING,
+ "max delay reached. need to consume packet\n");
rtsp_st = first_queue_st;
ret = ff_rtp_parse_packet(rtsp_st->transport_priv, pkt, NULL, 0);
goto end;