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:
parent
0f05b1988a
commit
8b9a107e7f
@ -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);
|
return mod_set_attenuator(mod->port->dev, tvp->u.data);
|
||||||
|
|
||||||
case MODULATOR_INPUT_BITRATE:
|
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:
|
case MODULATOR_GAIN:
|
||||||
if (mod->port->dev->link[0].info->version == 2)
|
if (mod->port->dev->link[0].info->version == 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user