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>2022-02-28 19:32:36 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-02-28 19:56:58 +0300
commitb38f6cc731b1b4bcec1e19f7e5b9767d1804d343 (patch)
tree55e3a6a616d0b1a4549b3553ca744f58beeb09e6 /video/rav1e
parentd9f3e8e9e7249c3a0c8c251c7e371079f6846ff7 (diff)
Remove now unnecessary `Send+Sync` impls for element/etc subclasses
This is now automatically implemented.
Diffstat (limited to 'video/rav1e')
-rw-r--r--video/rav1e/src/rav1enc/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/rav1e/src/rav1enc/mod.rs b/video/rav1e/src/rav1enc/mod.rs
index 09269cf7e..26a167984 100644
--- a/video/rav1e/src/rav1enc/mod.rs
+++ b/video/rav1e/src/rav1enc/mod.rs
@@ -17,11 +17,6 @@ glib::wrapper! {
pub struct Rav1Enc(ObjectSubclass<imp::Rav1Enc>) @extends gst_video::VideoEncoder, gst::Element, gst::Object;
}
-// GStreamer elements need to be thread-safe. For the private implementation this is automatically
-// enforced but for the public wrapper type we need to specify this manually.
-unsafe impl Send for Rav1Enc {}
-unsafe impl Sync for Rav1Enc {}
-
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),