diff --git a/Cargo.lock b/Cargo.lock index a2ee5be9..e6ee2eb3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1352,9 +1352,9 @@ dependencies = [ [[package]] name = "dash-mpd" -version = "0.14.8" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c81c5809ddb313f6357b26e1bf484e4811257951bded02a9799f97d3912411d5" +checksum = "18c18f28b58beade78e0f61a846a63a122cb92c5f5ed6bad29d7ad13287c7526" dependencies = [ "base64 0.21.7", "base64-serde", @@ -1369,7 +1369,6 @@ dependencies = [ "serde_path_to_error", "serde_with", "thiserror", - "tokio", "tracing", "url", "xattr", @@ -5625,9 +5624,9 @@ checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" [[package]] name = "serde" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -5643,9 +5642,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", diff --git a/mux/fmp4/Cargo.toml b/mux/fmp4/Cargo.toml index af2514fe..e27a9114 100644 --- a/mux/fmp4/Cargo.toml +++ b/mux/fmp4/Cargo.toml @@ -27,7 +27,7 @@ gst-app = { workspace = true, features = ["v1_18"] } gst-check = { workspace = true, features = ["v1_18"] } m3u8-rs = "5.0" chrono = "0.4" -dash-mpd = { version = "0.14", default-features = false } +dash-mpd = { version = "0.15", default-features = false } quick-xml = { version = "0.31", features = ["serialize"] } serde = "1" diff --git a/mux/fmp4/examples/dash_vod.rs b/mux/fmp4/examples/dash_vod.rs index 7f25094e..dd0f1d19 100644 --- a/mux/fmp4/examples/dash_vod.rs +++ b/mux/fmp4/examples/dash_vod.rs @@ -182,8 +182,8 @@ fn main() -> Result<(), Error> { let mut write_segment = |start: gst::ClockTime, duration: gst::ClockTime, repeat: usize| { let mut s = dash_mpd::S { - t: Some(start.mseconds() as i64), - d: duration.mseconds() as i64, + t: Some(start.mseconds()), + d: duration.mseconds(), ..Default::default() }; if repeat > 0 {