mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-06-05 15:09:00 +00:00
Implement Sync for DateTime
It's immutable.
This commit is contained in:
parent
9223386750
commit
48958d381e
2 changed files with 2 additions and 5 deletions
|
@ -69,6 +69,7 @@ generate = [
|
||||||
"Gst.ParseFlags",
|
"Gst.ParseFlags",
|
||||||
"Gst.TaskState",
|
"Gst.TaskState",
|
||||||
"Gst.PluginDependencyFlags",
|
"Gst.PluginDependencyFlags",
|
||||||
|
"Gst.DateTime",
|
||||||
]
|
]
|
||||||
|
|
||||||
manual = [
|
manual = [
|
||||||
|
@ -211,11 +212,6 @@ name = "Gst.TocEntry"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
ref_mode = "ref"
|
ref_mode = "ref"
|
||||||
|
|
||||||
[[object]]
|
|
||||||
name = "Gst.DateTime"
|
|
||||||
status = "generate"
|
|
||||||
concurrency = "send"
|
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Clock"
|
name = "Gst.Clock"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
|
@ -189,3 +189,4 @@ impl DateTime {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for DateTime {}
|
unsafe impl Send for DateTime {}
|
||||||
|
unsafe impl Sync for DateTime {}
|
||||||
|
|
Loading…
Reference in a new issue