From d74dd7a60a3ea3ca563fd307885d6d4b571d9a2f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 2 Nov 2017 14:38:49 +0100 Subject: [PATCH] The function cDevice::GetVideoSystem() has been finally removed --- HISTORY | 4 +++- device.h | 15 +-------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/HISTORY b/HISTORY index 4dff21c2..ef35c377 100644 --- a/HISTORY +++ b/HISTORY @@ -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. diff --git a/device.h b/device.h index 83e51782..9a4a9085 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 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