From: Anthony Minessale Date: Sun, 2 Dec 2012 15:58:33 +0000 (-0600) Subject: revert this, probably not needed X-Git-Tag: v1.3.8~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57a2d59ed6d46feb30584bcb847fccb6709292f6;p=thirdparty%2Ffreeswitch.git revert this, probably not needed --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index bceaf5e743..652ffb11a9 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -3234,7 +3234,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_USE_TIMER)) { if ((switch_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOFLUSH) || switch_test_flag(rtp_session, SWITCH_RTP_FLAG_STICKY_FLUSH)) && - rtp_session->read_pollfd && (!rtp_session->jb || rtp_session->pause_jb)) { + rtp_session->read_pollfd) { if (switch_poll(rtp_session->read_pollfd, 1, &fdr, 0) == SWITCH_STATUS_SUCCESS) { status = read_rtp_packet(rtp_session, &bytes, flags, SWITCH_FALSE); /* switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Initial (%i) %d\n", status, bytes); */