gstreamer-rs/gstreamer-audio/src/subclass/audio_base_src.rs
Sebastian Dröge 7f0ca0011c Add gst::GstObjectImpl, gst::ProxyPadImpl, gst_audio::AudioBaseSrc, gst_audio::AudioBaseSink subclassing traits
These were missing from the type hierarchy previously and are now
required because of more strict checks in the GLib bindings.
2021-10-23 11:59:03 +03:00

10 lines
259 B
Rust

// Take a look at the license at the top of the repository in the LICENSE file.
use gst_base::subclass::prelude::*;
use crate::AudioBaseSrc;
pub trait AudioBaseSrcImpl: BaseSrcImpl {}
unsafe impl<T: AudioBaseSrcImpl> IsSubclassable<T> for AudioBaseSrc {}