mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 13:01:05 +00:00
Regenerate with latest gir
This commit is contained in:
parent
89605bd345
commit
0eb5845934
207 changed files with 3448 additions and 1968 deletions
|
@ -8,6 +8,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -165,7 +166,6 @@ impl AppSink {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `buffer-list` getter")
|
.expect("Return Value for property `buffer-list` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ impl AppSink {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"buffer-list\0".as_ptr() as *const _,
|
b"buffer-list\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&buffer_list).to_glib_none().0,
|
buffer_list.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -119,7 +120,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `block` getter")
|
.expect("Return Value for property `block` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"block\0".as_ptr() as *const _,
|
b"block\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&block).to_glib_none().0,
|
block.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -146,7 +146,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `format` getter")
|
.expect("Return Value for property `format` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +155,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"format\0".as_ptr() as *const _,
|
b"format\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&format).to_glib_none().0,
|
format.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -175,7 +174,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `handle-segment-change` getter")
|
.expect("Return Value for property `handle-segment-change` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -187,7 +185,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"handle-segment-change\0".as_ptr() as *const _,
|
b"handle-segment-change\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&handle_segment_change).to_glib_none().0,
|
handle_segment_change.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -204,7 +202,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `is-live` getter")
|
.expect("Return Value for property `is-live` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -214,7 +211,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"is-live\0".as_ptr() as *const _,
|
b"is-live\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&is_live).to_glib_none().0,
|
is_live.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -231,7 +228,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `max-latency` getter")
|
.expect("Return Value for property `max-latency` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -241,7 +237,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"max-latency\0".as_ptr() as *const _,
|
b"max-latency\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&max_latency).to_glib_none().0,
|
max_latency.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -258,7 +254,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `min-latency` getter")
|
.expect("Return Value for property `min-latency` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -268,7 +263,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"min-latency\0".as_ptr() as *const _,
|
b"min-latency\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&min_latency).to_glib_none().0,
|
min_latency.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -285,7 +280,6 @@ impl AppSrc {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `min-percent` getter")
|
.expect("Return Value for property `min-percent` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -295,7 +289,7 @@ impl AppSrc {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"min-percent\0".as_ptr() as *const _,
|
b"min-percent\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&min_percent).to_glib_none().0,
|
min_percent.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
|
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
|
|
||||||
|
@ -57,20 +56,29 @@ impl StaticType for AppStreamType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AppStreamType {
|
impl glib::value::ValueType for AppStreamType {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AppStreamType {
|
unsafe impl<'a> FromValue<'a> for AppStreamType {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AppStreamType {
|
impl ToValue for AppStreamType {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AppStreamType>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -222,7 +223,6 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `buffer-time` getter")
|
.expect("Return Value for property `buffer-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -231,7 +231,7 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"buffer-time\0".as_ptr() as *const _,
|
b"buffer-time\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&buffer_time).to_glib_none().0,
|
buffer_time.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -247,7 +247,6 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `can-activate-pull` getter")
|
.expect("Return Value for property `can-activate-pull` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -256,7 +255,7 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"can-activate-pull\0".as_ptr() as *const _,
|
b"can-activate-pull\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&can_activate_pull).to_glib_none().0,
|
can_activate_pull.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -272,7 +271,6 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `latency-time` getter")
|
.expect("Return Value for property `latency-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -281,7 +279,7 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"latency-time\0".as_ptr() as *const _,
|
b"latency-time\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&latency_time).to_glib_none().0,
|
latency_time.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -131,7 +132,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `actual-buffer-time` getter")
|
.expect("Return Value for property `actual-buffer-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,7 +146,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `actual-latency-time` getter")
|
.expect("Return Value for property `actual-latency-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,7 +160,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `buffer-time` getter")
|
.expect("Return Value for property `buffer-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,7 +168,7 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"buffer-time\0".as_ptr() as *const _,
|
b"buffer-time\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&buffer_time).to_glib_none().0,
|
buffer_time.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -186,7 +184,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `latency-time` getter")
|
.expect("Return Value for property `latency-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,7 +192,7 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"latency-time\0".as_ptr() as *const _,
|
b"latency-time\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&latency_time).to_glib_none().0,
|
latency_time.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
|
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
@ -182,21 +181,30 @@ impl StaticType for AudioChannelPosition {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioChannelPosition {
|
impl glib::value::ValueType for AudioChannelPosition {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioChannelPosition {
|
unsafe impl<'a> FromValue<'a> for AudioChannelPosition {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioChannelPosition {
|
impl ToValue for AudioChannelPosition {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioChannelPosition>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -251,21 +259,30 @@ impl StaticType for AudioDitherMethod {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioDitherMethod {
|
impl glib::value::ValueType for AudioDitherMethod {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioDitherMethod {
|
unsafe impl<'a> FromValue<'a> for AudioDitherMethod {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioDitherMethod {
|
impl ToValue for AudioDitherMethod {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioDitherMethod>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -447,21 +464,30 @@ impl StaticType for AudioFormat {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioFormat {
|
impl glib::value::ValueType for AudioFormat {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioFormat {
|
unsafe impl<'a> FromValue<'a> for AudioFormat {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioFormat {
|
impl ToValue for AudioFormat {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioFormat>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -508,21 +534,30 @@ impl StaticType for AudioLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioLayout {
|
impl glib::value::ValueType for AudioLayout {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioLayout {
|
unsafe impl<'a> FromValue<'a> for AudioLayout {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioLayout {
|
impl ToValue for AudioLayout {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioLayout>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -581,21 +616,30 @@ impl StaticType for AudioNoiseShapingMethod {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioNoiseShapingMethod {
|
impl glib::value::ValueType for AudioNoiseShapingMethod {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioNoiseShapingMethod {
|
unsafe impl<'a> FromValue<'a> for AudioNoiseShapingMethod {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioNoiseShapingMethod {
|
impl ToValue for AudioNoiseShapingMethod {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioNoiseShapingMethod>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -666,25 +710,34 @@ impl StaticType for AudioResamplerMethod {
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||||
impl<'a> FromValueOptional<'a> for AudioResamplerMethod {
|
impl glib::value::ValueType for AudioResamplerMethod {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||||
impl<'a> FromValue<'a> for AudioResamplerMethod {
|
unsafe impl<'a> FromValue<'a> for AudioResamplerMethod {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||||
impl SetValue for AudioResamplerMethod {
|
impl ToValue for AudioResamplerMethod {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioResamplerMethod>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -799,21 +852,30 @@ impl StaticType for AudioRingBufferFormatType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioRingBufferFormatType {
|
impl glib::value::ValueType for AudioRingBufferFormatType {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioRingBufferFormatType {
|
unsafe impl<'a> FromValue<'a> for AudioRingBufferFormatType {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioRingBufferFormatType {
|
impl ToValue for AudioRingBufferFormatType {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioRingBufferFormatType>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
use bitflags::bitflags;
|
use bitflags::bitflags;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
|
|
||||||
|
@ -40,21 +39,30 @@ impl StaticType for AudioFlags {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioFlags {
|
impl glib::value::ValueType for AudioFlags {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioFlags {
|
unsafe impl<'a> FromValue<'a> for AudioFlags {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioFlags {
|
impl ToValue for AudioFlags {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioFlags>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,21 +99,30 @@ impl StaticType for AudioFormatFlags {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioFormatFlags {
|
impl glib::value::ValueType for AudioFormatFlags {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioFormatFlags {
|
unsafe impl<'a> FromValue<'a> for AudioFormatFlags {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioFormatFlags {
|
impl ToValue for AudioFormatFlags {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioFormatFlags>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,20 +155,29 @@ impl StaticType for AudioPackFlags {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for AudioPackFlags {
|
impl glib::value::ValueType for AudioPackFlags {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for AudioPackFlags {
|
unsafe impl<'a> FromValue<'a> for AudioPackFlags {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for AudioPackFlags {
|
impl ToValue for AudioPackFlags {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AudioPackFlags>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -15,6 +15,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -211,7 +212,6 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `emit-signals` getter")
|
.expect("Return Value for property `emit-signals` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"emit-signals\0".as_ptr() as *const _,
|
b"emit-signals\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&emit_signals).to_glib_none().0,
|
emit_signals.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -238,7 +238,6 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `start-time` getter")
|
.expect("Return Value for property `start-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -247,7 +246,7 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"start-time\0".as_ptr() as *const _,
|
b"start-time\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&start_time).to_glib_none().0,
|
start_time.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -266,7 +265,6 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `start-time-selection` getter")
|
.expect("Return Value for property `start-time-selection` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,7 +275,7 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"start-time-selection\0".as_ptr() as *const _,
|
b"start-time-selection\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&start_time_selection).to_glib_none().0,
|
start_time_selection.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,9 @@ use glib::translate::*;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -124,7 +127,6 @@ impl<O: IsA<AggregatorPad>> AggregatorPadExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `emit-signals` getter")
|
.expect("Return Value for property `emit-signals` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,7 +137,7 @@ impl<O: IsA<AggregatorPad>> AggregatorPadExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"emit-signals\0".as_ptr() as *const _,
|
b"emit-signals\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&emit_signals).to_glib_none().0,
|
emit_signals.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -185,7 +186,6 @@ impl<O: IsA<BaseParse>> BaseParseExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `disable-passthrough` getter")
|
.expect("Return Value for property `disable-passthrough` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ impl<O: IsA<BaseParse>> BaseParseExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"disable-passthrough\0".as_ptr() as *const _,
|
b"disable-passthrough\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&disable_passthrough).to_glib_none().0,
|
disable_passthrough.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -407,7 +408,6 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `async` getter")
|
.expect("Return Value for property `async` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -416,7 +416,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"async\0".as_ptr() as *const _,
|
b"async\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&async_).to_glib_none().0,
|
async_.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -432,7 +432,6 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `enable-last-sample` getter")
|
.expect("Return Value for property `enable-last-sample` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -441,7 +440,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"enable-last-sample\0".as_ptr() as *const _,
|
b"enable-last-sample\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&enable_last_sample).to_glib_none().0,
|
enable_last_sample.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -454,10 +453,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
||||||
b"qos\0".as_ptr() as *const _,
|
b"qos\0".as_ptr() as *const _,
|
||||||
value.to_glib_none_mut().0,
|
value.to_glib_none_mut().0,
|
||||||
);
|
);
|
||||||
value
|
value.get().expect("Return Value for property `qos` getter")
|
||||||
.get()
|
|
||||||
.expect("Return Value for property `qos` getter")
|
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -466,7 +462,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"qos\0".as_ptr() as *const _,
|
b"qos\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&qos).to_glib_none().0,
|
qos.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -225,7 +226,6 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `num-buffers` getter")
|
.expect("Return Value for property `num-buffers` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"num-buffers\0".as_ptr() as *const _,
|
b"num-buffers\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&num_buffers).to_glib_none().0,
|
num_buffers.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -250,7 +250,6 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `typefind` getter")
|
.expect("Return Value for property `typefind` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -259,7 +258,7 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"typefind\0".as_ptr() as *const _,
|
b"typefind\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&typefind).to_glib_none().0,
|
typefind.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -220,10 +221,7 @@ impl<O: IsA<BaseTransform>> BaseTransformExt for O {
|
||||||
b"qos\0".as_ptr() as *const _,
|
b"qos\0".as_ptr() as *const _,
|
||||||
value.to_glib_none_mut().0,
|
value.to_glib_none_mut().0,
|
||||||
);
|
);
|
||||||
value
|
value.get().expect("Return Value for property `qos` getter")
|
||||||
.get()
|
|
||||||
.expect("Return Value for property `qos` getter")
|
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -232,7 +230,7 @@ impl<O: IsA<BaseTransform>> BaseTransformExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"qos\0".as_ptr() as *const _,
|
b"qos\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&qos).to_glib_none().0,
|
qos.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,10 +11,7 @@ use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
|
||||||
use glib::value::SetValue;
|
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
@ -79,24 +76,33 @@ impl StaticType for AggregatorStartTimeSelection {
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
impl<'a> FromValueOptional<'a> for AggregatorStartTimeSelection {
|
impl glib::value::ValueType for AggregatorStartTimeSelection {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
impl<'a> FromValue<'a> for AggregatorStartTimeSelection {
|
unsafe impl<'a> FromValue<'a> for AggregatorStartTimeSelection {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
impl SetValue for AggregatorStartTimeSelection {
|
impl ToValue for AggregatorStartTimeSelection {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<AggregatorStartTimeSelection>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -134,7 +135,6 @@ impl TestClock {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `clock-type` getter")
|
.expect("Return Value for property `clock-type` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ impl TestClock {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"clock-type\0".as_ptr() as *const _,
|
b"clock-type\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&clock_type).to_glib_none().0,
|
clock_type.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,6 @@ impl TestClock {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `start-time` getter")
|
.expect("Return Value for property `start-time` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -123,7 +124,7 @@ impl<O: IsA<ARGBControlBinding>> ARGBControlBindingExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"control-source-a\0".as_ptr() as *const _,
|
b"control-source-a\0".as_ptr() as *const _,
|
||||||
glib::Value::from(control_source_a).to_glib_none().0,
|
control_source_a.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -148,7 +149,7 @@ impl<O: IsA<ARGBControlBinding>> ARGBControlBindingExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"control-source-b\0".as_ptr() as *const _,
|
b"control-source-b\0".as_ptr() as *const _,
|
||||||
glib::Value::from(control_source_b).to_glib_none().0,
|
control_source_b.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -173,7 +174,7 @@ impl<O: IsA<ARGBControlBinding>> ARGBControlBindingExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"control-source-g\0".as_ptr() as *const _,
|
b"control-source-g\0".as_ptr() as *const _,
|
||||||
glib::Value::from(control_source_g).to_glib_none().0,
|
control_source_g.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -198,7 +199,7 @@ impl<O: IsA<ARGBControlBinding>> ARGBControlBindingExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"control-source-r\0".as_ptr() as *const _,
|
b"control-source-r\0".as_ptr() as *const _,
|
||||||
glib::Value::from(control_source_r).to_glib_none().0,
|
control_source_r.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -89,7 +90,6 @@ impl<O: IsA<DirectControlBinding>> DirectControlBindingExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `absolute` getter")
|
.expect("Return Value for property `absolute` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ impl<O: IsA<DirectControlBinding>> DirectControlBindingExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"control-source\0".as_ptr() as *const _,
|
b"control-source\0".as_ptr() as *const _,
|
||||||
glib::Value::from(control_source).to_glib_none().0,
|
control_source.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
|
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
|
|
||||||
|
@ -61,21 +60,30 @@ impl StaticType for InterpolationMode {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for InterpolationMode {
|
impl glib::value::ValueType for InterpolationMode {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for InterpolationMode {
|
unsafe impl<'a> FromValue<'a> for InterpolationMode {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for InterpolationMode {
|
impl ToValue for InterpolationMode {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<InterpolationMode>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -134,20 +142,29 @@ impl StaticType for LFOWaveform {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for LFOWaveform {
|
impl glib::value::ValueType for LFOWaveform {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for LFOWaveform {
|
unsafe impl<'a> FromValue<'a> for LFOWaveform {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for LFOWaveform {
|
impl ToValue for LFOWaveform {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<LFOWaveform>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -70,7 +71,6 @@ impl<O: IsA<InterpolationControlSource>> InterpolationControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `mode` getter")
|
.expect("Return Value for property `mode` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ impl<O: IsA<InterpolationControlSource>> InterpolationControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"mode\0".as_ptr() as *const _,
|
b"mode\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&mode).to_glib_none().0,
|
mode.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -111,7 +112,6 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `amplitude` getter")
|
.expect("Return Value for property `amplitude` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"amplitude\0".as_ptr() as *const _,
|
b"amplitude\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&litude).to_glib_none().0,
|
amplitude.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,6 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `frequency` getter")
|
.expect("Return Value for property `frequency` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,7 +144,7 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"frequency\0".as_ptr() as *const _,
|
b"frequency\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&frequency).to_glib_none().0,
|
frequency.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +160,6 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `offset` getter")
|
.expect("Return Value for property `offset` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,7 +168,7 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"offset\0".as_ptr() as *const _,
|
b"offset\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&offset).to_glib_none().0,
|
offset.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -186,7 +184,6 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `timeshift` getter")
|
.expect("Return Value for property `timeshift` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,7 +192,7 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"timeshift\0".as_ptr() as *const _,
|
b"timeshift\0".as_ptr() as *const _,
|
||||||
glib::Value::from(×hift).to_glib_none().0,
|
timeshift.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -211,7 +208,6 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `waveform` getter")
|
.expect("Return Value for property `waveform` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -220,7 +216,7 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"waveform\0".as_ptr() as *const _,
|
b"waveform\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&waveform).to_glib_none().0,
|
waveform.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -67,7 +68,6 @@ impl<O: IsA<TriggerControlSource>> TriggerControlSourceExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `tolerance` getter")
|
.expect("Return Value for property `tolerance` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ impl<O: IsA<TriggerControlSource>> TriggerControlSourceExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"tolerance\0".as_ptr() as *const _,
|
b"tolerance\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&tolerance).to_glib_none().0,
|
tolerance.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -14,6 +14,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -152,7 +153,6 @@ impl<O: IsA<Container>> GESContainerExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `height` getter")
|
.expect("Return Value for property `height` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ use crate::TrackElement;
|
||||||
use glib::object::IsA;
|
use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
|
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
|
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
|
@ -88,21 +87,30 @@ impl StaticType for Edge {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for Edge {
|
impl glib::value::ValueType for Edge {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for Edge {
|
unsafe impl<'a> FromValue<'a> for Edge {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for Edge {
|
impl ToValue for Edge {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<Edge>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,21 +194,30 @@ impl StaticType for EditMode {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for EditMode {
|
impl glib::value::ValueType for EditMode {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for EditMode {
|
unsafe impl<'a> FromValue<'a> for EditMode {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for EditMode {
|
impl ToValue for EditMode {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<EditMode>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -649,20 +666,29 @@ impl StaticType for VideoStandardTransitionType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for VideoStandardTransitionType {
|
impl glib::value::ValueType for VideoStandardTransitionType {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for VideoStandardTransitionType {
|
unsafe impl<'a> FromValue<'a> for VideoStandardTransitionType {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for VideoStandardTransitionType {
|
impl ToValue for VideoStandardTransitionType {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<VideoStandardTransitionType>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
use bitflags::bitflags;
|
use bitflags::bitflags;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
|
@ -46,21 +45,30 @@ impl StaticType for PipelineFlags {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for PipelineFlags {
|
impl glib::value::ValueType for PipelineFlags {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for PipelineFlags {
|
unsafe impl<'a> FromValue<'a> for PipelineFlags {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for PipelineFlags {
|
impl ToValue for PipelineFlags {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<PipelineFlags>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,20 +126,29 @@ impl StaticType for TrackType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for TrackType {
|
impl glib::value::ValueType for TrackType {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for TrackType {
|
unsafe impl<'a> FromValue<'a> for TrackType {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for TrackType {
|
impl ToValue for TrackType {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<TrackType>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -94,7 +95,6 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `duration` getter")
|
.expect("Return Value for property `duration` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"duration\0".as_ptr() as *const _,
|
b"duration\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&duration).to_glib_none().0,
|
duration.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,6 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `in-point` getter")
|
.expect("Return Value for property `in-point` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +127,7 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"in-point\0".as_ptr() as *const _,
|
b"in-point\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&in_point).to_glib_none().0,
|
in_point.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,7 +143,6 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `max-duration` getter")
|
.expect("Return Value for property `max-duration` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +151,7 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"max-duration\0".as_ptr() as *const _,
|
b"max-duration\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&max_duration).to_glib_none().0,
|
max_duration.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -169,7 +167,6 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `priority` getter")
|
.expect("Return Value for property `priority` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,7 +175,7 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"priority\0".as_ptr() as *const _,
|
b"priority\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&priority).to_glib_none().0,
|
priority.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -194,7 +191,6 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `start` getter")
|
.expect("Return Value for property `start` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,7 +199,7 @@ impl<O: IsA<Group>> GroupExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"start\0".as_ptr() as *const _,
|
b"start\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&start).to_glib_none().0,
|
start.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
@ -265,7 +266,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"audio-filter\0".as_ptr() as *const _,
|
b"audio-filter\0".as_ptr() as *const _,
|
||||||
glib::Value::from(audio_filter).to_glib_none().0,
|
audio_filter.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -289,7 +290,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"audio-sink\0".as_ptr() as *const _,
|
b"audio-sink\0".as_ptr() as *const _,
|
||||||
glib::Value::from(audio_sink).to_glib_none().0,
|
audio_sink.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -327,7 +328,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"video-filter\0".as_ptr() as *const _,
|
b"video-filter\0".as_ptr() as *const _,
|
||||||
glib::Value::from(video_filter).to_glib_none().0,
|
video_filter.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -351,7 +352,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"video-sink\0".as_ptr() as *const _,
|
b"video-sink\0".as_ptr() as *const _,
|
||||||
glib::Value::from(video_sink).to_glib_none().0,
|
video_sink.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
|
@ -605,7 +606,6 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `in-point` getter")
|
.expect("Return Value for property `in-point` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -614,7 +614,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"in-point\0".as_ptr() as *const _,
|
b"in-point\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&in_point).to_glib_none().0,
|
in_point.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -630,7 +630,6 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `serialize` getter")
|
.expect("Return Value for property `serialize` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -639,7 +638,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"serialize\0".as_ptr() as *const _,
|
b"serialize\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&serialize).to_glib_none().0,
|
serialize.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
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"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
|
@ -281,7 +282,6 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `duration` getter")
|
.expect("Return Value for property `duration` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -306,7 +306,7 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"id\0".as_ptr() as *const _,
|
b"id\0".as_ptr() as *const _,
|
||||||
glib::Value::from(id).to_glib_none().0,
|
id.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -336,7 +336,6 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `track-type` getter")
|
.expect("Return Value for property `track-type` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -66,7 +67,6 @@ impl<O: IsA<TransitionClip>> TransitionClipExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `vtype` getter")
|
.expect("Return Value for property `vtype` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ impl<O: IsA<TransitionClip>> TransitionClipExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"vtype\0".as_ptr() as *const _,
|
b"vtype\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&vtype).to_glib_none().0,
|
vtype.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ use glib::translate::*;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
@ -143,7 +144,7 @@ impl<O: IsA<UriClipAsset>> UriClipAssetExt for O {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||||
b"duration\0".as_ptr() as *const _,
|
b"duration\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&duration).to_glib_none().0,
|
duration.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +162,6 @@ impl<O: IsA<UriClipAsset>> UriClipAssetExt for O {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `is-nested-timeline` getter")
|
.expect("Return Value for property `is-nested-timeline` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -9,8 +9,7 @@ use glib::error::ErrorDomain;
|
||||||
use glib::object::IsA;
|
use glib::object::IsA;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::Quark;
|
use glib::Quark;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
|
@ -100,21 +99,30 @@ impl StaticType for GLContextError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLContextError {
|
impl glib::value::ValueType for GLContextError {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLContextError {
|
unsafe impl<'a> FromValue<'a> for GLContextError {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLContextError {
|
impl ToValue for GLContextError {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLContextError>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -285,21 +293,30 @@ impl StaticType for GLFormat {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLFormat {
|
impl glib::value::ValueType for GLFormat {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLFormat {
|
unsafe impl<'a> FromValue<'a> for GLFormat {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLFormat {
|
impl ToValue for GLFormat {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLFormat>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -350,21 +367,30 @@ impl StaticType for GLQueryType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLQueryType {
|
impl glib::value::ValueType for GLQueryType {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLQueryType {
|
unsafe impl<'a> FromValue<'a> for GLQueryType {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLQueryType {
|
impl ToValue for GLQueryType {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLQueryType>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -437,21 +463,30 @@ impl StaticType for GLSLError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLSLError {
|
impl glib::value::ValueType for GLSLError {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLSLError {
|
unsafe impl<'a> FromValue<'a> for GLSLError {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLSLError {
|
impl ToValue for GLSLError {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLSLError>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -604,21 +639,30 @@ impl StaticType for GLSLVersion {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLSLVersion {
|
impl glib::value::ValueType for GLSLVersion {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLSLVersion {
|
unsafe impl<'a> FromValue<'a> for GLSLVersion {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLSLVersion {
|
impl ToValue for GLSLVersion {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLSLVersion>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -673,21 +717,30 @@ impl StaticType for GLStereoDownmix {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLStereoDownmix {
|
impl glib::value::ValueType for GLStereoDownmix {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLStereoDownmix {
|
unsafe impl<'a> FromValue<'a> for GLStereoDownmix {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLStereoDownmix {
|
impl ToValue for GLStereoDownmix {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLStereoDownmix>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -778,21 +831,30 @@ impl StaticType for GLTextureTarget {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLTextureTarget {
|
impl glib::value::ValueType for GLTextureTarget {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLTextureTarget {
|
unsafe impl<'a> FromValue<'a> for GLTextureTarget {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLTextureTarget {
|
impl ToValue for GLTextureTarget {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLTextureTarget>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -851,21 +913,30 @@ impl StaticType for GLUploadReturn {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLUploadReturn {
|
impl glib::value::ValueType for GLUploadReturn {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLUploadReturn {
|
unsafe impl<'a> FromValue<'a> for GLUploadReturn {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLUploadReturn {
|
impl ToValue for GLUploadReturn {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLUploadReturn>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -938,20 +1009,29 @@ impl StaticType for GLWindowError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLWindowError {
|
impl glib::value::ValueType for GLWindowError {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLWindowError {
|
unsafe impl<'a> FromValue<'a> for GLWindowError {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLWindowError {
|
impl ToValue for GLWindowError {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLWindowError>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
use bitflags::bitflags;
|
use bitflags::bitflags;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::ToValue;
|
||||||
use glib::value::SetValue;
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
@ -65,21 +64,30 @@ impl StaticType for GLAPI {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLAPI {
|
impl glib::value::ValueType for GLAPI {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLAPI {
|
unsafe impl<'a> FromValue<'a> for GLAPI {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLAPI {
|
impl ToValue for GLAPI {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLAPI>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,21 +130,30 @@ impl StaticType for GLDisplayType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLDisplayType {
|
impl glib::value::ValueType for GLDisplayType {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLDisplayType {
|
unsafe impl<'a> FromValue<'a> for GLDisplayType {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLDisplayType {
|
impl ToValue for GLDisplayType {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLDisplayType>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -198,21 +215,30 @@ impl StaticType for GLPlatform {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLPlatform {
|
impl glib::value::ValueType for GLPlatform {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLPlatform {
|
unsafe impl<'a> FromValue<'a> for GLPlatform {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLPlatform {
|
impl ToValue for GLPlatform {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLPlatform>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -261,20 +287,29 @@ impl StaticType for GLSLProfile {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValueOptional<'a> for GLSLProfile {
|
impl glib::value::ValueType for GLSLProfile {
|
||||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
type Type = Self;
|
||||||
Some(FromValue::from_value(value))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FromValue<'a> for GLSLProfile {
|
unsafe impl<'a> FromValue<'a> for GLSLProfile {
|
||||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
|
unsafe fn from_value(value: &'a glib::Value) -> Self {
|
||||||
|
skip_assert_initialized!();
|
||||||
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
from_glib(glib::gobject_ffi::g_value_get_flags(value.to_glib_none().0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SetValue for GLSLProfile {
|
impl ToValue for GLSLProfile {
|
||||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
fn to_value(&self) -> glib::Value {
|
||||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
let mut value = glib::Value::for_value_type::<GLSLProfile>();
|
||||||
|
unsafe {
|
||||||
|
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, self.to_glib());
|
||||||
|
}
|
||||||
|
value
|
||||||
|
}
|
||||||
|
|
||||||
|
fn value_type(&self) -> glib::Type {
|
||||||
|
Self::static_type()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,9 @@ use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||||
|
use glib::ToValue;
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||||
|
@ -72,7 +75,6 @@ impl GLOverlayCompositor {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `yinvert` getter")
|
.expect("Return Value for property `yinvert` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +86,7 @@ impl GLOverlayCompositor {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"yinvert\0".as_ptr() as *const _,
|
b"yinvert\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&yinvert).to_glib_none().0,
|
yinvert.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ use glib::signal::connect_raw;
|
||||||
use glib::signal::SignalHandlerId;
|
use glib::signal::SignalHandlerId;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
|
use glib::ToValue;
|
||||||
use std::boxed::Box as Box_;
|
use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
|
@ -103,7 +104,6 @@ impl GLViewConvert {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `downmix-mode` getter")
|
.expect("Return Value for property `downmix-mode` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ impl GLViewConvert {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"downmix-mode\0".as_ptr() as *const _,
|
b"downmix-mode\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&downmix_mode).to_glib_none().0,
|
downmix_mode.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,6 @@ impl GLViewConvert {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `input-flags-override` getter")
|
.expect("Return Value for property `input-flags-override` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +141,7 @@ impl GLViewConvert {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"input-flags-override\0".as_ptr() as *const _,
|
b"input-flags-override\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&input_flags_override).to_glib_none().0,
|
input_flags_override.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +160,6 @@ impl GLViewConvert {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `input-mode-override` getter")
|
.expect("Return Value for property `input-mode-override` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -171,7 +169,7 @@ impl GLViewConvert {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"input-mode-override\0".as_ptr() as *const _,
|
b"input-mode-override\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&input_mode_override).to_glib_none().0,
|
input_mode_override.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -190,7 +188,6 @@ impl GLViewConvert {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `output-flags-override` getter")
|
.expect("Return Value for property `output-flags-override` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,7 +197,7 @@ impl GLViewConvert {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"output-flags-override\0".as_ptr() as *const _,
|
b"output-flags-override\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&output_flags_override).to_glib_none().0,
|
output_flags_override.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -219,7 +216,6 @@ impl GLViewConvert {
|
||||||
value
|
value
|
||||||
.get()
|
.get()
|
||||||
.expect("Return Value for property `output-mode-override` getter")
|
.expect("Return Value for property `output-mode-override` getter")
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -229,7 +225,7 @@ impl GLViewConvert {
|
||||||
glib::gobject_ffi::g_object_set_property(
|
glib::gobject_ffi::g_object_set_property(
|
||||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||||
b"output-mode-override\0".as_ptr() as *const _,
|
b"output-mode-override\0".as_ptr() as *const _,
|
||||||
glib::Value::from(&output_mode_override).to_glib_none().0,
|
output_mode_override.to_value().to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Generated by gir (https://github.com/gtk-rs/gir @ a972bd6)
|
// Generated by gir (https://github.com/gtk-rs/gir @ a01a90f)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue