summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authormaverick-me <>2012-11-05 23:13:42 +0100
committerJohns <johns98@gmx.net>2012-11-05 23:13:42 +0100
commit10075aa501c3fe7486f4a2c40a322439fb51d192 (patch)
treec4187f771e5b02b96e007652966a965e5859ee0e /video.c
parentcb91c779d3d11d91044714ef97545bbf3cffded6 (diff)
downloadvdr-plugin-softhddevice-10075aa501c3fe7486f4a2c40a322439fb51d192.tar.gz
vdr-plugin-softhddevice-10075aa501c3fe7486f4a2c40a322439fb51d192.tar.bz2
Fix 3d OSD position.
Diffstat (limited to 'video.c')
-rw-r--r--video.c2
1 files changed, 2 insertions, 0 deletions
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);