mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +00:00
closedcaption: Update to uuid 1.0
This commit is contained in:
parent
0735908f44
commit
05f395eef1
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|||
anyhow = "1"
|
||||
nom = "7.0"
|
||||
either = "1"
|
||||
uuid = { version = "0.8", features = ["v4"] }
|
||||
uuid = { version = "1.0", features = ["v4"] }
|
||||
chrono = "0.4"
|
||||
once_cell = "1.0"
|
||||
atomic_refcell = "0.1"
|
||||
|
|
|
@ -90,7 +90,7 @@ impl MccEnc {
|
|||
if let Some(ref uuid) = settings.uuid {
|
||||
let _ = write!(buffer, "UUID={}\r\n", uuid);
|
||||
} 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!(
|
||||
|
|
Loading…
Reference in a new issue