From 46327b231fab78be721d29bc548cc66683d2eddf Mon Sep 17 00:00:00 2001 From: fengalin Date: Tue, 15 Aug 2017 16:02:49 +0200 Subject: [PATCH] Define Sync and Send traits for AudioInfo Fixes https://github.com/sdroege/gstreamer-rs/pull/27 --- gstreamer-audio/src/audio_info.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gstreamer-audio/src/audio_info.rs b/gstreamer-audio/src/audio_info.rs index 185d4d6ec..881bd0aee 100644 --- a/gstreamer-audio/src/audio_info.rs +++ b/gstreamer-audio/src/audio_info.rs @@ -263,6 +263,9 @@ impl PartialEq for AudioInfo { impl Eq for AudioInfo {} +unsafe impl Sync for AudioInfo {} +unsafe impl Send for AudioInfo {} + impl glib::types::StaticType for AudioInfo { fn static_type() -> glib::types::Type { unsafe { glib::translate::from_glib(ffi::gst_audio_info_get_type()) }