summaryrefslogtreecommitdiff
path: root/libavfilter/parseutils.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-05-14 18:58:06 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-05-14 18:58:06 +0000
commit3d3bd64db8a319cf40aea3587f346f0ac0805b9b (patch)
treef7ffcbad0895466c3c581bfb5c583bda23a81105 /libavfilter/parseutils.h
parentb69b622c22879b807220576100d0cf7b058e072f (diff)
Add support in av_parse_color() to a "random" color name, which will
result in a randomly choosen random color, as it is with the "bikeshed" color. Originally committed as revision 18828 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/parseutils.h')
-rw-r--r--libavfilter/parseutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/parseutils.h b/libavfilter/parseutils.h
index 52df8212a5..46c66ed37f 100644
--- a/libavfilter/parseutils.h
+++ b/libavfilter/parseutils.h
@@ -45,6 +45,7 @@ char *av_get_token(const char **buf, const char *term);
*
* @param color_string a string specifying a color. It can be the name of
* a color (case insensitive match) or a 0xRRGGBB[AA] sequence.
+ * The string "random" will result in a random color.
* @return >= 0 in case of success, a negative value in case of
* failure (for example if color_string cannot be parsed).
*/