From e93544cfc6a42a2b6aab55f656b74fecefa4346f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 10 May 2022 13:04:50 +0300 Subject: [PATCH] tutorial/sinesrc: Use pushsrc as direct superclass in the glib::wrapper macro too --- tutorial/src/sinesrc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/src/sinesrc/mod.rs b/tutorial/src/sinesrc/mod.rs index bb95ff41..7257cf8a 100644 --- a/tutorial/src/sinesrc/mod.rs +++ b/tutorial/src/sinesrc/mod.rs @@ -15,7 +15,7 @@ mod imp; // The public Rust wrapper type for our element glib::wrapper! { - pub struct SineSrc(ObjectSubclass) @extends gst_base::BaseSrc, gst::Element, gst::Object; + pub struct SineSrc(ObjectSubclass) @extends gst_base::PushSrc, gst_base::BaseSrc, gst::Element, gst::Object; } // Registers the type for our element, and then registers in GStreamer under