From 27e4d459f5d4af3da5adf0c98dd3c69388e99cd6 Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 26 May 2013 11:58:11 +0200 Subject: Fixed position of video window --- statusheader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'statusheader.c') diff --git a/statusheader.c b/statusheader.c index 107cf22..39610d3 100644 --- a/statusheader.c +++ b/statusheader.c @@ -41,8 +41,8 @@ void cStatusHeader::ScaleVideo(void) { if (tvguideConfig.scaleVideo) { int height = tvguideConfig.statusHeaderHeight; int width = height * 16 / 9; - int x = tvguideConfig.osdWidth - width; - int y = 0; + int x = osdManager.Left() + tvguideConfig.osdWidth - width; + int y = osdManager.Top(); cRect availableRect(x, y, width, height); cRect vidWin = cDevice::PrimaryDevice()->CanScaleVideo(availableRect); cDevice::PrimaryDevice()->ScaleVideo(vidWin); -- cgit v1.2.3