mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-18 08:06:31 +00:00
cea708overlay: fix background/foreground type
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1942>
This commit is contained in:
parent
01ef35eac8
commit
a3d114e18f
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ fn pango_foreground_opacity_from_708(args: &SetPenColorArgs) -> pango::AttrInt {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn pango_background_color_from_708(args: &SetPenColorArgs) -> pango::AttrColor {
|
fn pango_background_color_from_708(args: &SetPenColorArgs) -> pango::AttrColor {
|
||||||
pango::AttrColor::new_foreground(
|
pango::AttrColor::new_background(
|
||||||
color_value_as_u16(args.background_color.r),
|
color_value_as_u16(args.background_color.r),
|
||||||
color_value_as_u16(args.background_color.g),
|
color_value_as_u16(args.background_color.g),
|
||||||
color_value_as_u16(args.background_color.b),
|
color_value_as_u16(args.background_color.b),
|
||||||
|
|
Loading…
Reference in a new issue