From daa49c06e2466b57124266e1d3fe8f49d455959f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 27 Jan 2012 12:24:46 -0600 Subject: [PATCH] only enforce the video-bridge mode if the flag is set on the conference too --- src/mod/applications/mod_conference/mod_conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 0cef50bec4..2689acb62a 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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 {