mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-05-31 22:58:11 +00:00
closedcaption/mccenc: Update for glib::DateTime / TimeSpan API changes
This commit is contained in:
parent
b9541b2ca4
commit
da4122a721
|
@ -130,7 +130,7 @@ impl MccEnc {
|
|||
creation_date.seconds() as u32,
|
||||
)
|
||||
.with_timezone(&FixedOffset::east(
|
||||
(creation_date.utc_offset() / 1_000_000) as i32,
|
||||
creation_date.utc_offset().as_seconds() as i32
|
||||
));
|
||||
|
||||
let _ = write!(
|
||||
|
|
Loading…
Reference in a new issue