scaling ratio can now be float

This commit is contained in:
k4yt3x 2019-03-25 10:00:19 -04:00
parent 714790a653
commit 4bd9541a32

View File

@ -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()