mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -165,7 +166,6 @@ impl AppSink {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `buffer-list` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -175,7 +175,7 @@ impl AppSink {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -119,7 +120,6 @@ impl AppSrc {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `block` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `format` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -156,7 +155,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `handle-segment-change` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -187,7 +185,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `is-live` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -214,7 +211,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `max-latency` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -241,7 +237,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `min-latency` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -268,7 +263,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `min-percent` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -295,7 +289,7 @@ impl AppSrc {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
|
||||
|
@ -57,20 +56,29 @@ impl StaticType for AppStreamType {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for AppStreamType {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AppStreamType {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AppStreamType {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AppStreamType {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AppStreamType {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AppStreamType {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
|||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -222,7 +223,6 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -131,7 +132,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `actual-buffer-time` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -146,7 +146,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `actual-latency-time` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -161,7 +160,6 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::fmt;
|
||||
|
@ -182,21 +181,30 @@ impl StaticType for AudioChannelPosition {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for AudioChannelPosition {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioChannelPosition {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioChannelPosition {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioChannelPosition {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioChannelPosition {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioChannelPosition {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioDitherMethod {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioDitherMethod {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioDitherMethod {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioDitherMethod {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioDitherMethod {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioFormat {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioFormat {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioFormat {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioFormat {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioFormat {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioLayout {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioLayout {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioLayout {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioLayout {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioLayout {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioNoiseShapingMethod {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioNoiseShapingMethod {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioNoiseShapingMethod {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioNoiseShapingMethod {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioNoiseShapingMethod {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
impl<'a> FromValueOptional<'a> for AudioResamplerMethod {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioResamplerMethod {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
impl<'a> FromValue<'a> for AudioResamplerMethod {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioResamplerMethod {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
impl SetValue for AudioResamplerMethod {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioResamplerMethod {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioRingBufferFormatType {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioRingBufferFormatType {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioRingBufferFormatType {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioRingBufferFormatType {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioRingBufferFormatType {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 glib::translate::*;
|
||||
use glib::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
|
||||
|
@ -40,21 +39,30 @@ impl StaticType for AudioFlags {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for AudioFlags {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioFlags {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioFlags {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioFlags {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioFlags {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioFlags {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioFormatFlags {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioFormatFlags {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioFormatFlags {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioFormatFlags {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioFormatFlags {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AudioPackFlags {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for AudioPackFlags {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AudioPackFlags {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for AudioPackFlags {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AudioPackFlags {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -15,6 +15,7 @@ use glib::signal::connect_raw;
|
|||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -211,7 +212,6 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
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::mem::transmute;
|
||||
|
||||
|
@ -124,7 +127,6 @@ impl<O: IsA<AggregatorPad>> AggregatorPadExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -185,7 +186,6 @@ impl<O: IsA<BaseParse>> BaseParseExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -407,7 +408,6 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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 _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `qos` getter")
|
||||
.unwrap()
|
||||
value.get().expect("Return Value for property `qos` getter")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -466,7 +462,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -225,7 +226,6 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -220,10 +221,7 @@ impl<O: IsA<BaseTransform>> BaseTransformExt for O {
|
|||
b"qos\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `qos` getter")
|
||||
.unwrap()
|
||||
value.get().expect("Return Value for property `qos` getter")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -232,7 +230,7 @@ impl<O: IsA<BaseTransform>> BaseTransformExt for O {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
use glib::value::FromValueOptional;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
use glib::StaticType;
|
||||
|
@ -79,24 +76,33 @@ impl StaticType for AggregatorStartTimeSelection {
|
|||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
impl<'a> FromValueOptional<'a> for AggregatorStartTimeSelection {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for AggregatorStartTimeSelection {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
impl<'a> FromValue<'a> for AggregatorStartTimeSelection {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for AggregatorStartTimeSelection {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
impl SetValue for AggregatorStartTimeSelection {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for AggregatorStartTimeSelection {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
|||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -134,7 +135,6 @@ impl TestClock {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `clock-type` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,7 @@ impl TestClock {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -9,6 +9,7 @@ use glib::signal::connect_raw;
|
|||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -123,7 +124,7 @@ impl<O: IsA<ARGBControlBinding>> ARGBControlBindingExt for O {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -89,7 +90,6 @@ impl<O: IsA<DirectControlBinding>> DirectControlBindingExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
|
||||
|
@ -61,21 +60,30 @@ impl StaticType for InterpolationMode {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for InterpolationMode {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for InterpolationMode {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for InterpolationMode {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for InterpolationMode {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for InterpolationMode {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for InterpolationMode {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for LFOWaveform {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for LFOWaveform {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for LFOWaveform {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for LFOWaveform {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for LFOWaveform {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -70,7 +71,6 @@ impl<O: IsA<InterpolationControlSource>> InterpolationControlSourceExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -111,7 +112,6 @@ impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -67,7 +68,6 @@ impl<O: IsA<TriggerControlSource>> TriggerControlSourceExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -14,6 +14,7 @@ use glib::signal::connect_raw;
|
|||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -152,7 +153,6 @@ impl<O: IsA<Container>> GESContainerExt for O {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `height` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ use crate::TrackElement;
|
|||
use glib::object::IsA;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
|
||||
glib::wrapper! {
|
||||
pub struct Effect(Object<ffi::GESEffect, ffi::GESEffectClass>) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable;
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
|
||||
use glib::translate::*;
|
||||
use glib::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
|
@ -88,21 +87,30 @@ impl StaticType for Edge {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for Edge {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for Edge {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for Edge {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for Edge {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for Edge {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for Edge {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for EditMode {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for EditMode {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for EditMode {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for EditMode {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for EditMode {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for VideoStandardTransitionType {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for VideoStandardTransitionType {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for VideoStandardTransitionType {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for VideoStandardTransitionType {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for VideoStandardTransitionType {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 glib::translate::*;
|
||||
use glib::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::ffi::CStr;
|
||||
|
@ -46,21 +45,30 @@ impl StaticType for PipelineFlags {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for PipelineFlags {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for PipelineFlags {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for PipelineFlags {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for PipelineFlags {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for PipelineFlags {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for PipelineFlags {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for TrackType {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for TrackType {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for TrackType {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for TrackType {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for TrackType {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -94,7 +95,6 @@ impl<O: IsA<Group>> GroupExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
use std::ptr;
|
||||
|
@ -265,7 +266,7 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -605,7 +606,6 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
|
@ -281,7 +282,6 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `track-type` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ use glib::signal::connect_raw;
|
|||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -66,7 +67,6 @@ impl<O: IsA<TransitionClip>> TransitionClipExt for O {
|
|||
value
|
||||
.get()
|
||||
.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(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
use std::ptr;
|
||||
|
@ -143,7 +144,7 @@ impl<O: IsA<UriClipAsset>> UriClipAssetExt for O {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -9,8 +9,7 @@ use glib::error::ErrorDomain;
|
|||
use glib::object::IsA;
|
||||
use glib::translate::*;
|
||||
use glib::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::Quark;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
|
@ -100,21 +99,30 @@ impl StaticType for GLContextError {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for GLContextError {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLContextError {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLContextError {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLContextError {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLContextError {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLContextError {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLFormat {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLFormat {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLFormat {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLFormat {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLFormat {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLQueryType {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLQueryType {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLQueryType {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLQueryType {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLQueryType {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLSLError {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLSLError {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLSLError {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLSLError {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLSLError {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLSLVersion {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLSLVersion {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLSLVersion {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLSLVersion {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLSLVersion {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLStereoDownmix {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLStereoDownmix {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLStereoDownmix {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLStereoDownmix {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLStereoDownmix {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLTextureTarget {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLTextureTarget {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLTextureTarget {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLTextureTarget {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLTextureTarget {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLUploadReturn {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLUploadReturn {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLUploadReturn {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLUploadReturn {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLUploadReturn {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLWindowError {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLWindowError {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLWindowError {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLWindowError {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLWindowError {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 glib::translate::*;
|
||||
use glib::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
use glib::value::SetValue;
|
||||
use glib::value::ToValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::fmt;
|
||||
|
@ -65,21 +64,30 @@ impl StaticType for GLAPI {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FromValueOptional<'a> for GLAPI {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLAPI {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLAPI {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLAPI {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLAPI {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLAPI {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLDisplayType {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLDisplayType {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLDisplayType {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLDisplayType {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLDisplayType {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLPlatform {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLPlatform {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLPlatform {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLPlatform {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLPlatform {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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 {
|
||||
unsafe fn from_value_optional(value: &glib::Value) -> Option<Self> {
|
||||
Some(FromValue::from_value(value))
|
||||
}
|
||||
impl glib::value::ValueType for GLSLProfile {
|
||||
type Type = Self;
|
||||
}
|
||||
|
||||
impl<'a> FromValue<'a> for GLSLProfile {
|
||||
unsafe fn from_value(value: &glib::Value) -> Self {
|
||||
unsafe impl<'a> FromValue<'a> for GLSLProfile {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
impl SetValue for GLSLProfile {
|
||||
unsafe fn set_value(value: &mut glib::Value, this: &Self) {
|
||||
glib::gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib())
|
||||
impl ToValue for GLSLProfile {
|
||||
fn to_value(&self) -> glib::Value {
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
|
|
@ -20,6 +20,9 @@ use glib::translate::*;
|
|||
use glib::StaticType;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[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_;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
|
@ -72,7 +75,6 @@ impl GLOverlayCompositor {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `yinvert` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -84,7 +86,7 @@ impl GLOverlayCompositor {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
@ -103,7 +104,6 @@ impl GLViewConvert {
|
|||
value
|
||||
.get()
|
||||
.expect("Return Value for property `downmix-mode` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ impl GLViewConvert {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `input-flags-override` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -142,7 +141,7 @@ impl GLViewConvert {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `input-mode-override` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -171,7 +169,7 @@ impl GLViewConvert {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `output-flags-override` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -200,7 +197,7 @@ impl GLViewConvert {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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
|
||||
.get()
|
||||
.expect("Return Value for property `output-mode-override` getter")
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -229,7 +225,7 @@ impl GLViewConvert {
|
|||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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 gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
||||
// 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