Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-10-18 18:38:15 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-12-18 10:52:03 +0300
commit9db4c45e470ca218c8a789ed481cb312356f4f59 (patch)
treea5940d6631a4cdd5de3d156fa2b46e40d56afb86
parentab093e4218cd65792bb374b950c8b9b626425c45 (diff)
ndi: Remove wrong `Clone` impl on `RecvInstance`
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1410>
-rw-r--r--net/ndi/src/ndi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ndi/src/ndi.rs b/net/ndi/src/ndi.rs
index ecbc648cf..a7edcd795 100644
--- a/net/ndi/src/ndi.rs
+++ b/net/ndi/src/ndi.rs
@@ -76,6 +76,7 @@ impl<'a> FindBuilder<'a> {
#[derive(Debug)]
pub struct FindInstance(ptr::NonNull<::std::os::raw::c_void>);
+
unsafe impl Send for FindInstance {}
impl FindInstance {
@@ -250,7 +251,7 @@ impl<'a> RecvBuilder<'a> {
}
}
-#[derive(Debug, Clone)]
+#[derive(Debug)]
pub struct RecvInstance(ptr::NonNull<::std::os::raw::c_void>);
unsafe impl Send for RecvInstance {}