From 11cefecb7bc3cdb4dfd6d45c5a75fe3d3484deed Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 4 Mar 2019 09:07:27 +0100 Subject: [PATCH] Temporarily disable GFX version >= 10.3 --- channels/rdpgfx/client/rdpgfx_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/channels/rdpgfx/client/rdpgfx_main.c b/channels/rdpgfx/client/rdpgfx_main.c index 014ce8d9a..561ea85ee 100644 --- a/channels/rdpgfx/client/rdpgfx_main.c +++ b/channels/rdpgfx/client/rdpgfx_main.c @@ -131,6 +131,11 @@ static UINT rdpgfx_send_caps_advertise_pdu(RDPGFX_CHANNEL_CALLBACK* callback) if (gfx->ThinClient) caps10Flags |= RDPGFX_CAPS_FLAG_AVC_THINCLIENT; + /* Reports from Remmina suggest that current H264 decoder settings do + * not work with newer GFX protocol versions. + * Need to investigate this. + * Until resolved, disable the newer protocol versions. */ +#if 0 capsSet = &capsSets[pdu.capsSetCount++]; capsSet->version = RDPGFX_CAPVERSION_103; capsSet->length = 0x4; @@ -152,6 +157,7 @@ static UINT rdpgfx_send_caps_advertise_pdu(RDPGFX_CHANNEL_CALLBACK* callback) capsSet->version = RDPGFX_CAPVERSION_106; capsSet->length = 0x4; capsSet->flags = caps10Flags; +#endif #endif }