summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-devstatus/files/vdr-devstatus-0.4.1-channelswitch.patch
blob: fbba371b05ee02401a059eb4f8dcbff4e5f46ca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/devstatus.c
+++ b/devstatus.c
@@ -122,7 +122,7 @@
 #else
     virtual void Recording(const cDevice *Device, const char *Name);
 #endif
-    virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
+    virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView);
 };
 
 cList<cRecObj> CurrentRecordings;
@@ -660,7 +660,7 @@
     }
 }
 
-void cDevStatusMonitor::ChannelSwitch(const cDevice *Device, int ChannelNumber) {
+void cDevStatusMonitor::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView) {
       if (!ChannelNumber) return;
       update=1;
 }