mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
encodings are signed
This commit is contained in:
parent
13057e7d48
commit
69faec54fc
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user