summaryrefslogtreecommitdiff
path: root/patches/lcdproc-0.0.10-fix-for-1.3.38.diff
diff options
context:
space:
mode:
authorJoachim Wilke <vdr@joachim-wilke.de>2006-09-24 00:00:00 +0200
committerJoachim Wilke <vdr@joachim-wilke.de>2006-09-24 00:00:00 +0200
commitd40a2445b68a7153515e1905704f9c401ddb82f4 (patch)
treefa51c03cc10fff53e31ec9f99e2861bb52def7aa /patches/lcdproc-0.0.10-fix-for-1.3.38.diff
parenta1a98bf76178df893addb968f2af9369da1a537b (diff)
downloadvdr-plugin-lcdproc-d40a2445b68a7153515e1905704f9c401ddb82f4.tar.gz
vdr-plugin-lcdproc-d40a2445b68a7153515e1905704f9c401ddb82f4.tar.bz2
Diffstat (limited to 'patches/lcdproc-0.0.10-fix-for-1.3.38.diff')
-rw-r--r--patches/lcdproc-0.0.10-fix-for-1.3.38.diff40
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/lcdproc-0.0.10-fix-for-1.3.38.diff b/patches/lcdproc-0.0.10-fix-for-1.3.38.diff
new file mode 100644
index 0000000..8765dbe
--- /dev/null
+++ b/patches/lcdproc-0.0.10-fix-for-1.3.38.diff
@@ -0,0 +1,40 @@
+diff -rup lcdproc-0.0.10.sav/lcdproc.c lcdproc-0.0.10/lcdproc.c
+--- lcdproc-0.0.10.sav/lcdproc.c Sun Jan 8 18:28:59 2006
++++ lcdproc-0.0.10/lcdproc.c Sun Jan 8 20:02:31 2006
+@@ -51,8 +51,8 @@ static const char * PrioBackFunctionText
+ class cLcdFeed : public cStatus {
+ protected:
+ virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
+- virtual void Recording(const cDevice *Device, const char *Name);
+- virtual void Replaying(const cControl *DvbPlayerControl, const char *Name);
++ virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
++ virtual void Replaying(const cControl *DvbPlayerControl, const char *Name, const char *FileName, bool On);
+ virtual void SetVolume(int Volume, bool Absolute);
+ virtual void OsdClear(void);
+ virtual void OsdTitle(const char *Title);
+@@ -80,20 +80,20 @@ void cLcdFeed::ChannelSwitch(const cDevi
+ }
+ }
+
+-void cLcdFeed::Recording(const cDevice *Device, const char *Name)
++void cLcdFeed::Recording(const cDevice *Device, const char *Name, const char *FileName, bool On)
+ {
+ //syslog(LOG_INFO, "lcdproc: cLcdFeed::Recording %d %s", Device->CardIndex(), Name);
+- if (Name)
++ if (On)
+ LCDproc->SetCardStat(Device->CardIndex(),2);
+ else
+ LCDproc->SetCardStat(Device->CardIndex(),1);
+ }
+
+-void cLcdFeed::Replaying(const cControl *DvbPlayerControl, const char *Name)
++void cLcdFeed::Replaying(const cControl *DvbPlayerControl, const char *Name, const char *FileName, bool On)
+ {
+ //syslog(LOG_INFO, "lcdproc: cLcdFeed::Replaying %s", Name);
+- replaymode=(Name)?true:false;
+- if ( replaymode ) {
++ replaymode=On;
++ if (replaymode) {
+ LCDproc->SetReplayDevice( (cDvbPlayerControl *) DvbPlayerControl);
+ LCDproc->SetMain(2, Name);
+ LCDproc->SetThreadState( (cLcd::ThreadStates) 2); // Replaying