From b3d3895ae78f7372e22fdc666282e2425a68af6e Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 15 Apr 2024 22:05:00 +0900 Subject: [PATCH] cea608overlay: Fix black-background setting Apply the property to newly created renderer Part-of: --- video/closedcaption/src/cea608overlay/imp.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video/closedcaption/src/cea608overlay/imp.rs b/video/closedcaption/src/cea608overlay/imp.rs index 1bb075d4..fc500c52 100644 --- a/video/closedcaption/src/cea608overlay/imp.rs +++ b/video/closedcaption/src/cea608overlay/imp.rs @@ -529,6 +529,9 @@ impl ElementImpl for Cea608Overlay { -1 => None, val => Some(val as u8), }; + state + .renderer + .set_black_background(settings.black_background); } _ => (), }