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

New API: fix setting MODULATOR_INPUT_BITRATE

This commit is contained in:
Marcin Kaluza 2017-10-19 14:33:58 +02:00
parent 0f05b1988a
commit 8b9a107e7f

View File

@ -1541,7 +1541,7 @@ static int mod_prop_proc(struct ddb_mod *mod, struct dtv_property *tvp)
return mod_set_attenuator(mod->port->dev, tvp->u.data);
case MODULATOR_INPUT_BITRATE:
return mod_set_ibitrate(mod, tvp->u.data64);
return mod_set_ibitrate(mod, ((u64)tvp->u.data) << 32);
case MODULATOR_GAIN:
if (mod->port->dev->link[0].info->version == 2)