mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
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:
parent
d6a855ff1b
commit
b3d3895ae7
1 changed files with 3 additions and 0 deletions
|
@ -529,6 +529,9 @@ impl ElementImpl for Cea608Overlay {
|
|||
-1 => None,
|
||||
val => Some(val as u8),
|
||||
};
|
||||
state
|
||||
.renderer
|
||||
.set_black_background(settings.black_background);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue