FS-10225: [mod_conference] Incorrect layout chosen when playing a file in a conference with a layout group -- fix regression when playing files into a group layout
This commit is contained in:
parent
b0a295e2e3
commit
47af36ff83
|
@ -1403,7 +1403,7 @@ video_layout_t *conference_video_find_best_layout(conference_obj_t *conference,
|
|||
break;
|
||||
}
|
||||
|
||||
if (vlnode->vlayout->layers - file_layers >= (int)count) {
|
||||
if (vlnode->vlayout->layers - file_layers >= (int)count + file_count) {
|
||||
if (!least || least->vlayout->layers > vlnode->vlayout->layers) {
|
||||
least = vlnode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue