From 36dfa5cb8f667c3f92d870977afcb6a1cfb91efe Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 3 Jan 2013 08:55:37 +0100 Subject: Added a remark indicating that the coordinates of Rect in a call to cDevice::CanScaleVideo() are in the range of the width and height returned by GetOsdSize() --- CONTRIBUTORS | 3 +++ HISTORY | 5 ++++- device.h | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 893eeef9..1d027ea5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1328,6 +1328,9 @@ Reinhard Nissl for reporting a race condition when zapping in transfer mode for requesting that plugin Makefiles should include a configuration file for compile time parameters + for suggesting to add a remark indicating that the coordinates of Rect in a call to + cDevice::CanScaleVideo() are in the range of the width and height returned by + GetOsdSize() Richard Robson for reporting freezing replay if a timer starts while in Transfer Mode from the diff --git a/HISTORY b/HISTORY index 87e674ab..07543817 100644 --- a/HISTORY +++ b/HISTORY @@ -7494,7 +7494,10 @@ Video Disk Recorder Revision History use it. - Added maximum SNR value for PCTV Systems PCTV 73ESE (thanks to Cedric Dewijs). -2012-12-30: Version 1.7.36 +2013-01-03: Version 1.7.36 - Added maximum SNR value for PCTV Systems nanoStick T2 290e (thanks to Antti Hartikainen). +- Added a remark indicating that the coordinates of Rect in a call to + cDevice::CanScaleVideo() are in the range of the width and height returned by + GetOsdSize() (suggested by Reinhard Nissl). diff --git a/device.h b/device.h index e2847d86..05b56e91 100644 --- a/device.h +++ b/device.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 2.42 2012/12/04 11:52:58 kls Exp $ + * $Id: device.h 2.43 2013/01/03 08:53:06 kls Exp $ */ #ifndef __DEVICE_H @@ -672,6 +672,8 @@ public: ///< be prepared for cases where the returned rectangle is way off the requested ///< Rect, or even Null. In such cases, the skin may want to fall back to ///< working with full screen video. + ///< The coordinates of Rect are in the range of the width and height returned + ///< by GetOsdSize(). ///< If this device can't scale the video, a Null rectangle is returned (this ///< is also the default implementation). virtual void ScaleVideo(const cRect &Rect = cRect::Null) {} -- cgit v1.2.3