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
25pub trait VideoAggregatorExt: IsA<VideoAggregator> + 'static {
26 //#[cfg(feature = "v1_20")]
27 //#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
28 //#[doc(alias = "gst_video_aggregator_get_execution_task_pool")]
29 //#[doc(alias = "get_execution_task_pool")]
30 //fn execution_task_pool(&self) -> /*Ignored*/gst::TaskPool {
31 // unsafe { TODO: call ffi:gst_video_aggregator_get_execution_task_pool() }
32 //}
33}
34
35impl<O: IsA<VideoAggregator>> VideoAggregatorExt for O {}