Define Sync and Send traits for AudioInfo

Fixes https://github.com/sdroege/gstreamer-rs/pull/27
This commit is contained in:
fengalin 2017-08-15 16:02:49 +02:00 committed by Sebastian Dröge
parent b0307f9108
commit 46327b231f

View file

@ -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()) }