vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Feb 3 16:16:19 2019 +0200| [a07dcc8b687e8c5c2b3a5b21746e412edecf48c8] | committer: Rémi Denis-Courmont
xcb/render: fix SPU position > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a07dcc8b687e8c5c2b3a5b21746e412edecf48c8 --- modules/video_output/xcb/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video_output/xcb/render.c b/modules/video_output/xcb/render.c index 0e33608272..5bce2f9915 100644 --- a/modules/video_output/xcb/render.c +++ b/modules/video_output/xcb/render.c @@ -161,9 +161,9 @@ static void RenderRegion(vout_display_t *vd, const subpicture_t *subpic, /* Mask in the original alpha channel then renver over the scaled pixmap. * Mask (pre)multiplies RGB channels and restores the alpha channel. */ - int_fast16_t dx = reg->i_x * place->width + int_fast16_t dx = place->x + reg->i_x * place->width / subpic->i_original_picture_width; - int_fast16_t dy = reg->i_y * place->height + int_fast16_t dy = place->y + reg->i_y * place->height / subpic->i_original_picture_height; uint_fast16_t dw = (reg->i_x + reg->fmt.i_visible_width) * place->width / subpic->i_original_picture_width; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
