diff options
author | Mitchm <Mitchm at vdrportal.de> | 2010-01-15 20:03:00 +0100 |
---|---|---|
committer | Mitchm <Mitchm at vdrportal.de> | 2010-01-15 20:03:00 +0100 |
commit | 5fa74fe306770d90ce3b7e52a0c420397d4c9c83 (patch) | |
tree | 8131bacf7b93b90642f55a4369f1ce0787617030 /receiver.c | |
parent | 15f8e9b463ac432693b114c9b9f40a2155ae9dfb (diff) | |
download | vdr-plugin-osdpip-0.0.10a.tar.gz vdr-plugin-osdpip-0.0.10a.tar.bz2 |
Release version 0.0.10av0.0.10a
- added support for VDR 1.7.x
- added PIP while replaying
- added italian translations (thanks to Diego Pierotto)
Diffstat (limited to 'receiver.c')
-rw-r--r-- | receiver.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -7,9 +7,14 @@ #include "receiver.h" #include "pes.h" #include "setup.h" +#if VDRVERSNUM > 10703 +#include "remux.h" +#endif #include <vdr/channels.h> +#if VDRVERSNUM <= 10703 #include <vdr/remux.h> +#endif #include <vdr/ringbuffer.h> cOsdPipReceiver::cOsdPipReceiver(const cChannel *Channel, @@ -24,7 +29,11 @@ cOsdPipReceiver::cOsdPipReceiver(const cChannel *Channel, m_TSBuffer = new cRingBufferLinear(MEGABYTE(3), TS_SIZE * 2, true); m_TSBuffer->SetTimeouts(0, 100); m_ESBuffer = ESBuffer; +#if VDRVERSNUM > 10703 + m_Remux = new cRemuxPIP(Channel->Vpid(), NULL, NULL, NULL, true); +#else m_Remux = new cRemux(Channel->Vpid(), NULL, NULL, NULL, true); +#endif m_Active = false; } |