FS-9314: [mod_conference] fix crash when starting conference in mux mode while specifying or defaulting to a layout group that does not exist. We will now fall back to transcode mode in this case.

This commit is contained in:
Michael Jerris committed 2016-06-30 12:27:53 -05:00
1 parent e3d3daef6a
commit a6b4934ea8
1 file changed
+4
@@ -1354,6 +1354,10 @@ video_layout_t *conference_video_find_best_layout(conference_obj_t *conference,
}
}
if (!lg) {
return NULL;
}
for (vlnode = lg->layouts; vlnode; vlnode = vlnode->next) {
if (vlnode->vlayout->layers >= (int)count) {
break;