mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-04 17:26:31 +00:00
764143d971
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>
20 lines
371 B
Rust
20 lines
371 B
Rust
use gst::glib;
|
|
use gstrswebrtc::signaller::Signallable;
|
|
|
|
mod imp;
|
|
|
|
glib::wrapper! {
|
|
pub struct MyCustomSignaller(ObjectSubclass<imp::Signaller>) @implements Signallable;
|
|
}
|
|
|
|
impl MyCustomSignaller {
|
|
pub fn new() -> Self {
|
|
glib::Object::new()
|
|
}
|
|
}
|
|
|
|
impl Default for MyCustomSignaller {
|
|
fn default() -> Self {
|
|
MyCustomSignaller::new()
|
|
}
|
|
}
|