summaryrefslogtreecommitdiff
blob: 29115870d5f7cb428e37af342f088155281a6984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Index: osdpip-0.0.8/osd.c
===================================================================
--- osdpip-0.0.8.orig/osd.c
+++ osdpip-0.0.8/osd.c
@@ -71,7 +71,11 @@ void cOsdPipObject::SwapChannels(void)
 	if (chan) {
 		Stop();
 		Channels.SwitchTo(m_Channel->Number());
+#if VDRVERSNUM >= 10500
+		cDevice *dev = cDevice::GetDevice(chan, 1, false);
+#else
 		cDevice *dev = cDevice::GetDevice(chan, 1);
+#endif
 		if (dev) {
 			DELETENULL(m_Receiver);
 			m_Channel = chan;
Index: osdpip-0.0.8/osdpip.c
===================================================================
--- osdpip-0.0.8.orig/osdpip.c
+++ osdpip-0.0.8/osdpip.c
@@ -89,7 +89,11 @@ cOsdObject *cPluginOsdpip::MainMenuActio
 	chan = cDevice::CurrentChannel() != 0 
 		? Channels.GetByNumber(cDevice::CurrentChannel()) : NULL;
 	if (chan != NULL) {
+#if VDRVERSNUM >= 10500
+		dev = cDevice::GetDevice(chan, 1, false);
+#else
 		dev = cDevice::GetDevice(chan, 1); 
+#endif
 		if (dev)
 			return new cOsdPipObject(dev, chan);
 	}
Index: osdpip-0.0.8/receiver.c
===================================================================
--- osdpip-0.0.8.orig/receiver.c
+++ osdpip-0.0.8/receiver.c
@@ -14,7 +14,9 @@
 
 cOsdPipReceiver::cOsdPipReceiver(const cChannel *Channel,
 	cRingBufferFrame *ESBuffer):
-#if VDRVERSNUM >= 10319
+#if VDRVERSNUM >= 10500
+	cReceiver(Channel->GetChannelID(), 0, Channel->Vpid())
+#elif VDRVERSNUM >= 10319
 	cReceiver(Channel->Ca(), 0, Channel->Vpid())
 #else
 	cReceiver(Channel->Ca(), 0, 1, Channel->Vpid())