Fix bug: -DOSD_DEBUG uses old (deleted) variable.

This commit is contained in:
Johns 2013-11-23 16:51:30 +01:00
parent cfda3ba39d
commit bb70c75656
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
User johns User johns
Date: Date:
Fix bug: -DOSD_DEBUG uses old (deleted) variable.
Fix bug: Option softhddevice.BlackPicture has no effect. Fix bug: Option softhddevice.BlackPicture has no effect.
User Dr. Seltsam User Dr. Seltsam

View File

@ -2548,8 +2548,8 @@ cRect cSoftHdDevice::CanScaleVideo(const cRect & rect,
void cSoftHdDevice::ScaleVideo(const cRect & rect) void cSoftHdDevice::ScaleVideo(const cRect & rect)
{ {
#ifdef OSD_DEBUG #ifdef OSD_DEBUG
dsyslog("[softhddev]%s: %dx%d%+d%+d\n", __FUNCTION__, VidWinRect.Width(), dsyslog("[softhddev]%s: %dx%d%+d%+d\n", __FUNCTION__, rect.Width(),
VidWinRect.Height(), VidWinRect.X(), VidWinRect.Y()); rect.Height(), rect.X(), rect.Y());
#endif #endif
::ScaleVideo(rect.X(), rect.Y(), rect.Width(), rect.Height()); ::ScaleVideo(rect.X(), rect.Y(), rect.Width(), rect.Height());
} }