mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Implement Sync for VideoInfo and AudioInfo
They are immutable on the Rust side after all.
This commit is contained in:
parent
c1d56ce94e
commit
c21f98d2c3
2 changed files with 2 additions and 0 deletions
|
@ -303,6 +303,7 @@ impl PartialEq for AudioInfo {
|
|||
impl Eq for AudioInfo {}
|
||||
|
||||
unsafe impl Send for AudioInfo {}
|
||||
unsafe impl Sync for AudioInfo {}
|
||||
|
||||
impl glib::types::StaticType for AudioInfo {
|
||||
fn static_type() -> glib::types::Type {
|
||||
|
|
|
@ -658,6 +658,7 @@ impl PartialEq for VideoInfo {
|
|||
impl Eq for VideoInfo {}
|
||||
|
||||
unsafe impl Send for VideoInfo {}
|
||||
unsafe impl Sync for VideoInfo {}
|
||||
|
||||
impl glib::types::StaticType for VideoInfo {
|
||||
fn static_type() -> glib::types::Type {
|
||||
|
|
Loading…
Reference in a new issue