video: Add subclassing bindings for VideoAggregatorConvertPad

This commit is contained in:
Sebastian Dröge 2022-04-01 10:56:44 +03:00
parent 33982ccf2c
commit ef387890fa
2 changed files with 16 additions and 0 deletions

View file

@ -8,6 +8,9 @@ mod navigation;
mod video_aggregator;
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
mod video_aggregator_convert_pad;
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
mod video_aggregator_pad;
mod video_decoder;
mod video_encoder;
@ -28,6 +31,9 @@ pub mod prelude {
pub use super::video_aggregator::{VideoAggregatorImpl, VideoAggregatorImplExt};
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
pub use super::video_aggregator_convert_pad::VideoAggregatorConvertPadImpl;
#[cfg(any(feature = "v1_16", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
pub use super::video_aggregator_pad::{VideoAggregatorPadImpl, VideoAggregatorPadImplExt};
pub use super::video_decoder::{VideoDecoderImpl, VideoDecoderImplExt};
pub use super::video_encoder::{VideoEncoderImpl, VideoEncoderImplExt};

View file

@ -0,0 +1,10 @@
// Take a look at the license at the top of the repository in the LICENSE file.
use gst_base::subclass::prelude::*;
use super::prelude::VideoAggregatorPadImpl;
use crate::VideoAggregatorConvertPad;
pub trait VideoAggregatorConvertPadImpl: VideoAggregatorPadImpl {}
unsafe impl<T: VideoAggregatorConvertPadImpl> IsSubclassable<T> for VideoAggregatorConvertPad {}