mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-07 01:35:29 +00:00
tutorial/sinesrc: Use pushsrc as direct superclass in the glib::wrapper macro too
This commit is contained in:
parent
5c426a3649
commit
3b6ab8f722
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue