Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] DXR3 patch



Hi,

I've received some requests for a new dxr3 version which works with
vdr-1.1.32. At the moment Stefan is on vacation and I haven't access to his 
homepage => you have to wait a little bit longer.
For all who think that they can't wait (especially those who already tried to
patch the dxr3 plugin) I attached a diff to get the plugin working again with 
vdr-1.1.32.

Have fun,

Kai

*** dxr3.c_orig	Tue May 20 19:59:19 2003
--- dxr3.c	Fri May 23 20:25:47 2003
*************** public:
*** 125,130 ****
--- 125,131 ----
    virtual const char *Description(void) { return DESCRIPTION; }
    virtual const char *CommandLineHelp(void);
    virtual bool ProcessArgs(int argc, char *argv[]);
+   virtual bool Initialize(void);
    virtual bool Start(void);
    virtual void Housekeeping(void);
    virtual cMenuSetupPage *SetupMenu(void);
*************** bool cPluginDxr3::ProcessArgs(int argc, 
*** 155,165 ****
  }
  
  bool cPluginDxr3::Start(void) {
-     cDxr3Device::Instance();
-     // Start any background activities the plugin shall perform.
      return true;
  }
  
  void cPluginDxr3::Housekeeping(void) {
    // Perform any cleanup or other regular tasks.
  }
--- 156,169 ----
  }
  
  bool cPluginDxr3::Start(void) {
      return true;
  }
  
+ bool cPluginDxr3::Initialize(void) {
+     cDxr3Device::Instance();
+     return true;
+ }    
+   
  void cPluginDxr3::Housekeeping(void) {
    // Perform any cleanup or other regular tasks.
  } 
*** dxr3syncbuffer.c_orig	Wed May  7 18:43:34 2003
--- dxr3syncbuffer.c	Fri May 23 20:10:49 2003
*************** cDxr3SyncBuffer::cDxr3SyncBuffer(int fra
*** 74,79 ****
--- 74,80 ----
      m_bStopped = false;
      m_demuxMode = DXR3_DEMUX_TV_MODE;
      m_bPollSync = false;
+     SetTimeouts(1000, 10);
  }
  
  cDxr3SyncBuffer::~cDxr3SyncBuffer() {

Home | Main Index | Thread Index