From: Anthony Minessale Date: Mon, 12 Jan 2009 17:12:09 +0000 (+0000) Subject: fix regression from change last week X-Git-Tag: v1.0.3~787 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb356439154f814462bbd7bd5acc322771dbc7f9;p=thirdparty%2Ffreeswitch.git fix regression from change last week git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11137 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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) {