mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
cea608overlay: Fix compilation after Pango API changes
This commit is contained in:
parent
78d7cbd7dd
commit
e81047b8a2
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ impl Cea608Overlay {
|
||||||
|
|
||||||
if self.settings.lock().unwrap().black_background {
|
if self.settings.lock().unwrap().black_background {
|
||||||
let attrs = pango::AttrList::new();
|
let attrs = pango::AttrList::new();
|
||||||
let attr = pango::AttrColor::new_background(0, 0, 0).upcast();
|
let attr = pango::AttrColor::new_background(0, 0, 0);
|
||||||
attrs.insert(attr);
|
attrs.insert(attr);
|
||||||
layout.set_attributes(Some(&attrs));
|
layout.set_attributes(Some(&attrs));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue