From a3d114e18f97d95c7186a8cea4ac470b20e9be41 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 4 Dec 2024 21:45:58 +1100 Subject: [PATCH] cea708overlay: fix background/foreground type Part-of: --- video/closedcaption/src/cea708utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/closedcaption/src/cea708utils.rs b/video/closedcaption/src/cea708utils.rs index 6b2fc8fc..03b12847 100644 --- a/video/closedcaption/src/cea708utils.rs +++ b/video/closedcaption/src/cea708utils.rs @@ -689,7 +689,7 @@ fn pango_foreground_opacity_from_708(args: &SetPenColorArgs) -> pango::AttrInt { } 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.g), color_value_as_u16(args.background_color.b),