Mailing List archive

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

[linux-dvb] Re: why emergency exit on channel switching problems ?



Jörg Wiedenfeld wrote:
> 
> Hi Klaus,
> > > I recognize that vdr do an emergency exit after it takes
> > > no data from the driver.
> > > That is a good idea for the worse case, I think.
> > > But when taking a record on a second card, the stop is annoying.
> > > On my machine vdr has only problems after channel switching.
> > > When I notice a black screen after channel switching,
> > > I switch to another channel an back and the world is good.
> > > Do you thing it is possible to integrate this workaround,
> > > so vdr maybe don?t need to exit after doing a record with
> > > no signal after channel switching.
> >
> > As far as I see this VDR only performs an emergency exit if the channel
> > switching doesn't work *before* starting a recording.
> Exact what I mean, and what I have seen.
> I have connect a tv screen on the second card,
> and the screen is black. So the first recorded file
> has zero bytes, after a while the watchdog hits and
> after a while the recording go on.
> 
> So the workaround for this time could be to switch
> to another channel and back, when this problem is
> present and then start to record the channel.
> When this fails let the watchdog hit.
> 
> Is it possible to check the channel switching state ?
> A timeout after reading the video device or so ?

Both things are done in VDR. See the calls to SetChannel() and the
emergency exits in dvbapi.c.

Of course you're free to implement another workaround, but I believe
we should invest our time in fixing the original problem...

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
_______________________________________________________________


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index