From 10075aa501c3fe7486f4a2c40a322439fb51d192 Mon Sep 17 00:00:00 2001 From: maverick-me <> Date: Mon, 5 Nov 2012 23:13:42 +0100 Subject: [PATCH] Fix 3d OSD position. --- video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video.c b/video.c index c54ea01..40b6343 100644 --- a/video.c +++ b/video.c @@ -7492,11 +7492,13 @@ static void VdpauMixOsd(void) switch (Osd3DMode) { case 1: + output_rect.x0 = output_rect.x0 / 2; output_rect.x1 = output_rect.x1 / 2; output_double_rect.x0 = output_rect.x0 + (VideoWindowWidth / 2); output_double_rect.x1 = output_rect.x1 + (VideoWindowWidth / 2); break; case 2: + output_rect.y0 = output_rect.y0 / 2; output_rect.y1 = output_rect.y1 / 2; output_double_rect.y0 = output_rect.y0 + (VideoWindowHeight / 2); output_double_rect.y1 = output_rect.y1 + (VideoWindowHeight / 2);