[vlc-commits] xcb/render: fix portrait matrices
Rémi Denis-Courmont
git at videolan.org
Sat Jan 26 20:32:44 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 26 21:32:26 2019 +0200| [7996a03ef1678fc34c6c80e372889a588e7a62fb] | committer: Rémi Denis-Courmont
xcb/render: fix portrait matrices
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7996a03ef1678fc34c6c80e372889a588e7a62fb
---
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 135d346d54..0e33608272 100644
--- a/modules/video_output/xcb/render.c
+++ b/modules/video_output/xcb/render.c
@@ -295,12 +295,12 @@ static void CreateBuffers(vout_display_t *vd, const vout_display_cfg_t *cfg)
case ORIENT_LEFT_TOP:
break;
case ORIENT_TOP_RIGHT:
- case ORIENT_LEFT_BOTTOM:
+ case ORIENT_RIGHT_TOP:
ax *= -1;
bx -= place->width;
break;
case ORIENT_BOTTOM_LEFT:
- case ORIENT_RIGHT_TOP:
+ case ORIENT_LEFT_BOTTOM:
ay *= -1;
by -= place->height;
break;
More information about the vlc-commits
mailing list