mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 13:31:00 +00:00
closedcaption: Update to uuid 1.0
This commit is contained in:
parent
d69b4edfbc
commit
ae32cc7f2b
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
nom = "7.0"
|
nom = "7.0"
|
||||||
either = "1"
|
either = "1"
|
||||||
uuid = { version = "0.8", features = ["v4"] }
|
uuid = { version = "1.0", features = ["v4"] }
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
once_cell = "1.0"
|
once_cell = "1.0"
|
||||||
atomic_refcell = "0.1"
|
atomic_refcell = "0.1"
|
||||||
|
|
|
@ -89,7 +89,7 @@ impl MccEnc {
|
||||||
if let Some(ref uuid) = settings.uuid {
|
if let Some(ref uuid) = settings.uuid {
|
||||||
let _ = write!(buffer, "UUID={}\r\n", uuid);
|
let _ = write!(buffer, "UUID={}\r\n", uuid);
|
||||||
} else {
|
} else {
|
||||||
let _ = write!(buffer, "UUID={:X}\r\n", Uuid::new_v4().to_hyphenated());
|
let _ = write!(buffer, "UUID={:X}\r\n", Uuid::new_v4().as_hyphenated());
|
||||||
}
|
}
|
||||||
|
|
||||||
let _ = write!(
|
let _ = write!(
|
||||||
|
|
Loading…
Reference in a new issue