gstreamer_video/auto/
video_aggregator.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6use crate::ffi;
7use glib::prelude::*;
8
9glib::wrapper! {
10    #[doc(alias = "GstVideoAggregator")]
11    pub struct VideoAggregator(Object<ffi::GstVideoAggregator, ffi::GstVideoAggregatorClass>) @extends gst_base::Aggregator, gst::Element, gst::Object;
12
13    match fn {
14        type_ => || ffi::gst_video_aggregator_get_type(),
15    }
16}
17
18impl VideoAggregator {
19    pub const NONE: Option<&'static VideoAggregator> = None;
20}
21
22unsafe impl Send for VideoAggregator {}
23unsafe impl Sync for VideoAggregator {}
24
25mod sealed {
26    pub trait Sealed {}
27    impl<T: super::IsA<super::VideoAggregator>> Sealed for T {}
28}
29
30pub trait VideoAggregatorExt: IsA<VideoAggregator> + sealed::Sealed + 'static {
31    //#[cfg(feature = "v1_20")]
32    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
33    //#[doc(alias = "gst_video_aggregator_get_execution_task_pool")]
34    //#[doc(alias = "get_execution_task_pool")]
35    //fn execution_task_pool(&self) -> /*Ignored*/gst::TaskPool {
36    //    unsafe { TODO: call ffi:gst_video_aggregator_get_execution_task_pool() }
37    //}
38}
39
40impl<O: IsA<VideoAggregator>> VideoAggregatorExt for O {}