[vlc-devel] [PATCH 5/12] text_style: (docs) add mention of rgb[a] form of color support

Lyndon Brown jnqnfe at gmail.com
Fri Sep 25 00:30:18 CEST 2020


From: Lyndon Brown <jnqnfe at gmail.com>
Date: Wed, 2 May 2018 03:06:38 +0100
Subject: text_style: (docs) add mention of rgb[a] form of color support

docs listed named and hex, but not decimal-based rgb[a], which the function
does actually support

diff --git a/include/vlc_text_style.h b/include/vlc_text_style.h
index 709f5f734e..1e822b3140 100644
--- a/include/vlc_text_style.h
+++ b/include/vlc_text_style.h
@@ -247,6 +247,7 @@ VLC_API text_segment_t *text_segment_FromRuby( text_segment_ruby_t *p_ruby );
  * @param psz_value An HTML color, which can be either:
  *  - A standard HTML color (red, cyan, ...) as defined in p_html_colors
  *  - An hexadecimal color, of the form [#][AA]RRGGBB
+ *  - A decimal-based color, of the form rgb(RRR,GGG,BBB) or rgba(RRR,GGG,BBB,AAA)
  * @param ok If non-null, true will be stored in this pointer to signal
  *           a successful conversion
  */



More information about the vlc-devel mailing list