mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 12:01:01 +00:00
GStreamer plugins written in Rust.
*These plugins can be used by applications written in other programming languages as well of course, they are just like any other GStreamer plugins available on the system.*
1377916b3b
https://doc.rust-lang.org/book/second-edition/ch19-03-advanced-traits.html#the-newtype-pattern-to-implement-external-traits-on-external-types error[E0277]: the trait bound `*mut std::os::raw::c_void: std::marker::Send` is not satisfied in `ndisrc::State` --> src/ndisrc.rs:276:6 | 276 | impl ObjectImpl<BaseSrc> for NdiSrc { | ^^^^^^^^^^^^^^^^^^^ `*mut std::os::raw::c_void` cannot be sent between threads safely | = help: within `ndisrc::State`, the trait `std::marker::Send` is not implemented for `*mut std::os::raw::c_void` = note: required because it appears within the type `std::option::Option<*mut std::os::raw::c_void>` = note: required because it appears within the type `ndisrc::State` = note: required because of the requirements on the impl of `std::marker::Sync` for `std::sync::Mutex<ndisrc::State>` = note: required because it appears within the type `ndisrc::NdiSrc` error[E0277]: the trait bound `*mut std::os::raw::c_void: std::marker::Send` is not satisfied in `ndisrc::State` --> src/ndisrc.rs:405:6 | 405 | impl ElementImpl<BaseSrc> for NdiSrc { | ^^^^^^^^^^^^^^^^^^^^ `*mut std::os::raw::c_void` cannot be sent between threads safely | = help: within `ndisrc::State`, the trait `std::marker::Send` is not implemented for `*mut std::os::raw::c_void` = note: required because it appears within the type `std::option::Option<*mut std::os::raw::c_void>` = note: required because it appears within the type `ndisrc::State` = note: required because of the requirements on the impl of `std::marker::Sync` for `std::sync::Mutex<ndisrc::State>` = note: required because it appears within the type `ndisrc::NdiSrc` error[E0277]: the trait bound `*mut std::os::raw::c_void: std::marker::Send` is not satisfied in `ndisrc::State` --> src/ndisrc.rs:424:6 | 424 | impl BaseSrcImpl<BaseSrc> for NdiSrc { | ^^^^^^^^^^^^^^^^^^^^ `*mut std::os::raw::c_void` cannot be sent between threads safely | = help: within `ndisrc::State`, the trait `std::marker::Send` is not implemented for `*mut std::os::raw::c_void` = note: required because it appears within the type `std::option::Option<*mut std::os::raw::c_void>` = note: required because it appears within the type `ndisrc::State` = note: required because of the requirements on the impl of `std::marker::Sync` for `std::sync::Mutex<ndisrc::State>` = note: required because it appears within the type `ndisrc::NdiSrc` error: aborting due to 3 previous errors |
||
---|---|---|
example | ||
gst-plugin-ndi | ||
.gitignore |