mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-05-18 09:17:31 +08:00
emergency patch for issue #26 by @sok0
This commit is contained in:
@@ -288,7 +288,7 @@ print_logo()
|
|||||||
if not args.video:
|
if not args.video:
|
||||||
Avalon.error('You need to specify the video to process')
|
Avalon.error('You need to specify the video to process')
|
||||||
exit(1)
|
exit(1)
|
||||||
elif (not args.width or not args.height) or not args.upscale_factor:
|
elif (not args.width or not args.height) and not args.factor:
|
||||||
Avalon.error('You must specify output video width and height or upscale factor')
|
Avalon.error('You must specify output video width and height or upscale factor')
|
||||||
exit(1)
|
exit(1)
|
||||||
elif not args.output:
|
elif not args.output:
|
||||||
|
|||||||
Reference in New Issue
Block a user