From 0e65304d5c7715b5ed896af0ba9b048a93971ff5 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Thu, 16 Mar 2017 17:44:41 +0200 Subject: [PATCH] rtpsession: print the correct variable in debug statement This debug statement is meant to print the time since the last (early) RTCP transmission, not the last regular RTCP transmission (which also happens to be set a few lines above to current_time, so the debug output is just confusing) --- gst/rtpmanager/rtpsession.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 3418ce55a8..58de4d503c 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -4064,7 +4064,7 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time, GST_DEBUG ("Time since last RTCP: %" GST_TIME_FORMAT " - %" GST_TIME_FORMAT " = %" GST_TIME_FORMAT, GST_TIME_ARGS (data.current_time), - GST_TIME_ARGS (sess->last_rtcp_send_time), + GST_TIME_ARGS (sess->last_rtcp_check_time), GST_TIME_ARGS (data.current_time - sess->last_rtcp_check_time)); sess->last_rtcp_check_time = data.current_time; sess->first_rtcp = FALSE;