From b38f6cc731b1b4bcec1e19f7e5b9767d1804d343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 28 Feb 2022 18:32:36 +0200 Subject: Remove now unnecessary `Send+Sync` impls for element/etc subclasses This is now automatically implemented. --- video/dav1d/src/dav1ddec/mod.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'video/dav1d') diff --git a/video/dav1d/src/dav1ddec/mod.rs b/video/dav1d/src/dav1ddec/mod.rs index 83e115873..f714b0230 100644 --- a/video/dav1d/src/dav1ddec/mod.rs +++ b/video/dav1d/src/dav1ddec/mod.rs @@ -17,11 +17,6 @@ glib::wrapper! { pub struct Dav1dDec(ObjectSubclass) @extends gst_video::VideoDecoder, 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 Dav1dDec {} -unsafe impl Sync for Dav1dDec {} - pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), -- cgit v1.2.3