mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-27 12:56:15 +00:00
FS-7513: reset layer on aspect change
This commit is contained in:
parent
8b47053915
commit
e3d79947fc
@ -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)) {
|
if (layer->img && (layer->img->d_w != img_w || layer->img->d_h != img_h)) {
|
||||||
switch_img_free(&layer->img);
|
switch_img_free(&layer->img);
|
||||||
layer->banner_patched = 0;
|
layer->banner_patched = 0;
|
||||||
|
clear_layer(conference->canvas, layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!layer->img) {
|
if (!layer->img) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user