mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
Implement Sync and Send for Query
Fixes https://github.com/sdroege/gstreamer-rs/pull/35
This commit is contained in:
parent
c956d082cc
commit
01d7501da2
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