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
path: root/text/json
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-02-28 19:32:36 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-02-28 19:56:58 +0300
commitb38f6cc731b1b4bcec1e19f7e5b9767d1804d343 (patch)
tree55e3a6a616d0b1a4549b3553ca744f58beeb09e6 /text/json
parentd9f3e8e9e7249c3a0c8c251c7e371079f6846ff7 (diff)
Remove now unnecessary `Send+Sync` impls for element/etc subclasses
This is now automatically implemented.
Diffstat (limited to 'text/json')
-rw-r--r--text/json/src/jsongstenc/mod.rs3
-rw-r--r--text/json/src/jsongstparse/mod.rs3
2 files changed, 0 insertions, 6 deletions
diff --git a/text/json/src/jsongstenc/mod.rs b/text/json/src/jsongstenc/mod.rs
index 8aa98329..f469b432 100644
--- a/text/json/src/jsongstenc/mod.rs
+++ b/text/json/src/jsongstenc/mod.rs
@@ -15,9 +15,6 @@ glib::wrapper! {
pub struct JsonGstEnc(ObjectSubclass<imp::JsonGstEnc>) @extends gst::Element, gst::Object;
}
-unsafe impl Send for JsonGstEnc {}
-unsafe impl Sync for JsonGstEnc {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
diff --git a/text/json/src/jsongstparse/mod.rs b/text/json/src/jsongstparse/mod.rs
index 1be7a6ab..5a466f48 100644
--- a/text/json/src/jsongstparse/mod.rs
+++ b/text/json/src/jsongstparse/mod.rs
@@ -15,9 +15,6 @@ glib::wrapper! {
pub struct JsonGstParse(ObjectSubclass<imp::JsonGstParse>) @extends gst::Element, gst::Object;
}
-unsafe impl Send for JsonGstParse {}
-unsafe impl Sync for JsonGstParse {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),