mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 04:51:26 +00:00
tutorial/sinesrc: Use pushsrc as direct superclass in the glib::wrapper macro too
This commit is contained in:
parent
a4aa45d27f
commit
e93544cfc6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ mod imp;
|
||||||
|
|
||||||
// The public Rust wrapper type for our element
|
// The public Rust wrapper type for our element
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
pub struct SineSrc(ObjectSubclass<imp::SineSrc>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
|
pub struct SineSrc(ObjectSubclass<imp::SineSrc>) @extends gst_base::PushSrc, gst_base::BaseSrc, gst::Element, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Registers the type for our element, and then registers in GStreamer under
|
// Registers the type for our element, and then registers in GStreamer under
|
||||||
|
|
Loading…
Reference in a new issue