summaryrefslogtreecommitdiff
path: root/receiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/receiver.c b/receiver.c
index 9fe9e8d..a1aaf9d 100644
--- a/receiver.c
+++ b/receiver.c
@@ -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;
}