FS-7513: reset layer on aspect change

This commit is contained in:
Anthony Minessale 2015-03-05 15:46:49 -06:00 committed by Michael Jerris
parent 8b47053915
commit e3d79947fc
1 changed files with 1 additions and 0 deletions

View File

@ -1019,6 +1019,7 @@ static void scale_and_patch(conference_obj_t *conference, mcu_layer_t *layer, sw
if (layer->img && (layer->img->d_w != img_w || layer->img->d_h != img_h)) {
switch_img_free(&layer->img);
layer->banner_patched = 0;
clear_layer(conference->canvas, layer);
}
if (!layer->img) {