mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-01 06:35:09 +00:00
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
1db53ced7e
commit
87db085295
@ -1846,7 +1846,7 @@ video_layout_t *conference_video_find_best_layout(conference_obj_t *conference,
|
|||||||
break;
|
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) {
|
if (!least || least->vlayout->layers > vlnode->vlayout->layers) {
|
||||||
least = vlnode;
|
least = vlnode;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user