summaryrefslogtreecommitdiff
path: root/osdpip.c
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2012-05-16 21:47:29 +0200
committeretobi <git@e-tobi.net>2012-05-16 22:34:18 +0200
commit97b9a19e1a9947eaff462815b907ea7050dfa9d7 (patch)
treea545cf9ce61aee0ffdc28914349f14b942bc170d /osdpip.c
parentfb0a8d6c538547a0311dea8287a0acedce6d9d42 (diff)
downloadvdr-plugin-osdpip-97b9a19e1a9947eaff462815b907ea7050dfa9d7.tar.gz
vdr-plugin-osdpip-97b9a19e1a9947eaff462815b907ea7050dfa9d7.tar.bz2
Adapted for VDR 1.7.27 (Closes #981, #964, #902) and dropped VDR 1.6 support
Diffstat (limited to 'osdpip.c')
-rw-r--r--osdpip.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/osdpip.c b/osdpip.c
index 9fba186..193c8a9 100644
--- a/osdpip.c
+++ b/osdpip.c
@@ -23,13 +23,10 @@
#include "decoder.h"
#include "osd.h"
#include "setup.h"
-#if (APIVERSNUM < 10507)
-#include "i18n.h"
-#endif
#include <vdr/plugin.h>
-static const char *VERSION = "0.1.1";
+static const char *VERSION = "0.1.2";
static const char *DESCRIPTION = trNOOP("OSD Picture-in-Picture");
static const char *MAINMENUENTRY = trNOOP("Picture-in-Picture");
@@ -83,9 +80,6 @@ bool cPluginOsdpip::Initialize(void)
bool cPluginOsdpip::Start(void)
{
-#if (APIVERSNUM < 10507)
- RegisterI18n(Phrases);
-#endif
return true;
}
@@ -101,11 +95,7 @@ cOsdObject *cPluginOsdpip::MainMenuAction(void)
chan = cDevice::CurrentChannel() != 0
? Channels.GetByNumber(cDevice::CurrentChannel()) : NULL;
if (chan != NULL) {
-#if (APIVERSNUM < 10500)
- dev = cDevice::GetDevice(chan, 1);
-#else
dev = cDevice::GetDevice(chan, 1, false);
-#endif
if (dev)
return new cOsdPipObject(dev, chan);
}