[Freeswitch-svn] [commit] r6558 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Thu Dec 6 20:57:31 EST 2007
Author: anthm
Date: Thu Dec 6 20:57:30 2007
New Revision: 6558
Modified:
freeswitch/trunk/src/switch_core_io.c
Log:
doh
Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c (original)
+++ freeswitch/trunk/src/switch_core_io.c Thu Dec 6 20:57:30 2007
@@ -547,12 +547,6 @@
write_frame->rate = session->write_resampler->to_rate;
}
- if (!do_bugs) {
- do_write = 1;
- write_frame = frame;
- goto done;
- }
-
if (session->bugs) {
switch_media_bug_t *bp, *dp, *last = NULL;
@@ -608,6 +602,12 @@
switch_thread_rwlock_unlock(session->bug_rwlock);
}
+ if (do_bugs) {
+ do_write = 1;
+ write_frame = frame;
+ goto done;
+ }
+
if (session->write_codec) {
if (write_frame->datalen == session->write_codec->implementation->bytes_per_frame) {
perfect = TRUE;
More information about the Freeswitch-svn
mailing list