mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-18 16:16:28 +00:00
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:
parent
144a0e431c
commit
01ef35eac8
1 changed files with 3 additions and 1 deletions
|
@ -313,9 +313,11 @@ pub struct Cea708Renderer {
|
||||||
|
|
||||||
impl Cea708Renderer {
|
impl Cea708Renderer {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
|
let mut cea608 = Cea608Renderer::new();
|
||||||
|
cea608.set_black_background(true);
|
||||||
Self {
|
Self {
|
||||||
selected: None,
|
selected: None,
|
||||||
cea608: Cea608Renderer::new(),
|
cea608,
|
||||||
service: None,
|
service: None,
|
||||||
video_width: 0,
|
video_width: 0,
|
||||||
video_height: 0,
|
video_height: 0,
|
||||||
|
|
Loading…
Reference in a new issue