Commit 8dfbc9e8 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

Regenerate

parent 2fd12a5e
Pipeline #163479 passed with stages
in 24 minutes and 34 seconds
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)
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)
......@@ -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()
}
......
......@@ -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) }
}
......
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)
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)
......@@ -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,
......
......@@ -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(
......
......@@ -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(
......
......@@ -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(
......
......@@ -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(
......
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)
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)
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)
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)
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)
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)
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)
......@@ -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;
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment