regenerate with latest gir

This commit is contained in:
Bilal Elmoussaoui 2021-11-16 15:02:58 +01:00
parent 6527ffbce0
commit 0d391d5031
265 changed files with 396 additions and 599 deletions

2
gir

@ -1 +1 @@
Subproject commit 61d2f713d84d670690c6918541d398463023c8b2
Subproject commit ba0ee13f6f1eade812d0c05640d8fb37754db54b

View file

@ -14,6 +14,3 @@ mod enums;
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
pub use self::enums::AppLeakyType;
pub use self::enums::AppStreamType;
#[doc(hidden)]
pub mod traits {}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for AudioBaseSink {}
unsafe impl Sync for AudioBaseSink {}
impl AudioBaseSink {
pub const NONE: Option<&'static AudioBaseSink> = None;
}
unsafe impl Send for AudioBaseSink {}
unsafe impl Sync for AudioBaseSink {}
pub trait AudioBaseSinkExt: 'static {
//#[doc(alias = "gst_audio_base_sink_create_ringbuffer")]
//fn create_ringbuffer(&self) -> /*Ignored*/Option<AudioRingBuffer>;

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for AudioBaseSrc {}
unsafe impl Sync for AudioBaseSrc {}
impl AudioBaseSrc {
pub const NONE: Option<&'static AudioBaseSrc> = None;
}
unsafe impl Send for AudioBaseSrc {}
unsafe impl Sync for AudioBaseSrc {}
pub trait AudioBaseSrcExt: 'static {
//#[doc(alias = "gst_audio_base_src_create_ringbuffer")]
//fn create_ringbuffer(&self) -> /*Ignored*/Option<AudioRingBuffer>;

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for AudioDecoder {}
unsafe impl Sync for AudioDecoder {}
impl AudioDecoder {
pub const NONE: Option<&'static AudioDecoder> = None;
}
unsafe impl Send for AudioDecoder {}
unsafe impl Sync for AudioDecoder {}
pub trait AudioDecoderExt: 'static {
#[doc(alias = "gst_audio_decoder_allocate_output_buffer")]
fn allocate_output_buffer(&self, size: usize) -> Result<gst::Buffer, glib::BoolError>;

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for AudioEncoder {}
unsafe impl Sync for AudioEncoder {}
impl AudioEncoder {
pub const NONE: Option<&'static AudioEncoder> = None;
}
unsafe impl Send for AudioEncoder {}
unsafe impl Sync for AudioEncoder {}
pub trait AudioEncoderExt: 'static {
#[doc(alias = "gst_audio_encoder_allocate_output_buffer")]
fn allocate_output_buffer(&self, size: usize) -> Result<gst::Buffer, glib::BoolError>;

View file

@ -14,11 +14,9 @@ glib::wrapper! {
}
}
impl AudioSink {}
unsafe impl Send for AudioSink {}
unsafe impl Sync for AudioSink {}
impl AudioSink {
pub const NONE: Option<&'static AudioSink> = None;
}
unsafe impl Send for AudioSink {}
unsafe impl Sync for AudioSink {}

View file

@ -14,11 +14,9 @@ glib::wrapper! {
}
}
impl AudioSrc {}
unsafe impl Send for AudioSrc {}
unsafe impl Sync for AudioSrc {}
impl AudioSrc {
pub const NONE: Option<&'static AudioSrc> = None;
}
unsafe impl Send for AudioSrc {}
unsafe impl Sync for AudioSrc {}

View file

