2022-03-21 17:18:54 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
|
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
|
|
|
// DO NOT EDIT
|
|
|
|
|
2024-06-01 13:14:58 +00:00
|
|
|
use crate::ffi;
|
2023-01-03 18:56:00 +00:00
|
|
|
use glib::prelude::*;
|
2022-03-21 17:18:54 +00:00
|
|
|
|
|
|
|
glib::wrapper! {
|
|
|
|
#[doc(alias = "GstVideoAggregator")]
|
|
|
|
pub struct VideoAggregator(Object<ffi::GstVideoAggregator, ffi::GstVideoAggregatorClass>) @extends gst_base::Aggregator, gst::Element, gst::Object;
|
|
|
|
|
|
|
|
match fn {
|
|
|
|
type_ => || ffi::gst_video_aggregator_get_type(),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl VideoAggregator {
|
|
|
|
pub const NONE: Option<&'static VideoAggregator> = None;
|
|
|
|
}
|
|
|
|
|
|
|
|
unsafe impl Send for VideoAggregator {}
|
|
|
|
unsafe impl Sync for VideoAggregator {}
|
|
|
|
|
2023-07-05 18:20:29 +00:00
|
|
|
mod sealed {
|
|
|
|
pub trait Sealed {}
|
|
|
|
impl<T: super::IsA<super::VideoAggregator>> Sealed for T {}
|
2022-03-21 17:18:54 +00:00
|
|
|
}
|
|
|
|
|
2023-07-05 18:20:29 +00:00
|
|
|
pub trait VideoAggregatorExt: IsA<VideoAggregator> + sealed::Sealed + 'static {
|
2023-05-04 05:51:18 +00:00
|
|
|
//#[cfg(feature = "v1_20")]
|
|
|
|
//#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
2023-07-05 18:20:29 +00:00
|
|
|
//#[doc(alias = "gst_video_aggregator_get_execution_task_pool")]
|
|
|
|
//#[doc(alias = "get_execution_task_pool")]
|
2022-10-18 15:16:11 +00:00
|
|
|
//fn execution_task_pool(&self) -> /*Ignored*/gst::TaskPool {
|
2022-03-21 17:18:54 +00:00
|
|
|
// unsafe { TODO: call ffi:gst_video_aggregator_get_execution_task_pool() }
|
|
|
|
//}
|
|
|
|
}
|
2023-07-05 18:20:29 +00:00
|
|
|
|
|
|
|
impl<O: IsA<VideoAggregator>> VideoAggregatorExt for O {}
|