cea708overlay: enable a black background by default

It is the recommended colour sceheme in CEA-608.

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:18 +11:00 committed by GStreamer Marge Bot
parent 144a0e431c
commit 01ef35eac8

View file

@ -313,9 +313,11 @@ pub struct Cea708Renderer {
impl Cea708Renderer {
pub fn new() -> Self {
let mut cea608 = Cea608Renderer::new();
cea608.set_black_background(true);
Self {
selected: None,
cea608: Cea608Renderer::new(),
cea608,
service: None,
video_width: 0,
video_height: 0,