Implement Sync for VideoInfo and AudioInfo

They are immutable on the Rust side after all.
This commit is contained in:
Sebastian Dröge 2018-09-22 10:56:25 +03:00
parent c1d56ce94e
commit c21f98d2c3
2 changed files with 2 additions and 0 deletions

View file

@ -303,6 +303,7 @@ impl PartialEq for AudioInfo {
impl Eq for AudioInfo {} impl Eq for AudioInfo {}
unsafe impl Send for AudioInfo {} unsafe impl Send for AudioInfo {}
unsafe impl Sync for AudioInfo {}
impl glib::types::StaticType for AudioInfo { impl glib::types::StaticType for AudioInfo {
fn static_type() -> glib::types::Type { fn static_type() -> glib::types::Type {

View file

@ -658,6 +658,7 @@ impl PartialEq for VideoInfo {
impl Eq for VideoInfo {} impl Eq for VideoInfo {}
unsafe impl Send for VideoInfo {} unsafe impl Send for VideoInfo {}
unsafe impl Sync for VideoInfo {}
impl glib::types::StaticType for VideoInfo { impl glib::types::StaticType for VideoInfo {
fn static_type() -> glib::types::Type { fn static_type() -> glib::types::Type {