diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-05-10 13:04:50 +0300 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2022-05-10 13:05:48 +0300 |
commit | e93544cfc6a42a2b6aab55f656b74fecefa4346f (patch) | |
tree | 86e55fcdcb4a66d36dc4ad563a1bfb47a0f28f55 /tutorial/src | |
parent | a4aa45d27f03434bc40c41b96f473c0e8a481c22 (diff) |
tutorial/sinesrc: Use pushsrc as direct superclass in the glib::wrapper macro too
Diffstat (limited to 'tutorial/src')
-rw-r--r-- | tutorial/src/sinesrc/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/src/sinesrc/mod.rs b/tutorial/src/sinesrc/mod.rs index bb95ff41a..7257cf8ae 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<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 |