Regenerate

This commit is contained in:
Sebastian Dröge 2020-06-19 12:43:58 +03:00
parent 2fd12a5ec1
commit 8dfbc9e811
26 changed files with 67 additions and 36 deletions

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -85,6 +85,7 @@ impl UniqueAdapter {
self.0.copy_bytes(offset, size)
}
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn distance_from_discont(&self) -> u64 {
self.0.distance_from_discont()
}

View file

@ -48,6 +48,7 @@ impl Adapter {
}
}
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn distance_from_discont(&self) -> u64 {
unsafe { gst_base_sys::gst_adapter_distance_from_discont(self.to_glib_none().0) }
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -13,9 +13,11 @@ use glib::StaticType;
use glib::Value;
use glib_sys;
use gobject_sys;
#[cfg(any(feature = "v1_18", feature = "dox"))]
use gst;
use std::boxed::Box as Box_;
use std::mem::transmute;
#[cfg(any(feature = "v1_18", feature = "dox"))]
use std::ptr;
use Asset;
use BaseEffect;
@ -42,6 +44,7 @@ pub const NONE_CLIP: Option<&Clip> = None;
pub trait ClipExt: 'static {
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>>(
&self,
child: &P,
@ -79,6 +82,7 @@ pub trait ClipExt: 'static {
fn get_supported_formats(&self) -> TrackType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
fn get_timeline_time_from_internal_time<P: IsA<TrackElement>>(
&self,
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>>(
&self,
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>>(
&self,
child: &P,

View file

@ -19,6 +19,7 @@ use Asset;
use Clip;
use Extractable;
use Timeline;
#[cfg(any(feature = "v1_18", feature = "dox"))]
use Track;
use TrackType;
@ -70,6 +71,7 @@ pub trait LayerExt: 'static {
#[cfg(any(feature = "v1_18", feature = "dox"))]
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_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>;
#[cfg(any(feature = "v1_18", feature = "dox"))]
fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> 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 {
unsafe {
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 {
unsafe {
from_glib(ges_sys::ges_layer_set_active_for_tracks(

View file

@ -16,6 +16,7 @@ use std::mem::transmute;
use std::ptr;
use Asset;
use Extractable;
#[cfg(any(feature = "v1_18", feature = "dox"))]
use FrameNumber;
use Group;
use Layer;
@ -82,8 +83,10 @@ pub trait TimelineExt: 'static {
fn get_element(&self, name: &str) -> Option<TimelineElement>;
#[cfg(any(feature = "v1_18", feature = "dox"))]
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_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 {
unsafe {
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 {
unsafe {
from_glib(ges_sys::ges_timeline_get_frame_time(

View file

@ -72,6 +72,7 @@ pub trait TrackElementExt: 'static {
fn get_track_type(&self) -> TrackType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
fn has_internal_source(&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;
#[cfg(any(feature = "v1_18", feature = "dox"))]
fn set_has_internal_source(&self, has_internal_source: bool);
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 {
unsafe {
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() }
//}
#[cfg(any(feature = "v1_18", feature = "dox"))]
fn set_has_internal_source(&self, has_internal_source: bool) {
unsafe {
ges_sys::ges_track_element_set_has_internal_source(

View file

@ -27,6 +27,7 @@ pub trait UriSourceAssetExt: 'static {
fn get_stream_uri(&self) -> Option<GString>;
#[cfg(any(feature = "v1_18", feature = "dox"))]
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 {
unsafe {
from_glib(ges_sys::ges_uri_source_asset_is_image(

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -2,7 +2,9 @@
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
#[cfg(any(feature = "v1_12", feature = "dox"))]
mod rtsp_auth_param;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub use self::rtsp_auth_param::RTSPAuthParam;
mod rtsp_url;

View file

@ -2,6 +2,7 @@
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
#[cfg(any(feature = "v1_12", feature = "dox"))]
use glib::translate::*;
use gst_rtsp_sys;

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -387,24 +387,28 @@ impl FromGlib<gst_video_sys::GstVideoOverlayFormatFlags> for VideoOverlayFormatF
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))]
impl StaticType for VideoOverlayFormatFlags {
fn static_type() -> 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 {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))]
impl<'a> FromValue<'a> for VideoOverlayFormatFlags {
unsafe fn from_value(value: &Value) -> Self {
from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0))
}
}
#[cfg(any(feature = "v1_16", feature = "dox"))]
impl SetValue for VideoOverlayFormatFlags {
unsafe fn set_value(value: &mut Value, this: &Self) {
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 {
fn static_type() -> 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 {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
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 {
unsafe fn from_value(value: &Value) -> Self {
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 {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 1a54d3bc)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 882e09b)
from gir-files (https://github.com/gtk-rs/gir-files @ 38361831)
Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)