Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-05-10 13:04:50 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-06-07 20:41:40 +0300
commit3b6ab8f722688325a557489009ef5d273ccb600e (patch)
treeddd977468b549df4ba6a8b42d235b8b84d9c036b
parent5c426a36494cbf5ab4b463424b07a109d77d9a71 (diff)
tutorial/sinesrc: Use pushsrc as direct superclass in the glib::wrapper macro too
-rw-r--r--tutorial/src/sinesrc/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<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