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
parent 5c426a3649
commit 3b6ab8f722

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;
}
// GStreamer elements need to be thread-safe. For the private implementation this is automatically