mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
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)]
|
||||
pub struct QueryRef(ffi::GstQuery);
|
||||
|
||||
unsafe impl Send for QueryRef {}
|
||||
unsafe impl Sync for QueryRef {}
|
||||
|
||||
pub type Query = GstRc<QueryRef>;
|
||||
|
||||
unsafe impl MiniObject for QueryRef {
|
||||
|
|
Loading…
Reference in a new issue