]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5236 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 16:06:32 +0000 (11:06 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 16:06:32 +0000 (11:06 -0500)
src/mod/applications/mod_conference/mod_conference.c

index 7fc6311fa1f25fe7a6404456d7c0ed5ae41380e7..868e349ddd075ccfc7e2df59939d09b2b78e2adc 100644 (file)
@@ -3681,7 +3681,9 @@ static void conference_loop_output(conference_member_t *member)
                        }
                }
 
-               if (mux_used >= bytes) {
+               if (switch_channel_test_app_flag(channel, CF_APP_TAGGED)) {
+                       switch_set_flag_locked(member, MFLAG_FLUSH_BUFFER);
+               } else if (mux_used >= bytes) {
                        /* Flush the output buffer and write all the data (presumably muxed) back to the channel */
                        switch_mutex_lock(member->audio_out_mutex);
                        write_frame.data = data;