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()

This commit is contained in:
Klaus Schmidinger 2013-01-03 08:55:37 +01:00
parent 2d850b14e2
commit 36dfa5cb8f
3 changed files with 10 additions and 2 deletions

View File

@ -1328,6 +1328,9 @@ Reinhard Nissl <rnissl@gmx.de>
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 <richard_robson@beeb.net>
for reporting freezing replay if a timer starts while in Transfer Mode from the

View File

@ -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).

View File

@ -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) {}