From bb356439154f814462bbd7bd5acc322771dbc7f9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 12 Jan 2009 17:12:09 +0000 Subject: [PATCH] fix regression from change last week git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11137 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_core_io.c b/src/switch_core_io.c index 973b45bda3..7083de2240 100644 --- a/src/switch_core_io.c +++ b/src/switch_core_io.c @@ -805,7 +805,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess } if (session->write_codec) { - if (write_frame->codec->implementation->decoded_bytes_per_packet == session->write_codec->implementation->decoded_bytes_per_packet) { + if (!ptime_mismatch && + write_frame->codec->implementation->decoded_bytes_per_packet == session->write_codec->implementation->decoded_bytes_per_packet) { perfect = TRUE; } else { if (!session->raw_write_buffer) {