cea608overlay: Fix black-background setting

Apply the property to newly created renderer

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1542>
This commit is contained in:
Seungha Yang 2024-04-15 22:05:00 +09:00 committed by GStreamer Marge Bot
parent d6a855ff1b
commit b3d3895ae7

View file

@ -529,6 +529,9 @@ impl ElementImpl for Cea608Overlay {
-1 => None,
val => Some(val as u8),
};
state
.renderer
.set_black_background(settings.black_background);
}
_ => (),
}