[Freeswitch-svn] [commit] r11137 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Mon Jan 12 09:12:09 PST 2009


Author: anthm
Date: Mon Jan 12 11:12:09 2009
New Revision: 11137

Log:
fix regression from change last week

Modified:
   freeswitch/trunk/src/switch_core_io.c

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Mon Jan 12 11:12:09 2009
@@ -805,7 +805,8 @@
 	}
 
 	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) {



More information about the Freeswitch-svn mailing list