diff options
author | Devaev Maxim <[email protected]> | 2021-01-25 13:13:11 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-01-25 13:13:11 +0300 |
commit | 69faec54fceba768dab813e8ddf3838c8487e945 (patch) | |
tree | 57546a8c898ca314be41d861c06a1e755b088be8 /kvmd | |
parent | 13057e7d48ff679fdfd017a22ecf6fa1172adbe9 (diff) |
encodings are signed
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/vnc/rfb/encodings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/apps/vnc/rfb/encodings.py b/kvmd/apps/vnc/rfb/encodings.py index 6ecfaa76..9477baaf 100644 --- a/kvmd/apps/vnc/rfb/encodings.py +++ b/kvmd/apps/vnc/rfb/encodings.py @@ -20,6 +20,7 @@ # ========================================================================== # +import ctypes import dataclasses from typing import FrozenSet @@ -39,7 +40,7 @@ class RfbEncodings: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], )) - H264 = 0xCAFE0101 # Pi-KVM H264 Encoding + H264 = ctypes.c_int32(0xCAFE0101).value # Pi-KVM H264 Encoding @dataclasses.dataclass(frozen=True) |