summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@powarman.de>2008-04-27 18:44:00 +0200
committerAndreas Regel <andreas.regel@powarman.de>2008-04-27 18:44:00 +0200
commitcac6362d2207752926f9339c1c547d60d5c2a6a0 (patch)
treec8c4ae6d3b5e0bca179b3b28468f6aca736d14c7 /setup.h
parent4df61fcc16983f71ca5ab1d539840f7d04b9d48f (diff)
downloadvdr-plugin-osdpip-cac6362d2207752926f9339c1c547d60d5c2a6a0.tar.gz
vdr-plugin-osdpip-cac6362d2207752926f9339c1c547d60d5c2a6a0.tar.bz2
Release version 0.0.9v0.0.9
- dropped support for VDR version lower than 1.3.47. - Now using palette replacemen introduced in VDR 1.4.27, so palette setting workaround is not needed any longer. This simplifies code a bit. - added support for VDR 1.6. Now 1.4 and 1.6 are supported (tested with 1.4.7 and 1.6.0) - added gettext localization support introduced with VDR 1.5.7. - Do not decode B frames when dropping them. - Use cCondWait::SleepMs instead of usleep. - Fixed automatic closing of OSD after some minutes. - Fixed showing wrong channel information. - Added missing inclusion of <vdr/device.h>. - Added new colour reduction mode using 256 dithered colours (thanks to Martin Wache). - Added french translations (thanks to micky979)
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/setup.h b/setup.h
index 0a3dab0..af2c0fe 100644
--- a/setup.h
+++ b/setup.h
@@ -13,6 +13,7 @@ const int kDepthGrey16 = 0;
const int kDepthGrey256 = 1;
const int kDepthColor256fix = 2;
const int kDepthColor128var = 3;
+const int kDepthColor256dither = 4;
const int kFrameModeI = 0;
const int kFrameModeIP = 1;
@@ -24,24 +25,24 @@ const int kInfoBottomLeft = 2;
const int kInfoBottomRight = 3;
struct cOsdPipSetup {
- cOsdPipSetup(void);
-
- bool SetupParse(const char *Name, const char *Value);
-
- int XPosition;
- int YPosition;
- int CropLeft;
- int CropRight;
- int CropTop;
- int CropBottom;
- int ColorDepth;
- int Size;
- int FrameMode;
- int FrameDrop;
- int SwapFfmpeg;
- int ShowInfo;
- int InfoWidth;
- int InfoPosition;
+ cOsdPipSetup(void);
+
+ bool SetupParse(const char *Name, const char *Value);
+
+ int XPosition;
+ int YPosition;
+ int CropLeft;
+ int CropRight;
+ int CropTop;
+ int CropBottom;
+ int ColorDepth;
+ int Size;
+ int FrameMode;
+ int FrameDrop;
+ int SwapFfmpeg;
+ int ShowInfo;
+ int InfoWidth;
+ int InfoPosition;
};
extern cOsdPipSetup OsdPipSetup;
@@ -51,11 +52,11 @@ private:
cOsdPipSetup m_NewOsdPipSetup;
protected:
- virtual void Store(void);
+ virtual void Store(void);
public:
- cOsdPipSetupPage(void);
- virtual ~cOsdPipSetupPage();
+ cOsdPipSetupPage(void);
+ virtual ~cOsdPipSetupPage();
};
#endif // VDR_OSDPIP_SETUP_H