catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
328 stars 81 forks source link

[BUG] DESCRIBE wrong tuner on non active stream #698

Open 9000h opened 4 years ago

9000h commented 4 years ago

I did copy your post over as this is a different issue

@catalinii wrote in https://github.com/catalinii/minisatip/issues/660#issuecomment-574974632 [15/01 00:28:43.525 main]: adapter.c:1334: get_adapter returns NULL for adapter_id -1 Which means adapter is invalid (-1). Then: https://github.com/catalinii/minisatip/blob/master/src/adapter.c#L1335 aid->0 When the tuner is printed, (ad && ad->tp.fe > 0) ? ad->tp.fe : aid + 1 is evaluated as aid + 1 which is 1. Yes the issues is that the adapter parameters are unknown, but if you find something useful in the specs how to handle this case, we can change the code.

lars18th commented 1 year ago

Hi @9000h ,

This bug is outdated? Or already valid?