Resize tight encoder on frame resize
parent
76beec6415
commit
b52f5cd6c9
|
@ -1052,6 +1052,8 @@ static int send_desktop_resize(struct nvnc_client* client, struct nvnc_fb* fb)
|
||||||
client->known_width = fb->width;
|
client->known_width = fb->width;
|
||||||
client->known_height = fb->height;
|
client->known_height = fb->height;
|
||||||
|
|
||||||
|
tight_encoder_resize(&client->tight_encoder, fb->width, fb->height);
|
||||||
|
|
||||||
pixman_region_union_rect(&client->damage, &client->damage, 0, 0,
|
pixman_region_union_rect(&client->damage, &client->damage, 0, 0,
|
||||||
fb->width, fb->height);
|
fb->width, fb->height);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue