Mailing List archive

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

[vdr] Re: VDR developer version 1.3.0



Sascha Volkenandt wrote:
> 
> Am Sonntag, 4. Januar 2004 16:54 schrieb Klaus Schmidinger:
> > VDR developer version 1.3.0 is now available at
> >
> >     ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.3.0.tar.bz2
> 
> Great thing!! :-)))
> 
> One thing I've encountered so far: VDR stops with a segfault in
> cDvbDevice::HasLock() (with a this pointer of 0x0) if there's no DVB hardware
> available.

This should fix it:

--- dvbdevice.c 2004/01/04 14:48:37     1.76
+++ dvbdevice.c 2004/01/05 12:24:18
@@ -772,7 +772,7 @@
 
 bool cDvbDevice::HasLock(void)
 {
-  return dvbTuner->Locked();
+  return dvbTuner ? dvbTuner->Locked() : false;
 }
 
 void cDvbDevice::SetVolumeDevice(int Volume)


However, I wonder how the cDvbDevice was created at all.
Is there something wrong with cDvbDevice::Probe(), so that it
doesn't "see" that there is no DVB hardware?
Could you please do some tests there? I don't want to remove
my DVB cards from my VDR ;-)

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index