Mailing List archive

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

[vdr] Re: dvbiapi.c



Rainer Zocholl wrote:
> 
> Klaus.Schmidinger@cadsoft.de(Klaus Schmidinger)  06.10.01 11:14
> 
> Once upon a time Klaus Schmidinger shaped the electrons to say...
> 
> >Rainer Zocholl wrote:
> >>
> >> What is the meaning of:
> >>
> >> msi vdr[2080]: ERROR (dvbapi.c,3167): Bad file descriptor
> >>
> >> void cDvbApi::SetVideoFormat(videoFormat_t Format)
> >> {
> >>   if (fd_video)
> >>        CHECK(ioctl(fd_video, VIDEO_SET_FORMAT, Format));
> >> }
> >>
> >> One 2.1 and one "budget" card.
> 
> >Does this happen on the "budget" card?
> 
> Seems so.
> If i disable the card i do not see that message
> 
> >Is the "budget" card your primary card?
> 
> No.
> Once i tried only the budget (alone) and it fails horrible but
> i did not investigate in deep, because i assumed that it would
> not be "normal" to have no full card.
> 
> >Apparently VDR is trying to set the video format (4:3 or 16:9),
> >and that's not possible on a "budget" card.
> 
> Ok, thanks for explanation.
> 
> But is fd_video invalid anyway?
> All other "if fd_video"'s reads "if (fd_video >=0)".
> Why not in this case?

You're totally right about that, it should also be "if (fd_video >=0)".

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index