Opened 17 years ago
Last modified 13 years ago
#648 new defect
multiple dvb cards issue in stream_dvb.c, dvb_get_config
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | streaming |
Version: | 1.0rc1 | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
dvb_get_config tries to open the frontends of all dvb cards
sprintf(filename, "/dev/dvb/adapter%d/frontend0", i);
fd = open(filename, O_RDWR | O_NONBLOCK);
if that fails (because for example the first of 2 cards is already in use)
it skips that card without increasing conf->count therefor the configuration
for following cards gets shifted up (ex. config for card 2 becomes
conf->cards[0] wich is wrong).
Note:
See TracTickets
for help on using tickets.