[vdr] ERROR (dvbdevice.c,762): Bad file descriptor

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat May 9 18:55:28 CEST 2009


On 05/05/09 20:33, Martin Neuditschko wrote:
> Hello,
> 
> I upgraded VDR from 1.6.0 to 1.7.7 (including DVB drivers). The VDR
> is running and working correctly as I can say this after 30 minutes of testing.
> 
> But I get this strange error message each second after startup of VDR:
> 
>   ERROR (dvbdevice.c,762): Bad file descriptor

I assume your system has no real primary device for replay, right?

I'll add a check for fd_video being a valid file handle to this function.

You can put

if (fd_video >= 0) {
   ...
   }

around the code that uses fd_video.

Klaus



More information about the vdr mailing list