vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Dec 20 18:40:40 2018 +0200| [e597005ec5e0cccd9e6179f0685d337f50a8a916] | committer: Rémi Denis-Courmont
vdpau: fix constant 255 * 255 is not 65535 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e597005ec5e0cccd9e6179f0685d337f50a8a916 --- modules/hw/vdpau/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hw/vdpau/display.c b/modules/hw/vdpau/display.c index 43ddb71ede..ac16dd484f 100644 --- a/modules/hw/vdpau/display.c +++ b/modules/hw/vdpau/display.c @@ -215,7 +215,7 @@ static void RenderRegion(vout_display_t *vd, VdpOutputSurface target, / subpic->i_original_picture_height, }; VdpColor color = { 1.f, 1.f, 1.f, - reg->i_alpha * subpic->i_alpha / 65535.f }; + reg->i_alpha * subpic->i_alpha / 65025.f }; VdpOutputSurfaceRenderBlendState state = { .struct_version = VDP_OUTPUT_SURFACE_RENDER_BLEND_STATE_VERSION, .blend_factor_source_color = _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
