diff options
author | Maxim Devaev <mdevaev@gmail.com> | 2022-07-18 06:31:26 +0300 |
---|---|---|
committer | Maxim Devaev <mdevaev@gmail.com> | 2022-07-18 06:42:18 +0300 |
commit | ab069dda89a468962e77470b21ee323a0d3a00eb (patch) | |
tree | 2fe8f3bec63931489099a49033a50790bd0e9ca0 /plugins | |
parent | a7ceb15c8a04a52981a91fa9bc02ebf3d5e7ddc8 (diff) |
GVNC: Fixed JPEG quality encoding advertizing
Due to a typo, it was impossible to use JPEG encoding if the server
strictly follows the RFB specification. According to it, Tight/JPEG
is available only if the JPEG quality encoding is specified.
- https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#jpeg-quality-level-pseudo-encoding
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gvnc/gvnc_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gvnc/gvnc_plugin.c b/plugins/gvnc/gvnc_plugin.c index 5493584da..ea0840c0a 100644 --- a/plugins/gvnc/gvnc_plugin.c +++ b/plugins/gvnc/gvnc_plugin.c @@ -789,7 +789,7 @@ static gboolean gvnc_plugin_open_connection(RemminaProtocolWidget *gp) else vnc_display_open_host(VNC_DISPLAY(gpdata->vnc), host, g_strdup_printf("%d", port)); gpdata->lossy_encoding = remmina_plugin_service->file_get_int(remminafile, "lossy_encoding", FALSE); - vnc_display_set_lossy_encoding(VNC_DISPLAY(gpdata->vnc), gpdata->shared); + vnc_display_set_lossy_encoding(VNC_DISPLAY(gpdata->vnc), gpdata->lossy_encoding); vnc_display_set_shared_flag(VNC_DISPLAY(gpdata->vnc), gpdata->shared); if(host) g_free(host); |