Commit 67adf42f authored by Debargha Mukherjee's avatar Debargha Mukherjee
Browse files

Do not fail on deprecated --good option

Temporary quick fix for broken compatibility with testing

Change-Id: I9af93690dd107fc79a79062f4d6ea7c53c8b4798
parent e4099e38
......@@ -157,6 +157,8 @@ static const arg_def_t limit =
ARG_DEF(NULL, "limit", 1, "Stop encoding after n input frames");
static const arg_def_t skip =
ARG_DEF(NULL, "skip", 1, "Skip the first n input frames");
static const arg_def_t good_dl =
ARG_DEF(NULL, "good", 0, "Use Good Quality Deadline");
static const arg_def_t quietarg =
ARG_DEF("q", "quiet", 0, "Do not print encode progress");
static const arg_def_t verbosearg =
......@@ -212,6 +214,7 @@ static const arg_def_t *main_args[] = { &help,
......@@ -935,6 +938,8 @@ static void parse_global_config(struct AvxEncoderConfig *global, char **argv) {
die("Error: Invalid pass selected (%d)\n", global->pass);
} else if (arg_match(&arg, &usage, argi))
global->usage = arg_parse_uint(&arg);
else if (arg_match(&arg, &good_dl, argi))
warn("Deprecated --good option! Ignoring\n");
else if (arg_match(&arg, &use_yv12, argi))
global->color_type = YV12;
else if (arg_match(&arg, &use_i420, argi))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment