Skip to content

Commit

Permalink
fix type of resolution CLI flag
Browse files Browse the repository at this point in the history
  • Loading branch information
TinfoilSubmarine committed Sep 10, 2024
1 parent 5fb9cff commit a4cdf77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def parse_arguments() -> argparse.Namespace:
parser.add_argument("--min_bit", type=int, help="Minimum bitrate.", default=1000)
parser.add_argument("--max_bit", type=int, help="Maximum bitrate.", default=1000)
parser.add_argument("--start_bit", type=int, help="Starting bitrate.", default=1000)
parser.add_argument("--resolution", help="Resolution.", choices=list(proto.EnumWindowSize.values()), default=None)
parser.add_argument("--resolution", help="Resolution.", choices=list(proto.EnumWindowSize.values()), default=None, type=int)
parser.add_argument("--fov", help="Field of View.", choices=list(proto.EnumLens.values()), default=None)
return add_cli_args_and_parse(parser, wifi=False)

Expand Down

0 comments on commit a4cdf77

Please sign in to comment.