From c317fec555c0f1344c9d1e18bd8c6a153737c7fc Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Wed, 3 Apr 2013 19:19:04 +0200 Subject: [PATCH] core/capabilities: Enable other codecs when RemoteFX is used CARDP_CAPS_CAPTURE_NON_CAC tells the server to send other codecs as well if RemoteFX is used. This should be on per default and only be disabled if RemoteFxOnly is set (eg when capturing a RemoteFX session). --- libfreerdp/core/capabilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/core/capabilities.c b/libfreerdp/core/capabilities.c index 2623598f2..297cfb433 100644 --- a/libfreerdp/core/capabilities.c +++ b/libfreerdp/core/capabilities.c @@ -2506,7 +2506,7 @@ void rdp_write_rfx_client_capability_container(wStream* s, rdpSettings* settings UINT32 captureFlags; BYTE codecMode; - captureFlags = settings->RemoteFxOnly ? CARDP_CAPS_CAPTURE_NON_CAC : 0; + captureFlags = settings->RemoteFxOnly ? 0 : CARDP_CAPS_CAPTURE_NON_CAC; codecMode = settings->RemoteFxCodecMode; stream_write_UINT16(s, 49); /* codecPropertiesLength */