diff options
author | Sascha Volkenandt <sascha@akv-soft.de> | 2005-01-09 19:42:00 +0100 |
---|---|---|
committer | Sascha Volkenandt <sascha@akv-soft.de> | 2005-01-09 19:42:00 +0100 |
commit | a32763d16f82ef6055430d69100784522b631bd6 (patch) | |
tree | 76299c1f75a3a32a44cd8804c112c257cc62f41f | |
parent | 2e4f67e1a49a479db365bfb44fbc1aeac80d518a (diff) | |
download | vdr-plugin-osdpip-a32763d16f82ef6055430d69100784522b631bd6.tar.gz vdr-plugin-osdpip-a32763d16f82ef6055430d69100784522b631bd6.tar.bz2 |
Release version 0.0.7.1v0.0.7.1
- adapted to VDR 1.3.18+ (should work with older versions, too)
-rw-r--r-- | 00-DEVELOPMENT | 0 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | osd.c | 2 | ||||
-rw-r--r-- | osdpip.c | 2 | ||||
-rw-r--r-- | receiver.c | 8 |
5 files changed, 11 insertions, 3 deletions
diff --git a/00-DEVELOPMENT b/00-DEVELOPMENT new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/00-DEVELOPMENT @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id$ +# $Id: Makefile,v 1.1.1.1 2004/11/19 16:45:31 lordjaxom Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -697,7 +697,7 @@ void cOsdPipObject::ShowChannelInfo(const cChannel * channel, bool show) if ((present = schedule->GetPresentEvent()) != NULL) { presentTitle = present->Title(); if (!isempty(presentTitle)) { - sprintf(line2, "%s %s", present->GetTimeString(), presentTitle); + sprintf(line2, "%s %s", (const char*)present->GetTimeString(), presentTitle); #if VDRVERSNUM < 10307 while (m_Osd->Width(line2) > OsdPipSetup.InfoWidth - 10) { line2[strlen(line2) - 1] = 0; @@ -19,7 +19,7 @@ extern "C" #include <vdr/plugin.h> -static const char *VERSION = "0.0.7"; +static const char *VERSION = "0.0.7.1"; static const char *DESCRIPTION = "OSD Picture-in-Picture"; static const char *MAINMENUENTRY = "Picture-in-Picture"; @@ -14,14 +14,22 @@ cOsdPipReceiver::cOsdPipReceiver(const cChannel *Channel, cRingBufferFrame *ESBuffer): +#if VDRVERSNUM >= 10318 + cReceiver(Channel->Ca(), 0, 2, Channel->Vpid(), Channel->Apid(0)) +#else cReceiver(Channel->Ca(), 0, 2, Channel->Vpid(), Channel->Apid1()) +#endif { m_TSBuffer = new cRingBufferLinear(MEGABYTE(3), TS_SIZE * 2, true); #if VDRVERSNUM >= 10313 m_TSBuffer->SetTimeouts(0, 100); #endif m_ESBuffer = ESBuffer; +#if VDRVERSNUM >= 10318 + m_Remux = new cRemux(Channel->Vpid(), Channel->Apid(0), 0, 0, 0, true); +#else m_Remux = new cRemux(Channel->Vpid(), Channel->Apid1(), 0, 0, 0, true); +#endif m_Active = false; } |