mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +00:00
webrtc: Remove unnecessary manual Send+Sync
implementations for signallers
These are automatically implemented. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/483 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1432>
This commit is contained in:
parent
1af18f3028
commit
764143d971
5 changed files with 0 additions and 18 deletions
|
@ -7,9 +7,6 @@ glib::wrapper! {
|
|||
pub struct MyCustomSignaller(ObjectSubclass<imp::Signaller>) @implements Signallable;
|
||||
}
|
||||
|
||||
unsafe impl Send for MyCustomSignaller {}
|
||||
unsafe impl Sync for MyCustomSignaller {}
|
||||
|
||||
impl MyCustomSignaller {
|
||||
pub fn new() -> Self {
|
||||
glib::Object::new()
|
||||
|
|
|
@ -10,9 +10,6 @@ glib::wrapper! {
|
|||
pub struct AwsKvsSignaller(ObjectSubclass<imp::Signaller>) @implements Signallable;
|
||||
}
|
||||
|
||||
unsafe impl Send for AwsKvsSignaller {}
|
||||
unsafe impl Sync for AwsKvsSignaller {}
|
||||
|
||||
impl Default for AwsKvsSignaller {
|
||||
fn default() -> Self {
|
||||
glib::Object::new()
|
||||
|
|
|
@ -9,9 +9,6 @@ glib::wrapper! {
|
|||
pub struct JanusVRSignaller(ObjectSubclass<imp::Signaller>) @implements Signallable;
|
||||
}
|
||||
|
||||
unsafe impl Send for JanusVRSignaller {}
|
||||
unsafe impl Sync for JanusVRSignaller {}
|
||||
|
||||
impl Default for JanusVRSignaller {
|
||||
fn default() -> Self {
|
||||
glib::Object::new()
|
||||
|
|
|
@ -9,9 +9,6 @@ glib::wrapper! {
|
|||
pub struct LiveKitSignaller(ObjectSubclass<imp::Signaller>) @implements Signallable;
|
||||
}
|
||||
|
||||
unsafe impl Send for LiveKitSignaller {}
|
||||
unsafe impl Sync for LiveKitSignaller {}
|
||||
|
||||
impl Default for LiveKitSignaller {
|
||||
fn default() -> Self {
|
||||
glib::Object::new()
|
||||
|
|
|
@ -13,18 +13,12 @@ glib::wrapper! {
|
|||
pub struct WhipServerSignaller(ObjectSubclass<imp::WhipServer>) @implements Signallable;
|
||||
}
|
||||
|
||||
unsafe impl Send for WhipClientSignaller {}
|
||||
unsafe impl Sync for WhipClientSignaller {}
|
||||
|
||||
impl Default for WhipClientSignaller {
|
||||
fn default() -> Self {
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for WhipServerSignaller {}
|
||||
unsafe impl Sync for WhipServerSignaller {}
|
||||
|
||||
impl Default for WhipServerSignaller {
|
||||
fn default() -> Self {
|
||||
let sig: WhipServerSignaller = glib::Object::new();
|
||||
|
|
Loading…
Reference in a new issue