mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +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
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…
x
Reference in New Issue
Block a user