forked from mirrors/gstreamer-rs
Implement Sync and Send for Query
Fixes https://github.com/sdroege/gstreamer-rs/pull/35
This commit is contained in:
parent
608279c6d4
commit
bb1b3cb1b4
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct QueryRef(ffi::GstQuery);
|
pub struct QueryRef(ffi::GstQuery);
|
||||||
|
|
||||||
|
unsafe impl Send for QueryRef {}
|
||||||
|
unsafe impl Sync for QueryRef {}
|
||||||
|
|
||||||
pub type Query = GstRc<QueryRef>;
|
pub type Query = GstRc<QueryRef>;
|
||||||
|
|
||||||
unsafe impl MiniObject for QueryRef {
|
unsafe impl MiniObject for QueryRef {
|
||||||
|
|
Loading…
Reference in a new issue