Do not fail on deprecated --good option
Temporary quick fix for broken compatibility with testing
infrastructure.
Change-Id: I9af93690dd107fc79a79062f4d6ea7c53c8b4798
diff --git a/aomenc.c b/aomenc.c
index e9196d8..ab6945b 100644
--- a/aomenc.c
+++ b/aomenc.c
@@ -157,6 +157,8 @@
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 @@
&fpf_name,
&limit,
&skip,
+ &good_dl,
&quietarg,
&verbosearg,
&psnrarg,
@@ -935,6 +938,8 @@
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))