cea708overlay: fix background/foreground type

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1942>
This commit is contained in:
Matthew Waters 2024-12-04 21:45:58 +11:00 committed by GStreamer Marge Bot
parent 01ef35eac8
commit a3d114e18f

View file

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