@ -22,6 +22,8 @@ glib::wrapper! {
}
impl StreamVolume {
pub const NONE: Option<&'static StreamVolume> = None;
#[doc(alias = "gst_stream_volume_convert_volume")]
pub fn convert_volume(from: StreamVolumeFormat, to: StreamVolumeFormat, val: f64) -> f64 {
assert_initialized_main_thread!();
@ -32,10 +34,6 @@ impl StreamVolume {
unsafe impl Send for StreamVolume {}
unsafe impl Sync for StreamVolume {}
impl StreamVolume {
pub const NONE: Option<&'static StreamVolume> = None;
}
pub trait StreamVolumeExt: 'static {
#[doc(alias = "gst_stream_volume_get_mute")]
#[doc(alias = "get_mute")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -28,13 +28,13 @@ glib::wrapper! {
}
}
unsafe impl Send for Aggregator {}
unsafe impl Sync for Aggregator {}
impl Aggregator {
pub const NONE: Option<&'static Aggregator> = None;
}
unsafe impl Send for Aggregator {}
unsafe impl Sync for Aggregator {}
pub trait AggregatorExt: 'static {
#[doc(alias = "gst_aggregator_get_buffer_pool")]
#[doc(alias = "get_buffer_pool")]

View file

@ -26,13 +26,13 @@ glib::wrapper! {
}
}
unsafe impl Send for AggregatorPad {}
unsafe impl Sync for AggregatorPad {}
impl AggregatorPad {
pub const NONE: Option<&'static AggregatorPad> = None;
}
unsafe impl Send for AggregatorPad {}
unsafe impl Sync for AggregatorPad {}
pub trait AggregatorPadExt: 'static {
#[doc(alias = "gst_aggregator_pad_drop_buffer")]
fn drop_buffer(&self) -> bool;

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for BaseParse {}
unsafe impl Sync for BaseParse {}
impl BaseParse {
pub const NONE: Option<&'static BaseParse> = None;
}
unsafe impl Send for BaseParse {}
unsafe impl Sync for BaseParse {}
pub trait BaseParseExt: 'static {
#[doc(alias = "gst_base_parse_add_index_entry")]
fn add_index_entry(&self, offset: u64, ts: gst::ClockTime, key: bool, force: bool) -> bool;

View file

@ -23,13 +23,13 @@ glib::wrapper! {
}
}
unsafe impl Send for BaseSink {}
unsafe impl Sync for BaseSink {}
impl BaseSink {
pub const NONE: Option<&'static BaseSink> = None;
}
unsafe impl Send for BaseSink {}
unsafe impl Sync for BaseSink {}
pub trait BaseSinkExt: 'static {
//#[doc(alias = "gst_base_sink_do_preroll")]
//fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> Result<gst::FlowSuccess, gst::FlowError>;

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for BaseSrc {}
unsafe impl Sync for BaseSrc {}
impl BaseSrc {
pub const NONE: Option<&'static BaseSrc> = None;
}
unsafe impl Send for BaseSrc {}
unsafe impl Sync for BaseSrc {}
pub trait BaseSrcExt: 'static {
#[doc(alias = "gst_base_src_get_blocksize")]
#[doc(alias = "get_blocksize")]

View file

@ -22,13 +22,13 @@ glib::wrapper! {
}
}
unsafe impl Send for BaseTransform {}
unsafe impl Sync for BaseTransform {}
impl BaseTransform {
pub const NONE: Option<&'static BaseTransform> = None;
}
unsafe impl Send for BaseTransform {}
unsafe impl Sync for BaseTransform {}
pub trait BaseTransformExt: 'static {
#[doc(alias = "gst_base_transform_get_buffer_pool")]
#[doc(alias = "get_buffer_pool")]

View file

