tutorial/sinesrc: Use pushsrc as direct superclass in the glib::wrapper macro too

This commit is contained in:
Sebastian Dröge 2022-05-10 13:04:50 +03:00 committed by Sebastian Dröge
parent a4aa45d27f
commit e93544cfc6

View file

@ -15,7 +15,7 @@ mod imp;
// The public Rust wrapper type for our element
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