diff options
Diffstat (limited to 'receiver.c')
-rw-r--r-- | receiver.c | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -23,33 +23,20 @@ #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, cRingBufferFrame *ESBuffer): -#if (APIVERSNUM < 10500) - cReceiver(Channel->Ca(), 0, Channel->Vpid()), -#else - cReceiver(Channel->GetChannelID(), 0, Channel->Vpid()), -#endif + cReceiver(Channel), cThread("osdpip_receiver") { 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; } |