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

let bandwidth_hz setting from application override setting from SR and rollof

This commit is contained in:
Ralph Metzler 2019-11-08 13:41:54 +01:00
parent 2186362136
commit f11ed620f2

View File

@ -2148,8 +2148,9 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
default: default:
break; break;
} }
if (rolloff) if (!c->bandwidth_hz)
c->bandwidth_hz = mult_frac(c->symbol_rate, rolloff, 100); if (rolloff)
c->bandwidth_hz = mult_frac(c->symbol_rate, rolloff, 100);
/* force auto frequency inversion if requested */ /* force auto frequency inversion if requested */
if (dvb_force_auto_inversion) if (dvb_force_auto_inversion)