FS-7513: fix read lock bug

This commit is contained in:
Anthony Minessale 2015-03-02 13:37:11 -06:00 committed by Michael Jerris
parent c255ba7e8f
commit 7dba838926
1 changed files with 4 additions and 1 deletions

View File

@ -1647,7 +1647,10 @@ static void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread
min_members++; min_members++;
} }
if (conference->playing_video_file) continue; if (conference->playing_video_file) {
switch_core_session_rwunlock(imember->session);
continue;
}
if (conference->canvas->layout_floor_id > -1 && imember->id == conference->video_floor_holder && if (conference->canvas->layout_floor_id > -1 && imember->id == conference->video_floor_holder &&
imember->video_layer_id != conference->canvas->layout_floor_id) { imember->video_layer_id != conference->canvas->layout_floor_id) {