[vlc-commits] commit: Fixed vertical video alignment (close #3688). (Laurent Aimar )
git at videolan.org
git at videolan.org
Sun Jun 13 01:06:53 CEST 2010
vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jun 12 14:14:35 2010 +0200| [d460c80bab1d12fe3280e9e5c66e585796384a83] | committer: Laurent Aimar
Fixed vertical video alignment (close #3688).
It is not limited to win32.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=d460c80bab1d12fe3280e9e5c66e585796384a83
---
modules/video_output/wrapper.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/wrapper.c b/modules/video_output/wrapper.c
index 558db23..b8db199 100644
--- a/modules/video_output/wrapper.c
+++ b/modules/video_output/wrapper.c
@@ -450,9 +450,9 @@ static void VoutGetDisplayCfg(vout_thread_t *vout, vout_display_cfg_t *cfg, cons
else if (align_mask & 0x2)
cfg->align.horizontal = VOUT_DISPLAY_ALIGN_RIGHT;
if (align_mask & 0x4)
- cfg->align.horizontal = VOUT_DISPLAY_ALIGN_TOP;
+ cfg->align.vertical = VOUT_DISPLAY_ALIGN_TOP;
else if (align_mask & 0x8)
- cfg->align.horizontal = VOUT_DISPLAY_ALIGN_BOTTOM;
+ cfg->align.vertical = VOUT_DISPLAY_ALIGN_BOTTOM;
}
#ifdef WIN32
More information about the vlc-commits
mailing list