ref: 199fb3194ffb2780ba1f2780965cebf1d20d6aac
parent: d7457ccdb610cbcaca67fd7c2baf174d5ede78ba
parent: e4caf2250fd5ed64af14bc6f48012827f3585bf6
author: James Zern <[email protected]>
date: Sun Oct 12 22:20:16 EDT 2014
Merge "vp9_spatial_svc_encoder: fix -bit-depth arg parsing"
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -209,7 +209,7 @@
max_bitrate = arg_parse_uint(&arg);
#if CONFIG_VP9_HIGHBITDEPTH
} else if (arg_match(&arg, &bitdepth_arg, argi)) {
- enc_cfg->g_bit_depth = arg_parse_enum(&arg);
+ enc_cfg->g_bit_depth = arg_parse_enum_or_int(&arg);
switch (enc_cfg->g_bit_depth) {
case VPX_BITS_8:
enc_cfg->g_input_bit_depth = 8;