gstreamer_video/auto/
video_aggregator_convert_pad.rs1use crate::{ffi, VideoAggregatorPad};
7use glib::{prelude::*, translate::*};
8
9glib::wrapper! {
10 #[doc(alias = "GstVideoAggregatorConvertPad")]
11 pub struct VideoAggregatorConvertPad(Object<ffi::GstVideoAggregatorConvertPad, ffi::GstVideoAggregatorConvertPadClass>) @extends VideoAggregatorPad, gst_base::AggregatorPad, gst::Pad, gst::Object;
12
13 match fn {
14 type_ => || ffi::gst_video_aggregator_convert_pad_get_type(),
15 }
16}
17
18impl VideoAggregatorConvertPad {
19 pub const NONE: Option<&'static VideoAggregatorConvertPad> = None;
20}
21
22unsafe impl Send for VideoAggregatorConvertPad {}
23unsafe impl Sync for VideoAggregatorConvertPad {}
24
25mod sealed {
26 pub trait Sealed {}
27 impl<T: super::IsA<super::VideoAggregatorConvertPad>> Sealed for T {}
28}
29
30pub trait VideoAggregatorConvertPadExt:
31 IsA<VideoAggregatorConvertPad> + sealed::Sealed + 'static
32{
33 #[doc(alias = "gst_video_aggregator_convert_pad_update_conversion_info")]
34 fn update_conversion_info(&self) {
35 unsafe {
36 ffi::gst_video_aggregator_convert_pad_update_conversion_info(
37 self.as_ref().to_glib_none().0,
38 );
39 }
40 }
41}
42
43impl<O: IsA<VideoAggregatorConvertPad>> VideoAggregatorConvertPadExt for O {}