[vlc-commits] visual: the visualization effects are in the sRGB colorspace
Steve Lhomme
git at videolan.org
Mon Nov 5 10:13:10 CET 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Nov 5 09:37:00 2018 +0100| [ee61e5fd5f6facdd04caf6a7f9320c73200a0270] | committer: Steve Lhomme
visual: the visualization effects are in the sRGB colorspace
(cherry picked from commit 1cf1163ddf6347c3364006db1bc213fdbe50510b)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=ee61e5fd5f6facdd04caf6a7f9320c73200a0270
---
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 e0c47d83df..b4c72201b8 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