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

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-10-13 14:45:58 +0300
committerSebastian Dröge <slomo@coaxion.net>2022-10-13 20:54:08 +0300
commit862c2af1d9e81743f659609552ad4d409fb9c1fb (patch)
treedad123b48965f13fbbf4273ae57bb58f1255ae96
parentdbd5a44b900c36994a55474017ad875a0639b0bd (diff)
ndi: Remove unnecessary explicit `Send+Sync` impls
These are automatically available now.
-rw-r--r--net/ndi/src/device_provider/mod.rs6
-rw-r--r--net/ndi/src/ndisink/mod.rs3
-rw-r--r--net/ndi/src/ndisinkcombiner/mod.rs3
-rw-r--r--net/ndi/src/ndisrc/mod.rs3
-rw-r--r--net/ndi/src/ndisrcdemux/mod.rs3
5 files changed, 0 insertions, 18 deletions
diff --git a/net/ndi/src/device_provider/mod.rs b/net/ndi/src/device_provider/mod.rs
index cd61e356..288e4660 100644
--- a/net/ndi/src/device_provider/mod.rs
+++ b/net/ndi/src/device_provider/mod.rs
@@ -8,16 +8,10 @@ glib::wrapper! {
pub struct DeviceProvider(ObjectSubclass<imp::DeviceProvider>) @extends gst::DeviceProvider, gst::Object;
}
-unsafe impl Send for DeviceProvider {}
-unsafe impl Sync for DeviceProvider {}
-
glib::wrapper! {
pub struct Device(ObjectSubclass<imp::Device>) @extends gst::Device, gst::Object;
}
-unsafe impl Send for Device {}
-unsafe impl Sync for Device {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::DeviceProvider::register(
Some(plugin),
diff --git a/net/ndi/src/ndisink/mod.rs b/net/ndi/src/ndisink/mod.rs
index a2affba6..84056e09 100644
--- a/net/ndi/src/ndisink/mod.rs
+++ b/net/ndi/src/ndisink/mod.rs
@@ -8,9 +8,6 @@ glib::wrapper! {
pub struct NdiSink(ObjectSubclass<imp::NdiSink>) @extends gst_base::BaseSink, gst::Element, gst::Object;
}
-unsafe impl Send for NdiSink {}
-unsafe impl Sync for NdiSink {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
diff --git a/net/ndi/src/ndisinkcombiner/mod.rs b/net/ndi/src/ndisinkcombiner/mod.rs
index c1a902fe..9bdf5bfd 100644
--- a/net/ndi/src/ndisinkcombiner/mod.rs
+++ b/net/ndi/src/ndisinkcombiner/mod.rs
@@ -8,9 +8,6 @@ glib::wrapper! {
pub struct NdiSinkCombiner(ObjectSubclass<imp::NdiSinkCombiner>) @extends gst_base::Aggregator, gst::Element, gst::Object;
}
-unsafe impl Send for NdiSinkCombiner {}
-unsafe impl Sync for NdiSinkCombiner {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
diff --git a/net/ndi/src/ndisrc/mod.rs b/net/ndi/src/ndisrc/mod.rs
index 0b5f9bee..eddc3b1f 100644
--- a/net/ndi/src/ndisrc/mod.rs
+++ b/net/ndi/src/ndisrc/mod.rs
@@ -9,9 +9,6 @@ glib::wrapper! {
pub struct NdiSrc(ObjectSubclass<imp::NdiSrc>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
}
-unsafe impl Send for NdiSrc {}
-unsafe impl Sync for NdiSrc {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
diff --git a/net/ndi/src/ndisrcdemux/mod.rs b/net/ndi/src/ndisrcdemux/mod.rs
index 59e36120..4ae8c11c 100644
--- a/net/ndi/src/ndisrcdemux/mod.rs
+++ b/net/ndi/src/ndisrcdemux/mod.rs
@@ -8,9 +8,6 @@ glib::wrapper! {
pub struct NdiSrcDemux(ObjectSubclass<imp::NdiSrcDemux>) @extends gst::Element, gst::Object;
}
-unsafe impl Send for NdiSrcDemux {}
-unsafe impl Sync for NdiSrcDemux {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),