video: allow configuring the output brightness
This commit is contained in:
parent
7d0c9e2c3f
commit
27025a565c
19 changed files with 343 additions and 40 deletions
|
|
@ -593,6 +593,9 @@ impl Output {
|
|||
let tf = self.transfer_function.unwrap_or(TransferFunction::DEFAULT);
|
||||
c.set_colors(cs, tf);
|
||||
}
|
||||
if let Some(brightness) = self.brightness {
|
||||
c.set_brightness(brightness);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue