mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 06:59:11 +00:00
scaling ratio can now be float
This commit is contained in:
parent
714790a653
commit
4bd9541a32
@ -85,7 +85,7 @@ def process_arguments():
|
||||
scaling_options = parser.add_argument_group('Scaling Options')
|
||||
scaling_options.add_argument('--width', help='Output video width', action='store', type=int, default=False)
|
||||
scaling_options.add_argument('--height', help='Output video height', action='store', type=int, default=False)
|
||||
scaling_options.add_argument('-r', '--ratio', help='Scaling ratio', action='store', type=int, default=False)
|
||||
scaling_options.add_argument('-r', '--ratio', help='Scaling ratio', action='store', type=float, default=False)
|
||||
|
||||
# parse arguments
|
||||
return parser.parse_args()
|
||||
|
Loading…
Reference in New Issue
Block a user