diff options
Diffstat (limited to 'kvmd/validators')
-rw-r--r-- | kvmd/validators/kvm.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py index e8f14f6a..a2701060 100644 --- a/kvmd/validators/kvm.py +++ b/kvmd/validators/kvm.py @@ -78,3 +78,7 @@ def valid_stream_resolution(arg: Any) -> str: def valid_stream_h264_bitrate(arg: Any) -> int: return int(valid_number(arg, min=100, max=16000, name="stream H264 bitrate")) + + +def valid_stream_h264_gop(arg: Any) -> int: + return int(valid_number(arg, min=0, max=60, name="stream H264 GOP")) |