Commit fa71471c authored by Stefano Sabatini's avatar Stefano Sabatini

lavd/caca: rename "colors" option to "color"

More consistent with libcaca function names. Should not harm since the
device was added less than one day ago.
parent d5105278
...@@ -68,8 +68,8 @@ The accepted values are listed with @code{-list_dither antialiases}. ...@@ -68,8 +68,8 @@ The accepted values are listed with @code{-list_dither antialiases}.
Set which characters are going to be used when rendering text. Set which characters are going to be used when rendering text.
The accepted values are listed with @code{-list_dither charsets}. The accepted values are listed with @code{-list_dither charsets}.
@item colors @item color
Set colors to be used when rendering text. Set color to be used when rendering text.
The accepted values are listed with @code{-list_dither colors}. The accepted values are listed with @code{-list_dither colors}.
@item list_drivers @item list_drivers
......
...@@ -34,7 +34,7 @@ typedef struct CACAContext { ...@@ -34,7 +34,7 @@ typedef struct CACAContext {
caca_dither_t *dither; caca_dither_t *dither;
char *algorithm, *antialias; char *algorithm, *antialias;
char *charset, *colors; char *charset, *color;
char *driver; char *driver;
char *list_dither; char *list_dither;
...@@ -195,7 +195,7 @@ static const AVOption options[] = { ...@@ -195,7 +195,7 @@ static const AVOption options[] = {
{ "algorithm", "set dithering algorithm", OFFSET(algorithm), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, { "algorithm", "set dithering algorithm", OFFSET(algorithm), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC },
{ "antialias", "set antialias method", OFFSET(antialias), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, { "antialias", "set antialias method", OFFSET(antialias), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC },
{ "charset", "set charset used to render output", OFFSET(charset), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, { "charset", "set charset used to render output", OFFSET(charset), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC },
{ "colors", "set colors used to render output", OFFSET(colors), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, { "color", "set color used to render output", OFFSET(color), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC },
{ "list_drivers", "list available drivers", OFFSET(list_drivers), AV_OPT_TYPE_INT, {.dbl=0}, 0, 1, ENC, "list_drivers" }, { "list_drivers", "list available drivers", OFFSET(list_drivers), AV_OPT_TYPE_INT, {.dbl=0}, 0, 1, ENC, "list_drivers" },
{ "true", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = 1}, 0, 0, ENC, "list_drivers" }, { "true", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = 1}, 0, 0, ENC, "list_drivers" },
{ "false", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = 0}, 0, 0, ENC, "list_drivers" }, { "false", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = 0}, 0, 0, ENC, "list_drivers" },
......
Markdown is supported
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