From b2140ef42e7bf116feca73ddea1566df77ea1dda Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 12 Jun 2010 14:15:11 +0200 Subject: [PATCH] Fixed vertical video alignment (close #3688). It is not limited to win32. --- src/video_output/video_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index 6f9e7abfd2..01b8ee2474 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -467,9 +467,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; } vout_window_t * vout_NewDisplayWindow(vout_thread_t *vout, vout_display_t *vd, -- 2.39.2