[vlc-commits] es_out: adapt info to new b_color_range_full
Jean-Baptiste Kempf
git at videolan.org
Sun Apr 17 10:52:44 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 17 10:50:51 2016 +0200| [1d6865b9922b6a0d34b804061c440c4cf185d05c] | committer: Jean-Baptiste Kempf
es_out: adapt info to new b_color_range_full
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d6865b9922b6a0d34b804061c440c4cf185d05c
---
src/input/es_out.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index ea7a011..a925a67 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3042,14 +3042,17 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
if( fmt->video.space != COLOR_SPACE_UNDEF )
{
static const char *space_names[] = { N_("Undefined"),
- N_("ITU-R BT.601 limited range"),
- N_("ITU-R BT.601 full range"),
- N_("ITU-R BT.709 limited range"),
- N_("ITU-R BT.709 full range"),
+ N_("ITU-R BT.601"),
+ N_("ITU-R BT.709"),
N_("ITU-R BT.2020"),
};
- info_category_AddInfo( p_cat, _("Color space"), "%s",
- _(space_names[fmt->video.space]) );
+ static const char *range_names[] = {
+ N_("Limited Range"),
+ N_("Full Range"),
+ };
+ info_category_AddInfo( p_cat, _("Color space"), "%s %s",
+ _(space_names[fmt->video.space]),
+ _(range_names[fmt->video.b_color_range_full]) );
}
static const char *c_loc_names[] = { N_("Undefined"),
N_("Left"),
More information about the vlc-commits
mailing list