[vdr] [1.3.40] Fast channel switching resets

Darren Salt linux at youmustbejoking.demon.co.uk
Sat Jan 28 16:02:10 CET 2006


I demand that Klaus Schmidinger may or may not have written...

[snip]
> I believe I found what's causing this.
> In cInterface::GetKey() the line

>    return cRemote::Get(Wait ? 1000 : 10);

> tries to fetch the next keypress from the remote control, and waits at most
> 10ms in this case. If the remote control doesn't provide another keypress
> within this timeout, cRemote::Get() returns kNone.

> I was able to reproduce this [here while debugging the case where the
> screen gets dark for a moment if pressing "Down" while on channel 1.
> Setting the timeout to 100ms, as in

>    return cRemote::Get(Wait ? 1000 : 100);

> fixed it for me.

FWIW, 100ms may not be enough. My Nova-T remote control currently has a
repeat rate of 114ms, and I'm allowing for 133ms in my somewhat-patched
budget-ci module.

-- 
| Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk
| Debian,     | Northumberland | s zap,tartarus,org
| RISC OS     | Toon Army      | @
|   We've got Souness, we don't want him

A theory is no good until it has been proven wrong.



More information about the vdr mailing list