diff options
Diffstat (limited to 'generic/threadshare/src/inputselector/imp.rs')
-rw-r--r-- | generic/threadshare/src/inputselector/imp.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/threadshare/src/inputselector/imp.rs b/generic/threadshare/src/inputselector/imp.rs index a490a4641..c625886c3 100644 --- a/generic/threadshare/src/inputselector/imp.rs +++ b/generic/threadshare/src/inputselector/imp.rs @@ -20,7 +20,6 @@ use futures::future::{abortable, AbortHandle}; use futures::prelude::*; use glib::prelude::*; -use glib::subclass; use glib::subclass::prelude::*; use gst::prelude::*; @@ -391,15 +390,12 @@ impl InputSelector { } } +#[glib::object_subclass] impl ObjectSubclass for InputSelector { const NAME: &'static str = "RsTsInputSelector"; type Type = super::InputSelector; type ParentType = gst::Element; - type Interfaces = (); type Instance = gst::subclass::ElementInstanceStruct<Self>; - type Class = subclass::simple::ClassStruct<Self>; - - glib::object_subclass!(); fn with_class(klass: &Self::Class) -> Self { Self { |