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),