mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
video: Add subclassing bindings for VideoAggregatorConvertPad
This commit is contained in:
parent
5c14350079
commit
8908d4bc98
2 changed files with 16 additions and 0 deletions
|
@ -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};
|
||||
|
|
10
gstreamer-video/src/subclass/video_aggregator_convert_pad.rs
Normal file
10
gstreamer-video/src/subclass/video_aggregator_convert_pad.rs
Normal 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 {}
|
Loading…
Reference in a new issue