only enforce the video-bridge mode if the flag is set on the conference too

This commit is contained in:
Anthony Minessale 2012-01-27 12:24:46 -06:00
parent 9ff741b9f2
commit daa49c06e2
1 changed files with 1 additions and 1 deletions

View File

@ -1383,7 +1383,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
if (switch_channel_ready(channel) && switch_channel_test_flag(channel, CF_VIDEO)) {
members_with_video++;
if (switch_test_flag(imember, MFLAG_VIDEO_BRIDGE)) {
if (switch_test_flag(conference, CFLAG_VIDEO_BRIDGE) && switch_test_flag(imember, MFLAG_VIDEO_BRIDGE)) {
if (!video_bridge_members[0]) {
video_bridge_members[0] = imember;
} else {