Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] Print required options hint for vmaf tool correctly #1373

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libvmaf/tools/cli_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ void cli_parse(const int argc, char *const *const argv,
settings->output_fmt = VMAF_OUTPUT_FORMAT_XML;
if (!settings->path_ref)
usage(argv[0], "Reference .y4m or .yuv (-r/--reference) is required");
if (!settings->path_ref)
if (!settings->path_dist)
usage(argv[0], "Distorted .y4m or .yuv (-d/--distorted) is required");
if (settings->use_yuv && !(settings->width && settings->height &&
settings->pix_fmt && settings->bitdepth))
Expand Down
Loading