From f4fa0c0efe023a6d7b5ead42f4f7a2b1a870d63b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 4 Oct 2011 20:17:05 -0500 Subject: [PATCH] OMFG really? I had this right then i comitted it wrong.... --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 434c915d0b..c8a5777c3e 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -3666,7 +3666,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, rtp_session->send_msg.header.ts = htonl(rtp_session->ts); - if ((rtp_session->ts != RTP_TS_RESET && rtp_session->ts > (rtp_session->last_write_ts + (rtp_session->samples_per_interval * 10))) + if ((rtp_session->last_write_ts != RTP_TS_RESET && rtp_session->ts > (rtp_session->last_write_ts + (rtp_session->samples_per_interval * 10))) || rtp_session->ts == rtp_session->samples_per_interval) { m++; }