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

2009-05-15 Thread Klaus Schmidinger
On 14.05.2009 08:24, Martin Neuditschko wrote:
> What do you mean with "primary device"? I use a Hauppauge Nova-S-Plus DVB-S 
> card
> (it's the only DVB card in the system).

The "primary device" is the one your tv set is connected to.
It actually replays live tv and recordings. If you only have
budget cards and don't use this system for live viewing or
replaying, these error messages should be gone with the checks
I mentioned. I've added them for the next version.

Klaus

> On Sat, May 09, 2009 at 06:55:28PM +0200, Klaus Schmidinger wrote:
>> 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

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


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

2009-05-13 Thread Martin Neuditschko
What do you mean with "primary device"? I use a Hauppauge Nova-S-Plus DVB-S card
(it's the only DVB card in the system).

Thanks for the code.

regards
Martin


On Sat, May 09, 2009 at 06:55:28PM +0200, Klaus Schmidinger wrote:
> 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

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


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

2009-05-09 Thread Klaus Schmidinger
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

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr