From: George Kiagiadakis Date: Thu, 16 Mar 2017 15:44:41 +0000 (+0200) Subject: rtpsession: print the correct variable in debug statement X-Git-Tag: 1.19.3~509^2~2181 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e65304d5c7715b5ed896af0ba9b048a93971ff5;p=platform%2Fupstream%2Fgstreamer.git 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) --- diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 3418ce5..58de4d5 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;