1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

return actual symbol rate for all delivery systems

This commit is contained in:
internal 2022-12-13 13:33:57 +01:00 committed by rjkm
parent 0b36a69c44
commit 6ce49ed990

View File

@ -296,6 +296,8 @@ void ddb_mci_proc_info(struct mci *mci, struct dtv_frontend_properties *p)
p->frequency = p->frequency =
mci->signal_info.dvbs2_signal_info.frequency; mci->signal_info.dvbs2_signal_info.frequency;
p->symbol_rate =
mci->signal_info.dvbs2_signal_info.symbol_rate;
switch (p->delivery_system) { switch (p->delivery_system) {
default: default:
case SYS_DVBS: case SYS_DVBS:
@ -305,8 +307,6 @@ void ddb_mci_proc_info(struct mci *mci, struct dtv_frontend_properties *p)
mci->signal_info.dvbs2_signal_info.pls_code; mci->signal_info.dvbs2_signal_info.pls_code;
p->frequency = p->frequency =
mci->signal_info.dvbs2_signal_info.frequency / 1000; mci->signal_info.dvbs2_signal_info.frequency / 1000;
p->symbol_rate =
mci->signal_info.dvbs2_signal_info.symbol_rate;
p->delivery_system = p->delivery_system =
(mci->signal_info.dvbs2_signal_info.standard == 2) ? (mci->signal_info.dvbs2_signal_info.standard == 2) ?
SYS_DVBS2 : SYS_DVBS; SYS_DVBS2 : SYS_DVBS;