diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-01-28 16:32:59 -0800 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2009-01-28 16:32:59 -0800 |
commit | e418d7277c31fd429d55fb0b1686c5b61bda06cb (patch) | |
tree | 1b66894d1fe66e67995e05feb6eebef0d92aa07c /mailimport | |
parent | b4ac56eed1e1ef734166e5e63c7cd20e0523dac5 (diff) | |
download | mediapointer-dvb-s2-e418d7277c31fd429d55fb0b1686c5b61bda06cb.tar.gz mediapointer-dvb-s2-e418d7277c31fd429d55fb0b1686c5b61bda06cb.tar.bz2 |
bttv: rework the way digital inputs are indicated
From: Trent Piepho <xyzzy@speakeasy.org>
The code was using a muxsel value of -1U to indicate a digital input. A
couple places in were checking of muxsel < 0 to detect this, which doesn't
work of course because muxsel is unsigned and can't be negative.
Only a couple cards had digital inputs and it was always the last one, so
for the card database create a one bit field that indicates the last input
is digital. On init, this is used to set a new field in the bttv struct to
the digital input's number or UNSET for none. This makes it easier to
check if the current input is digital.
Priority: normal
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'mailimport')
0 files changed, 0 insertions, 0 deletions