[FFmpeg-cvslog] rtsp: warning when max_delay reached
Eloi BAIL
git at videolan.org
Wed Sep 16 14:12:07 CEST 2015
ffmpeg | branch: master | Eloi BAIL <eloi.bail at savoirfairelinux.com> | Tue Sep 15 11:38:23 2015 -0400| [1ec611a10228945d2ec8a9cf6c5531dee6b7ee56] | committer: Martin Storsjö
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 at savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ec611a10228945d2ec8a9cf6c5531dee6b7ee56
---
libavformat/rtsp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 90a6b75..d2c99ea 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;
More information about the ffmpeg-cvslog
mailing list