From 3b6ab8f722688325a557489009ef5d273ccb600e 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: 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 5b5f5d92e..c2d9ded2c 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; } // GStreamer elements need to be thread-safe. For the private implementation this is automatically -- cgit v1.2.3