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
25pub trait VideoAggregatorConvertPadExt: IsA<VideoAggregatorConvertPad> + 'static {
26 #[doc(alias = "gst_video_aggregator_convert_pad_update_conversion_info")]
27 fn update_conversion_info(&self) {
28 unsafe {
29 ffi::gst_video_aggregator_convert_pad_update_conversion_info(
30 self.as_ref().to_glib_none().0,
31 );
32 }
33 }
34}
35
36impl<O: IsA<VideoAggregatorConvertPad>> VideoAggregatorConvertPadExt for O {}