diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | softhddevice.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ User johns Date: + Fix bug: -DOSD_DEBUG uses old (deleted) variable. Fix bug: Option softhddevice.BlackPicture has no effect. User Dr. Seltsam 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()); } |