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

FreeSWITCH SVN anthm at freeswitch.org
Thu Jan 22 10:40:53 PST 2009


Author: anthm
Date: Thu Jan 22 12:40:53 2009
New Revision: 11366

Log:
fix for fix that broke the other fix

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	Thu Jan 22 12:40:53 2009
@@ -616,7 +616,7 @@
 	
 
 	if ((session->write_codec && frame->codec && session->write_codec->implementation != frame->codec->implementation)) {
-		if (session->write_impl.codec_id != frame->codec->implementation->codec_id) {
+		if (session->write_impl.microseconds_per_packet != frame->codec->implementation->microseconds_per_packet) {
 			ptime_mismatch = TRUE;
 			if (switch_test_flag(frame->codec, SWITCH_CODEC_FLAG_PASSTHROUGH) || switch_test_flag(session->read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH)) {
 				status = perform_write(session, frame, flags, stream_id);



More information about the Freeswitch-svn mailing list