mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	New API: fix setting MODULATOR_INPUT_BITRATE
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user