]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for fix that broke the other fix
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 22 Jan 2009 18:40:53 +0000 (18:40 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 22 Jan 2009 18:40:53 +0000 (18:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11366 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_io.c

index 13b22d889ff2aa193410022859263ace9245b527..e3ca0bc807890f3dc3d4f13bc8303efeb6cb94cd 100644 (file)
@@ -616,7 +616,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
        
 
        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);