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:
authorThibault Saunier <tsaunier@igalia.com>2022-10-19 22:22:31 +0300
committerThibault Saunier <tsaunier@igalia.com>2022-10-20 14:32:31 +0300
commitad78936365043d43768373c9101082dc75dd76e4 (patch)
tree2b53a5cfe2736e1a4ab4192a6bfa41b9adc779aa
parent0f0dec7fa9c1e536b852c32a04c577bc1fd12049 (diff)
webrtc: Enable more documentation
-rw-r--r--net/webrtc/src/lib.rs1
-rw-r--r--net/webrtc/src/webrtcsink/imp.rs8
2 files changed, 5 insertions, 4 deletions
diff --git a/net/webrtc/src/lib.rs b/net/webrtc/src/lib.rs
index b8ae5413..de194532 100644
--- a/net/webrtc/src/lib.rs
+++ b/net/webrtc/src/lib.rs
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
+#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
/**
* plugin-rswebrtc:
diff --git a/net/webrtc/src/webrtcsink/imp.rs b/net/webrtc/src/webrtcsink/imp.rs
index d71cc9c0..13164a7e 100644
--- a/net/webrtc/src/webrtcsink/imp.rs
+++ b/net/webrtc/src/webrtcsink/imp.rs
@@ -2556,7 +2556,7 @@ impl ObjectImpl for WebRTCSink {
fn signals() -> &'static [glib::subclass::Signal] {
static SIGNALS: Lazy<Vec<glib::subclass::Signal>> = Lazy::new(|| {
vec![
- /*
+ /**
* RsWebRTCSink::consumer-added:
* @consumer_id: Identifier of the consumer added
* @webrtcbin: The new webrtcbin
@@ -2567,7 +2567,7 @@ impl ObjectImpl for WebRTCSink {
glib::subclass::Signal::builder("consumer-added")
.param_types([String::static_type(), gst::Element::static_type()])
.build(),
- /*
+ /**
* RsWebRTCSink::consumer_removed:
* @consumer_id: Identifier of the consumer that was removed
* @webrtcbin: The webrtcbin connected to the newly removed consumer
@@ -2578,7 +2578,7 @@ impl ObjectImpl for WebRTCSink {
glib::subclass::Signal::builder("consumer-removed")
.param_types([String::static_type(), gst::Element::static_type()])
.build(),
- /*
+ /**
* RsWebRTCSink::get_sessions:
*
* List all sessions (by ID).
@@ -2603,7 +2603,7 @@ impl ObjectImpl for WebRTCSink {
})
.return_type::<Vec<String>>()
.build(),
- /*
+ /**
* RsWebRTCSink::encoder-setup:
* @consumer_id: Identifier of the consumer
* @pad_name: The name of the corresponding input pad