diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-10-23 13:07:01 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-10-23 13:07:01 +0300 |
commit | da4122a7219896b2db2ffe4fd500cf00a99ca243 (patch) | |
tree | de690908d115bff8474f9c64438027f49d7d4ad1 /video | |
parent | b9541b2ca43f8f8904e234199ec3c33f48fede94 (diff) |
closedcaption/mccenc: Update for glib::DateTime / TimeSpan API changes
Diffstat (limited to 'video')
-rw-r--r-- | video/closedcaption/src/mcc_enc/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/closedcaption/src/mcc_enc/imp.rs b/video/closedcaption/src/mcc_enc/imp.rs index 83ebd387..9ca6a55a 100644 --- a/video/closedcaption/src/mcc_enc/imp.rs +++ b/video/closedcaption/src/mcc_enc/imp.rs @@ -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!( |