summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-07-23 11:12:39 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-07-23 11:12:39 -0700
commit6d539b8e2211eabb33ea8dd6a289a5588c85b00d (patch)
treea2c560915398a4c30768363582323549c99ee579 /common
parent4e92468262577e37586ec8e12f937ef909c51529 (diff)
downloadxrdp-proprietary-6d539b8e2211eabb33ea8dd6a289a5588c85b00d.tar.gz
xrdp-proprietary-6d539b8e2211eabb33ea8dd6a289a5588c85b00d.zip
user rfx for cache v3 if client supports
Diffstat (limited to 'common')
-rw-r--r--common/xrdp_client_info.h2
-rw-r--r--common/xrdp_constants.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/common/xrdp_client_info.h b/common/xrdp_client_info.h
index e1879cef..d7c20783 100644
--- a/common/xrdp_client_info.h
+++ b/common/xrdp_client_info.h
@@ -40,7 +40,7 @@ struct xrdp_client_info
int cache3_entries;
int cache3_size;
int bitmap_cache_persist_enable; /* 0 or 2 */
- int bitmap_cache_version; /* 0 = original version, 2 = v2, 3 = v3 */
+ int bitmap_cache_version; /* ored 1 = original version, 2 = v2, 4 = v3 */
/* pointer info */
int pointer_cache_entries;
/* other */
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 7d31326e..1aa18eb5 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -516,6 +516,10 @@
#define XR_CODEC_GUID_REMOTEFX \
"\x12\x2F\x77\x76\x72\xBD\x63\x44\xAF\xB3\xB7\x3C\x9C\x6F\x78\x86"
+/* CODEC_GUID_JPEG 0x430C9EED1BAF4CE6869ACB8B37B66237*/
+#define XR_CODEC_GUID_JPEG \
+ "\xE6\x4C\xAF\x1B\xED\x9E\x0C\x43\x86\x9A\xCB\x8B\x37\xB6\x62\x37"
+
#define RDP_CAPSET_SURFCMDS 0x1c
#define RDP_CAPLEN_SURFCMDS 0x0c
#define RDP_CAPSET_BMPCODECS 0x1d