The function cDevice::GetVideoSystem() has been finally removed

This commit is contained in:
Klaus Schmidinger 2017-11-02 14:38:49 +01:00
parent c08ed3ce44
commit d74dd7a60a
2 changed files with 4 additions and 15 deletions

View File

@ -9162,7 +9162,7 @@ Video Disk Recorder Revision History
a subdirectory.
- SVDRP peering can now be limited to the default SVDRP host (see MANUAL for details).
2017-10-31: Version 2.3.9
2017-11-02: Version 2.3.9
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
@ -9176,3 +9176,5 @@ Video Disk Recorder Revision History
priority in case there are several timers recording with different priorities.
- The MTD mapper now avoids immediately reusing unique PIDs when switching channels,
to prevent possible problems with old data in buffers (thanks to Onur Sentürk).
- The function cDevice::GetVideoSystem() (which has been deprecated since version 2.1.6)
has been finally removed.

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 4.10 2017/05/30 11:06:11 kls Exp $
* $Id: device.h 4.11 2017/11/02 14:37:02 kls Exp $
*/
#ifndef __DEVICE_H
@ -55,13 +55,6 @@ enum ePlayMode { pmNone, // audio/video from decoder
// KNOWN TO YOUR PLAYER.
};
//#define DEPRECATED_VIDEOSYSTEM
#ifdef DEPRECATED_VIDEOSYSTEM
enum eVideoSystem { vsPAL,
vsNTSC
};
#endif
enum eVideoDisplayFormat { vdfPanAndScan,
vdfLetterBox,
vdfCenterCutOut
@ -510,12 +503,6 @@ public:
///< if this device has an MPEG decoder).
///< NOTE: this is only for SD devices. HD devices shall implement their
///< own setup menu with the necessary parameters for controlling output.
#ifdef DEPRECATED_VIDEOSYSTEM
virtual eVideoSystem GetVideoSystem(void) { return vsPAL; }
///< Returns the video system of the currently displayed material
///< (default is PAL).
///< This function is deprecated and will be removed in a future version!
#endif
virtual void GetVideoSize(int &Width, int &Height, double &VideoAspect);
///< Returns the Width, Height and VideoAspect ratio of the currently
///< displayed video material. Width and Height are given in pixel