[vlc-commits] visual: the visualization effects are in the sRGB colorspace
Steve Lhomme
git at videolan.org
Mon Nov 5 10:01:25 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Nov 5 09:37:00 2018 +0100| [1cf1163ddf6347c3364006db1bc213fdbe50510b] | committer: Steve Lhomme
visual: the visualization effects are in the sRGB colorspace
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cf1163ddf6347c3364006db1bc213fdbe50510b
---
modules/visualization/visual/visual.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/visualization/visual/visual.c b/modules/visualization/visual/visual.c
index 03b60825f4..050dca8cb3 100644
--- a/modules/visualization/visual/visual.c
+++ b/modules/visualization/visual/visual.c
@@ -298,6 +298,9 @@ static int Open( vlc_object_t *p_this )
.i_visible_height = height,
.i_sar_num = 1,
.i_sar_den = 1,
+ .transfer = TRANSFER_FUNC_SRGB,
+ .primaries = COLOR_PRIMARIES_SRGB,
+ .space = COLOR_SPACE_SRGB,
};
p_sys->p_vout = aout_filter_RequestVout( p_filter, NULL, &fmt );
if( p_sys->p_vout == NULL )
More information about the vlc-commits
mailing list