@ -14,11 +14,9 @@ glib::wrapper! {
}
}
impl PushSrc {}
unsafe impl Send for PushSrc {}
unsafe impl Sync for PushSrc {}
impl PushSrc {
pub const NONE: Option<&'static PushSrc> = None;
}
unsafe impl Send for PushSrc {}
unsafe impl Sync for PushSrc {}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -5,6 +5,3 @@
mod test_clock;
pub use self::test_clock::TestClock;
#[doc(hidden)]
pub mod traits {}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -23,6 +23,8 @@ glib::wrapper! {
}
impl ARGBControlBinding {
pub const NONE: Option<&'static ARGBControlBinding> = None;
#[doc(alias = "gst_argb_control_binding_new")]
pub fn new(
object: &impl IsA<gst::Object>,
@ -50,10 +52,6 @@ impl ARGBControlBinding {
unsafe impl Send for ARGBControlBinding {}
unsafe impl Sync for ARGBControlBinding {}
impl ARGBControlBinding {
pub const NONE: Option<&'static ARGBControlBinding> = None;
}
pub trait ARGBControlBindingExt: 'static {
#[doc(alias = "control-source-a")]
fn control_source_a(&self) -> Option<gst::ControlSource>;

View file

@ -23,6 +23,8 @@ glib::wrapper! {
}
impl DirectControlBinding {
pub const NONE: Option<&'static DirectControlBinding> = None;
#[doc(alias = "gst_direct_control_binding_new")]
pub fn new(
object: &impl IsA<gst::Object>,
@ -61,10 +63,6 @@ impl DirectControlBinding {
unsafe impl Send for DirectControlBinding {}
unsafe impl Sync for DirectControlBinding {}
impl DirectControlBinding {
pub const NONE: Option<&'static DirectControlBinding> = None;
}
pub trait DirectControlBindingExt: 'static {
fn is_absolute(&self) -> bool;

View file

@ -25,6 +25,8 @@ glib::wrapper! {
}
impl InterpolationControlSource {
pub const NONE: Option<&'static InterpolationControlSource> = None;
#[doc(alias = "gst_interpolation_control_source_new")]
pub fn new() -> InterpolationControlSource {
assert_initialized_main_thread!();
@ -44,10 +46,6 @@ impl Default for InterpolationControlSource {
unsafe impl Send for InterpolationControlSource {}
unsafe impl Sync for InterpolationControlSource {}
impl InterpolationControlSource {
pub const NONE: Option<&'static InterpolationControlSource> = None;
}
pub trait InterpolationControlSourceExt: 'static {
fn mode(&self) -> InterpolationMode;

View file

@ -24,6 +24,8 @@ glib::wrapper! {
}
impl LFOControlSource {
pub const NONE: Option<&'static LFOControlSource> = None;
#[doc(alias = "gst_lfo_control_source_new")]
pub fn new() -> LFOControlSource {
assert_initialized_main_thread!();
@ -42,10 +44,6 @@ impl Default for LFOControlSource {
unsafe impl Send for LFOControlSource {}
unsafe impl Sync for LFOControlSource {}
impl LFOControlSource {
pub const NONE: Option<&'static LFOControlSource> = None;
}
pub trait LFOControlSourceExt: 'static {
fn amplitude(&self) -> f64;

View file

@ -17,6 +17,8 @@ glib::wrapper! {
}
impl ProxyControlBinding {
pub const NONE: Option<&'static ProxyControlBinding> = None;
#[doc(alias = "gst_proxy_control_binding_new")]
pub fn new(
object: &impl IsA<gst::Object>,
@ -39,7 +41,3 @@ impl ProxyControlBinding {
unsafe impl Send for ProxyControlBinding {}
unsafe impl Sync for ProxyControlBinding {}
impl ProxyControlBinding {
pub const NONE: Option<&'static ProxyControlBinding> = None;
}

View file

@ -21,13 +21,13 @@ glib::wrapper! {
}
}
unsafe impl Send for TimedValueControlSource {}
unsafe impl Sync for TimedValueControlSource {}
impl TimedValueControlSource {
pub const NONE: Option<&'static TimedValueControlSource> = None;
}
unsafe impl Send for TimedValueControlSource {}
unsafe impl Sync for TimedValueControlSource {}
pub trait TimedValueControlSourceExt: 'static {
//#[doc(alias = "gst_timed_value_control_source_find_control_point_iter")]
//fn find_control_point_iter(&self, timestamp: impl Into<Option<gst::ClockTime>>) -> /*Ignored*/Option<glib::SequenceIter>;

View file

@ -24,6 +24,8 @@ glib::wrapper! {
}
impl TriggerControlSource {
pub const NONE: Option<&'static TriggerControlSource> = None;
#[doc(alias = "gst_trigger_control_source_new")]
pub fn new() -> TriggerControlSource {
assert_initialized_main_thread!();
@ -42,10 +44,6 @@ impl Default for TriggerControlSource {
unsafe impl Send for TriggerControlSource {}
unsafe impl Sync for TriggerControlSource {}
impl TriggerControlSource {
pub const NONE: Option<&'static TriggerControlSource> = None;
}
pub trait TriggerControlSourceExt: 'static {
fn tolerance(&self) -> i64;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -25,6 +25,8 @@ glib::wrapper! {
}
impl Asset {
pub const NONE: Option<&'static Asset> = None;
#[doc(alias = "ges_asset_needs_reload")]
pub fn needs_reload(extractable_type: glib::types::Type, id: Option<&str>) -> bool {
assert_initialized_main_thread!();
@ -114,10 +116,6 @@ impl Asset {
}
}
impl Asset {
pub const NONE: Option<&'static Asset> = None;
}
pub trait AssetExt: 'static {
#[doc(alias = "ges_asset_extract")]
fn extract(&self) -> Result<Extractable, glib::Error>;

View file

@ -18,8 +18,6 @@ glib::wrapper! {
}
}
impl AudioSource {}
impl AudioSource {
pub const NONE: Option<&'static AudioSource> = None;
}

View file

@ -17,6 +17,8 @@ glib::wrapper! {
}
impl AudioTrack {
pub const NONE: Option<&'static AudioTrack> = None;
#[doc(alias = "ges_audio_track_new")]
pub fn new() -> AudioTrack {
assert_initialized_main_thread!();
@ -29,7 +31,3 @@ impl Default for AudioTrack {
Self::new()
}
}
impl AudioTrack {
pub const NONE: Option<&'static AudioTrack> = None;
}

View file

@ -21,6 +21,8 @@ glib::wrapper! {
}
impl AudioTransition {
pub const NONE: Option<&'static AudioTransition> = None;
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
#[doc(alias = "ges_audio_transition_new")]
pub fn new() -> AudioTransition {
@ -34,7 +36,3 @@ impl Default for AudioTransition {
Self::new()
}
}
impl AudioTransition {
pub const NONE: Option<&'static AudioTransition> = None;
}

View file

@ -19,8 +19,6 @@ glib::wrapper! {
}
}
impl BaseEffectClip {}
impl BaseEffectClip {
pub const NONE: Option<&'static BaseEffectClip> = None;
}

View file

@ -19,8 +19,6 @@ glib::wrapper! {
}
}
impl BaseTransitionClip {}
impl BaseTransitionClip {
pub const NONE: Option<&'static BaseTransitionClip> = None;
}

View file

@ -15,8 +15,6 @@ glib::wrapper! {
}
}
impl BaseXmlFormatter {}
impl BaseXmlFormatter {
pub const NONE: Option<&'static BaseXmlFormatter> = None;
}

View file

@ -25,6 +25,8 @@ glib::wrapper! {
}
impl CommandLineFormatter {
pub const NONE: Option<&'static CommandLineFormatter> = None;
#[cfg(any(feature = "v1_10", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
#[doc(alias = "ges_command_line_formatter_get_help")]
@ -53,7 +55,3 @@ impl CommandLineFormatter {
}
}
}
impl CommandLineFormatter {
pub const NONE: Option<&'static CommandLineFormatter> = None;
}

View file

@ -28,6 +28,8 @@ glib::wrapper! {
}
impl Container {
pub const NONE: Option<&'static Container> = None;
#[doc(alias = "ges_container_group")]
pub fn group(containers: &[Container]) -> Option<Container> {
assert_initialized_main_thread!();
@ -35,10 +37,6 @@ impl Container {
}
}
impl Container {
pub const NONE: Option<&'static Container> = None;
}
pub trait GESContainerExt: 'static {
#[doc(alias = "ges_container_add")]
fn add(&self, child: &impl IsA<TimelineElement>) -> Result<(), glib::error::BoolError>;

View file

@ -23,6 +23,8 @@ glib::wrapper! {
}
impl Effect {
pub const NONE: Option<&'static Effect> = None;
#[doc(alias = "ges_effect_new")]
pub fn new(bin_description: &str) -> Result<Effect, glib::BoolError> {
assert_initialized_main_thread!();
@ -33,10 +35,6 @@ impl Effect {
}
}
impl Effect {
pub const NONE: Option<&'static Effect> = None;
}
pub trait EffectExt: 'static {
#[doc(alias = "bin-description")]
fn bin_description(&self) -> Option<glib::GString>;

View file

@ -16,8 +16,6 @@ glib::wrapper! {
}
}
impl EffectAsset {}
impl EffectAsset {
pub const NONE: Option<&'static EffectAsset> = None;
}

View file

@ -24,6 +24,8 @@ glib::wrapper! {
}
impl EffectClip {
pub const NONE: Option<&'static EffectClip> = None;
#[doc(alias = "ges_effect_clip_new")]
pub fn new(
video_bin_description: Option<&str>,
@ -39,10 +41,6 @@ impl EffectClip {
}
}
impl EffectClip {
pub const NONE: Option<&'static EffectClip> = None;
}
pub trait EffectClipExt: 'static {
#[doc(alias = "audio-bin-description")]
fn audio_bin_description(&self) -> Option<glib::GString>;

View file

@ -20,6 +20,8 @@ glib::wrapper! {
}
impl Formatter {
pub const NONE: Option<&'static Formatter> = None;
#[doc(alias = "ges_formatter_can_load_uri")]
pub fn can_load_uri(uri: &str) -> Result<(), glib::Error> {
assert_initialized_main_thread!();
@ -56,10 +58,6 @@ impl Formatter {
}
}
impl Formatter {
pub const NONE: Option<&'static Formatter> = None;
}
pub trait FormatterExt: 'static {
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
#[doc(alias = "ges_formatter_load_from_uri")]

View file

@ -27,6 +27,8 @@ glib::wrapper! {
}
impl Group {
pub const NONE: Option<&'static Group> = None;
#[doc(alias = "ges_group_new")]
pub fn new() -> Group {
assert_initialized_main_thread!();
@ -40,10 +42,6 @@ impl Default for Group {
}
}
impl Group {
pub const NONE: Option<&'static Group> = None;
}
pub trait GroupExt: 'static {
fn duration(&self) -> u64;

View file

@ -33,6 +33,8 @@ glib::wrapper! {
}
impl Layer {
pub const NONE: Option<&'static Layer> = None;
#[doc(alias = "ges_layer_new")]
pub fn new() -> Layer {
assert_initialized_main_thread!();
@ -46,10 +48,6 @@ impl Default for Layer {
}
}
impl Layer {
pub const NONE: Option<&'static Layer> = None;
}
pub trait LayerExt: 'static {
#[doc(alias = "ges_layer_add_asset")]
fn add_asset(

View file

@ -23,6 +23,8 @@ glib::wrapper! {
}
impl MultiFileSource {
pub const NONE: Option<&'static MultiFileSource> = None;
#[doc(alias = "ges_multi_file_source_new")]
pub fn new(uri: &str) -> MultiFileSource {
assert_initialized_main_thread!();
@ -30,10 +32,6 @@ impl MultiFileSource {
}
}
impl MultiFileSource {
pub const NONE: Option<&'static MultiFileSource> = None;
}
pub trait MultiFileSourceExt: 'static {
fn uri(&self) -> Option<glib::GString>;
}

View file

@ -17,8 +17,6 @@ glib::wrapper! {
}
}
impl Operation {}
impl Operation {
pub const NONE: Option<&'static Operation> = None;
}

View file

@ -18,8 +18,6 @@ glib::wrapper! {
}
}
impl OperationClip {}
impl OperationClip {
pub const NONE: Option<&'static OperationClip> = None;
}

View file

@ -19,8 +19,6 @@ glib::wrapper! {
}
}
impl OverlayClip {}
impl OverlayClip {
pub const NONE: Option<&'static OverlayClip> = None;
}

View file

@ -26,6 +26,8 @@ glib::wrapper! {
}
impl Pipeline {
pub const NONE: Option<&'static Pipeline> = None;
#[doc(alias = "ges_pipeline_new")]
pub fn new() -> Pipeline {
assert_initialized_main_thread!();
@ -39,10 +41,6 @@ impl Default for Pipeline {
}
}
impl Pipeline {
pub const NONE: Option<&'static Pipeline> = None;
}
pub trait GESPipelineExt: 'static {
#[doc(alias = "ges_pipeline_get_mode")]
#[doc(alias = "get_mode")]

View file

@ -28,6 +28,8 @@ glib::wrapper! {
}
impl Project {
pub const NONE: Option<&'static Project> = None;
#[doc(alias = "ges_project_new")]
pub fn new(uri: Option<&str>) -> Project {
assert_initialized_main_thread!();
@ -35,10 +37,6 @@ impl Project {
}
}
impl Project {
pub const NONE: Option<&'static Project> = None;
}
pub trait ProjectExt: 'static {
#[doc(alias = "ges_project_add_asset")]
fn add_asset(&self, asset: &impl IsA<Asset>) -> bool;

View file

@ -17,8 +17,6 @@ glib::wrapper! {
}
}
impl Source {}
impl Source {
pub const NONE: Option<&'static Source> = None;
}

View file

@ -22,6 +22,8 @@ glib::wrapper! {
}
impl SourceClip {
pub const NONE: Option<&'static SourceClip> = None;
#[cfg(any(feature = "v1_18", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
#[doc(alias = "ges_source_clip_new_time_overlay")]
@ -30,7 +32,3 @@ impl SourceClip {
unsafe { from_glib_none(ffi::ges_source_clip_new_time_overlay()) }
}
}
impl SourceClip {
pub const NONE: Option<&'static SourceClip> = None;
}

View file

@ -16,8 +16,6 @@ glib::wrapper! {
}
}
impl SourceClipAsset {}
impl SourceClipAsset {
pub const NONE: Option<&'static SourceClipAsset> = None;
}

View file

@ -30,6 +30,8 @@ glib::wrapper! {
}
impl TestClip {
pub const NONE: Option<&'static TestClip> = None;
#[doc(alias = "ges_test_clip_new")]
pub fn new() -> Option<TestClip> {
assert_initialized_main_thread!();
@ -44,10 +46,6 @@ impl TestClip {
}
}
impl TestClip {
pub const NONE: Option<&'static TestClip> = None;
}
pub trait TestClipExt: 'static {
#[doc(alias = "ges_test_clip_get_frequency")]
#[doc(alias = "get_frequency")]

View file

@ -23,6 +23,8 @@ glib::wrapper! {
}
impl TextOverlay {
pub const NONE: Option<&'static TextOverlay> = None;
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
#[doc(alias = "ges_text_overlay_new")]
pub fn new() -> Option<TextOverlay> {
@ -31,10 +33,6 @@ impl TextOverlay {
}
}
impl TextOverlay {
pub const NONE: Option<&'static TextOverlay> = None;
}
pub trait TextOverlayExt: 'static {
#[doc(alias = "ges_text_overlay_get_color")]
#[doc(alias = "get_color")]

View file

@ -31,6 +31,8 @@ glib::wrapper! {
}
impl TextOverlayClip {
pub const NONE: Option<&'static TextOverlayClip> = None;
#[doc(alias = "ges_text_overlay_clip_new")]
pub fn new() -> Option<TextOverlayClip> {
assert_initialized_main_thread!();
@ -38,10 +40,6 @@ impl TextOverlayClip {
}
}
impl TextOverlayClip {
pub const NONE: Option<&'static TextOverlayClip> = None;
}
pub trait TextOverlayClipExt: 'static {
#[doc(alias = "ges_text_overlay_clip_get_color")]
#[doc(alias = "get_color")]

View file

@ -36,6 +36,8 @@ glib::wrapper! {
}
impl Timeline {
pub const NONE: Option<&'static Timeline> = None;
#[doc(alias = "ges_timeline_new")]
pub fn new() -> Timeline {
assert_initialized_main_thread!();
@ -70,10 +72,6 @@ impl Default for Timeline {
}
}
impl Timeline {
pub const NONE: Option<&'static Timeline> = None;
}
pub trait TimelineExt: 'static {
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
#[doc(alias = "ges_timeline_add_layer")]

View file

@ -30,6 +30,8 @@ glib::wrapper! {
}
impl TitleClip {
pub const NONE: Option<&'static TitleClip> = None;
#[doc(alias = "ges_title_clip_new")]
pub fn new() -> Option<TitleClip> {
assert_initialized_main_thread!();
@ -37,10 +39,6 @@ impl TitleClip {
}
}
impl TitleClip {
pub const NONE: Option<&'static TitleClip> = None;
}
pub trait TitleClipExt: 'static {
#[deprecated = "Since 1.6"]
#[doc(alias = "ges_title_clip_get_background_color")]

View file

@ -32,6 +32,8 @@ glib::wrapper! {
}
impl Track {
pub const NONE: Option<&'static Track> = None;
#[doc(alias = "ges_track_new")]
pub fn new(type_: TrackType, caps: &gst::Caps) -> Track {
assert_initialized_main_thread!();
@ -39,10 +41,6 @@ impl Track {
}
}
impl Track {
pub const NONE: Option<&'static Track> = None;
}
pub trait GESTrackExt: 'static {
#[doc(alias = "ges_track_add_element")]
fn add_element(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::error::BoolError>;

View file

@ -18,8 +18,6 @@ glib::wrapper! {
}
}
impl Transition {}
impl Transition {
pub const NONE: Option<&'static Transition> = None;
}

View file

@ -31,6 +31,8 @@ glib::wrapper! {
}
impl TransitionClip {
pub const NONE: Option<&'static TransitionClip> = None;
#[doc(alias = "ges_transition_clip_new")]
pub fn new(vtype: VideoStandardTransitionType) -> Option<TransitionClip> {
assert_initialized_main_thread!();
@ -45,10 +47,6 @@ impl TransitionClip {
}
}
impl TransitionClip {
pub const NONE: Option<&'static TransitionClip> = None;
}
pub trait TransitionClipExt: 'static {
fn vtype(&self) -> VideoStandardTransitionType;

View file

@ -27,6 +27,8 @@ glib::wrapper! {
}
impl UriClip {
pub const NONE: Option<&'static UriClip> = None;
#[doc(alias = "ges_uri_clip_new")]
pub fn new(uri: &str) -> Result<UriClip, glib::BoolError> {
assert_initialized_main_thread!();
@ -37,10 +39,6 @@ impl UriClip {
}
}
impl UriClip {
pub const NONE: Option<&'static UriClip> = None;
}
pub trait UriClipExt: 'static {
#[doc(alias = "ges_uri_clip_get_uri")]
#[doc(alias = "get_uri")]

View file

@ -45,6 +45,8 @@ glib::wrapper! {
}
impl UriClipAsset {
pub const NONE: Option<&'static UriClipAsset> = None;
//#[cfg(any(feature = "v1_16", feature = "dox"))]
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
//#[doc(alias = "ges_uri_clip_asset_finish")]
@ -72,10 +74,6 @@ impl UriClipAsset {
}
}
impl UriClipAsset {
pub const NONE: Option<&'static UriClipAsset> = None;
}
pub trait UriClipAssetExt: 'static {
#[doc(alias = "ges_uri_clip_asset_get_duration")]
#[doc(alias = "get_duration")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

View file

@ -17,6 +17,8 @@ glib::wrapper! {
}
impl VideoTrack {
pub const NONE: Option<&'static VideoTrack> = None;
#[doc(alias = "ges_video_track_new")]
pub fn new() -> VideoTrack {
assert_initialized_main_thread!();
@ -29,7 +31,3 @@ impl Default for VideoTrack {
Self::new()
}
}
impl VideoTrack {
pub const NONE: Option<&'static VideoTrack> = None;
}

View file

@ -30,6 +30,8 @@ glib::wrapper! {
}
impl VideoTransition {
pub const NONE: Option<&'static VideoTransition> = None;
#[doc(alias = "ges_video_transition_new")]
pub fn new() -> VideoTransition {
assert_initialized_main_thread!();
@ -43,10 +45,6 @@ impl Default for VideoTransition {
}
}
impl VideoTransition {
pub const NONE: Option<&'static VideoTransition> = None;
}
pub trait VideoTransitionExt: 'static {
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
#[doc(alias = "ges_video_transition_get_border")]

View file

@ -16,8 +16,6 @@ glib::wrapper! {
}
}
impl XmlFormatter {}
impl XmlFormatter {
pub const NONE: Option<&'static XmlFormatter> = None;
}

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
// Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
// DO NOT EDIT

View file

@ -16,6 +16,8 @@ glib::wrapper! {
}
impl GLDisplayEGL {
pub const NONE: Option<&'static GLDisplayEGL> = None;
#[doc(alias = "gst_gl_display_egl_new")]
pub fn new() -> GLDisplayEGL {
assert_initialized_main_thread!();
@ -53,7 +55,3 @@ impl Default for GLDisplayEGL {
unsafe impl Send for GLDisplayEGL {}
unsafe impl Sync for GLDisplayEGL {}
impl GLDisplayEGL {
pub const NONE: Option<&'static GLDisplayEGL> = None;
}

View file

@ -5,6 +5,3 @@
mod gl_display_egl;
pub use self::gl_display_egl::GLDisplayEGL;
#[doc(hidden)]
pub mod traits {}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 61d2f713d84d)
Generated by gir (https://github.com/gtk-rs/gir @ ba0ee13f6f1e)
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)

Some files were not shown because too many files have changed in this diff Show more