summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-11-23 16:51:30 +0100
committerJohns <johns98@gmx.net>2013-11-23 16:51:30 +0100
commitbb70c756568af9a76a38309a3454d8a6d7931fcc (patch)
treeeb996cc939b406edfd751376134fad0bb76cb166 /softhddevice.cpp
parentcfda3ba39dbc85ef5f02a88467c07bd73e479ed5 (diff)
downloadvdr-plugin-softhddevice-bb70c756568af9a76a38309a3454d8a6d7931fcc.tar.gz
vdr-plugin-softhddevice-bb70c756568af9a76a38309a3454d8a6d7931fcc.tar.bz2
Fix bug: -DOSD_DEBUG uses old (deleted) variable.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index 76d924d..a6fcf26 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -2548,8 +2548,8 @@ cRect cSoftHdDevice::CanScaleVideo(const cRect & rect,
void cSoftHdDevice::ScaleVideo(const cRect & rect)
{
#ifdef OSD_DEBUG
- dsyslog("[softhddev]%s: %dx%d%+d%+d\n", __FUNCTION__, VidWinRect.Width(),
- VidWinRect.Height(), VidWinRect.X(), VidWinRect.Y());
+ dsyslog("[softhddev]%s: %dx%d%+d%+d\n", __FUNCTION__, rect.Width(),
+ rect.Height(), rect.X(), rect.Y());
#endif
::ScaleVideo(rect.X(), rect.Y(), rect.Width(), rect.Height());
}