Temporarily disable GFX version >= 10.3
authorArmin Novak <armin.novak@thincast.com>
Mon, 4 Mar 2019 08:07:27 +0000 (09:07 +0100)
committerArmin Novak <armin.novak@thincast.com>
Mon, 4 Mar 2019 08:07:27 +0000 (09:07 +0100)
channels/rdpgfx/client/rdpgfx_main.c

index 014ce8d..561ea85 100644 (file)
@@ -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;
@@ -153,6 +158,7 @@ static UINT rdpgfx_send_caps_advertise_pdu(RDPGFX_CHANNEL_CALLBACK* callback)
                capsSet->length = 0x4;
                capsSet->flags = caps10Flags;
 #endif
+#endif
        }
 
        header.pduLength = RDPGFX_HEADER_SIZE + 2;