From: Anthony Minessale Date: Wed, 5 Oct 2011 01:17:05 +0000 (-0500) Subject: OMFG really? I had this right then i comitted it wrong.... X-Git-Tag: v1.2-rc1~27^2~374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4fa0c0efe023a6d7b5ead42f4f7a2b1a870d63b;p=thirdparty%2Ffreeswitch.git OMFG really? I had this right then i comitted it wrong.... --- 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++; }