forked from mirrors/gstreamer-rs
Regenerate
This commit is contained in:
parent
2fd12a5ec1
commit
8dfbc9e811
26 changed files with 67 additions and 36 deletions
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -85,6 +85,7 @@ impl UniqueAdapter {
|
||||||
self.0.copy_bytes(offset, size)
|
self.0.copy_bytes(offset, size)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn distance_from_discont(&self) -> u64 {
|
pub fn distance_from_discont(&self) -> u64 {
|
||||||
self.0.distance_from_discont()
|
self.0.distance_from_discont()
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,7 @@ impl Adapter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn distance_from_discont(&self) -> u64 {
|
pub fn distance_from_discont(&self) -> u64 {
|
||||||
unsafe { gst_base_sys::gst_adapter_distance_from_discont(self.to_glib_none().0) }
|
unsafe { gst_base_sys::gst_adapter_distance_from_discont(self.to_glib_none().0) }
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -13,9 +13,11 @@ use glib::StaticType;
|
||||||
use glib::Value;
|
use glib::Value;
|
||||||
use glib_sys;
|
use glib_sys;
|
||||||
use gobject_sys;
|
use gobject_sys;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
use gst;
|
use gst;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
use Asset;
|
use Asset;
|
||||||
use BaseEffect;
|
use BaseEffect;
|
||||||
|
@ -42,6 +44,7 @@ pub const NONE_CLIP: Option<&Clip> = None;
|
||||||
pub trait ClipExt: 'static {
|
pub trait ClipExt: 'static {
|
||||||
fn add_asset<P: IsA<Asset>>(&self, asset: &P) -> Result<TrackElement, glib::BoolError>;
|
fn add_asset<P: IsA<Asset>>(&self, asset: &P) -> Result<TrackElement, glib::BoolError>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn add_child_to_track<P: IsA<TrackElement>, Q: IsA<Track>>(
|
fn add_child_to_track<P: IsA<TrackElement>, Q: IsA<Track>>(
|
||||||
&self,
|
&self,
|
||||||
child: &P,
|
child: &P,
|
||||||
|
@ -79,6 +82,7 @@ pub trait ClipExt: 'static {
|
||||||
|
|
||||||
fn get_supported_formats(&self) -> TrackType;
|
fn get_supported_formats(&self) -> TrackType;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>(
|
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>(
|
||||||
&self,
|
&self,
|
||||||
child: &P,
|
child: &P,
|
||||||
|
@ -157,6 +161,7 @@ impl<O: IsA<Clip>> ClipExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn add_child_to_track<P: IsA<TrackElement>, Q: IsA<Track>>(
|
fn add_child_to_track<P: IsA<TrackElement>, Q: IsA<Track>>(
|
||||||
&self,
|
&self,
|
||||||
child: &P,
|
child: &P,
|
||||||
|
@ -273,6 +278,7 @@ impl<O: IsA<Clip>> ClipExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>(
|
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>(
|
||||||
&self,
|
&self,
|
||||||
child: &P,
|
child: &P,
|
||||||
|
|
|
@ -19,6 +19,7 @@ use Asset;
|
||||||
use Clip;
|
use Clip;
|
||||||
use Extractable;
|
use Extractable;
|
||||||
use Timeline;
|
use Timeline;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
use Track;
|
use Track;
|
||||||
use TrackType;
|
use TrackType;
|
||||||
|
|
||||||
|
@ -70,6 +71,7 @@ pub trait LayerExt: 'static {
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn add_clip_full<P: IsA<Clip>>(&self, clip: &P) -> Result<(), glib::Error>;
|
fn add_clip_full<P: IsA<Clip>>(&self, clip: &P) -> Result<(), glib::Error>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool;
|
fn get_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool;
|
||||||
|
|
||||||
fn get_auto_transition(&self) -> bool;
|
fn get_auto_transition(&self) -> bool;
|
||||||
|
@ -88,6 +90,7 @@ pub trait LayerExt: 'static {
|
||||||
|
|
||||||
fn remove_clip<P: IsA<Clip>>(&self, clip: &P) -> Result<(), glib::error::BoolError>;
|
fn remove_clip<P: IsA<Clip>>(&self, clip: &P) -> Result<(), glib::error::BoolError>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> bool;
|
fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> bool;
|
||||||
|
|
||||||
fn set_auto_transition(&self, auto_transition: bool);
|
fn set_auto_transition(&self, auto_transition: bool);
|
||||||
|
@ -191,6 +194,7 @@ impl<O: IsA<Layer>> LayerExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool {
|
fn get_active_for_track<P: IsA<Track>>(&self, track: &P) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
from_glib(ges_sys::ges_layer_get_active_for_track(
|
from_glib(ges_sys::ges_layer_get_active_for_track(
|
||||||
|
@ -262,6 +266,7 @@ impl<O: IsA<Layer>> LayerExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> bool {
|
fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
from_glib(ges_sys::ges_layer_set_active_for_tracks(
|
from_glib(ges_sys::ges_layer_set_active_for_tracks(
|
||||||
|
|
|
@ -16,6 +16,7 @@ use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
use Asset;
|
use Asset;
|
||||||
use Extractable;
|
use Extractable;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
use FrameNumber;
|
use FrameNumber;
|
||||||
use Group;
|
use Group;
|
||||||
use Layer;
|
use Layer;
|
||||||
|
@ -82,8 +83,10 @@ pub trait TimelineExt: 'static {
|
||||||
|
|
||||||
fn get_element(&self, name: &str) -> Option<TimelineElement>;
|
fn get_element(&self, name: &str) -> Option<TimelineElement>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber;
|
fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime;
|
fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime;
|
||||||
|
|
||||||
fn get_groups(&self) -> Vec<Group>;
|
fn get_groups(&self) -> Vec<Group>;
|
||||||
|
@ -242,12 +245,14 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber {
|
fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber {
|
||||||
unsafe {
|
unsafe {
|
||||||
ges_sys::ges_timeline_get_frame_at(self.as_ref().to_glib_none().0, timestamp.to_glib())
|
ges_sys::ges_timeline_get_frame_at(self.as_ref().to_glib_none().0, timestamp.to_glib())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime {
|
fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime {
|
||||||
unsafe {
|
unsafe {
|
||||||
from_glib(ges_sys::ges_timeline_get_frame_time(
|
from_glib(ges_sys::ges_timeline_get_frame_time(
|
||||||
|
|
|
@ -72,6 +72,7 @@ pub trait TrackElementExt: 'static {
|
||||||
|
|
||||||
fn get_track_type(&self) -> TrackType;
|
fn get_track_type(&self) -> TrackType;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn has_internal_source(&self) -> bool;
|
fn has_internal_source(&self) -> bool;
|
||||||
|
|
||||||
fn is_active(&self) -> bool;
|
fn is_active(&self) -> bool;
|
||||||
|
@ -90,6 +91,7 @@ pub trait TrackElementExt: 'static {
|
||||||
|
|
||||||
//fn set_control_source(&self, source: /*Ignored*/&gst::ControlSource, property_name: &str, binding_type: &str) -> bool;
|
//fn set_control_source(&self, source: /*Ignored*/&gst::ControlSource, property_name: &str, binding_type: &str) -> bool;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn set_has_internal_source(&self, has_internal_source: bool);
|
fn set_has_internal_source(&self, has_internal_source: bool);
|
||||||
|
|
||||||
fn set_track_type(&self, type_: TrackType);
|
fn set_track_type(&self, type_: TrackType);
|
||||||
|
@ -230,6 +232,7 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn has_internal_source(&self) -> bool {
|
fn has_internal_source(&self) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
from_glib(ges_sys::ges_track_element_has_internal_source(
|
from_glib(ges_sys::ges_track_element_has_internal_source(
|
||||||
|
@ -294,6 +297,7 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
||||||
// unsafe { TODO: call ges_sys:ges_track_element_set_control_source() }
|
// unsafe { TODO: call ges_sys:ges_track_element_set_control_source() }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn set_has_internal_source(&self, has_internal_source: bool) {
|
fn set_has_internal_source(&self, has_internal_source: bool) {
|
||||||
unsafe {
|
unsafe {
|
||||||
ges_sys::ges_track_element_set_has_internal_source(
|
ges_sys::ges_track_element_set_has_internal_source(
|
||||||
|
|
|
@ -27,6 +27,7 @@ pub trait UriSourceAssetExt: 'static {
|
||||||
|
|
||||||
fn get_stream_uri(&self) -> Option<GString>;
|
fn get_stream_uri(&self) -> Option<GString>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn is_image(&self) -> bool;
|
fn is_image(&self) -> bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,6 +56,7 @@ impl<O: IsA<UriSourceAsset>> UriSourceAssetExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
fn is_image(&self) -> bool {
|
fn is_image(&self) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
from_glib(ges_sys::ges_uri_source_asset_is_image(
|
from_glib(ges_sys::ges_uri_source_asset_is_image(
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
mod rtsp_auth_param;
|
mod rtsp_auth_param;
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub use self::rtsp_auth_param::RTSPAuthParam;
|
pub use self::rtsp_auth_param::RTSPAuthParam;
|
||||||
|
|
||||||
mod rtsp_url;
|
mod rtsp_url;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use gst_rtsp_sys;
|
use gst_rtsp_sys;
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -387,24 +387,28 @@ impl FromGlib<gst_video_sys::GstVideoOverlayFormatFlags> for VideoOverlayFormatF
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
impl StaticType for VideoOverlayFormatFlags {
|
impl StaticType for VideoOverlayFormatFlags {
|
||||||
fn static_type() -> Type {
|
fn static_type() -> Type {
|
||||||
unsafe { from_glib(gst_video_sys::gst_video_overlay_format_flags_get_type()) }
|
unsafe { from_glib(gst_video_sys::gst_video_overlay_format_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
impl<'a> FromValueOptional<'a> for VideoOverlayFormatFlags {
|
impl<'a> FromValueOptional<'a> for VideoOverlayFormatFlags {
|
||||||
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
|
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
|
||||||
Some(FromValue::from_value(value))
|
Some(FromValue::from_value(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
impl<'a> FromValue<'a> for VideoOverlayFormatFlags {
|
impl<'a> FromValue<'a> for VideoOverlayFormatFlags {
|
||||||
unsafe fn from_value(value: &Value) -> Self {
|
unsafe fn from_value(value: &Value) -> Self {
|
||||||
from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0))
|
from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
impl SetValue for VideoOverlayFormatFlags {
|
impl SetValue for VideoOverlayFormatFlags {
|
||||||
unsafe fn set_value(value: &mut Value, this: &Self) {
|
unsafe fn set_value(value: &mut Value, this: &Self) {
|
||||||
gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||||
|
@ -488,28 +492,28 @@ impl FromGlib<gst_video_sys::GstVideoTimeCodeFlags> for VideoTimeCodeFlags {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
impl StaticType for VideoTimeCodeFlags {
|
impl StaticType for VideoTimeCodeFlags {
|
||||||
fn static_type() -> Type {
|
fn static_type() -> Type {
|
||||||
unsafe { from_glib(gst_video_sys::gst_video_time_code_flags_get_type()) }
|
unsafe { from_glib(gst_video_sys::gst_video_time_code_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
impl<'a> FromValueOptional<'a> for VideoTimeCodeFlags {
|
impl<'a> FromValueOptional<'a> for VideoTimeCodeFlags {
|
||||||
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
|
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
|
||||||
Some(FromValue::from_value(value))
|
Some(FromValue::from_value(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
impl<'a> FromValue<'a> for VideoTimeCodeFlags {
|
impl<'a> FromValue<'a> for VideoTimeCodeFlags {
|
||||||
unsafe fn from_value(value: &Value) -> Self {
|
unsafe fn from_value(value: &Value) -> Self {
|
||||||
from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0))
|
from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
impl SetValue for VideoTimeCodeFlags {
|
impl SetValue for VideoTimeCodeFlags {
|
||||||
unsafe fn set_value(value: &mut Value, this: &Self) {
|
unsafe fn set_value(value: &mut Value, this: &Self) {
|
||||||
gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1a54d3bc)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
|
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)
|
||||||
|
|
Loading…
Reference in a new issue