diff --git a/ChangeLog b/ChangeLog index f7679d2..549a380 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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()); }