diff options
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.diff | 40 |
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 |