diff options
-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) |