mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-28 20:41:31 +00:00
regen with latest gir
This commit is contained in:
parent
0444660d1f
commit
0d009bca31
202 changed files with 443 additions and 2830 deletions
|
@ -25,14 +25,14 @@ gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", optional =
|
|||
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "../gstreamer-rtsp-server", optional = true }
|
||||
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
|
||||
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
|
||||
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
||||
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" , optional = true }
|
||||
anyhow = "1.0"
|
||||
derive_more = "0.99.5"
|
||||
futures = "0.3"
|
||||
byte-slice-cast = "1"
|
||||
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"], optional = true }
|
||||
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
||||
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
||||
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core" , features=["use_glib"], optional = true }
|
||||
pango = { git = "https://github.com/gtk-rs/gtk-rs-core" , optional = true }
|
||||
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core" , optional = true }
|
||||
glutin = { version = "0.27", optional = true }
|
||||
once_cell = "1.0"
|
||||
image = { version="0.23", optional = true }
|
||||
|
|
2
gir
2
gir
|
@ -1 +1 @@
|
|||
Subproject commit e0b1709803a72df2223aace1eb15881c45bbbb96
|
||||
Subproject commit dd6854cae9fd070eb8331b44225e934fbc7bbb30
|
|
@ -181,28 +181,12 @@ impl AppSink {
|
|||
|
||||
#[doc(alias = "buffer-list")]
|
||||
pub fn is_buffer_list(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"buffer-list\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `buffer-list` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "buffer-list")
|
||||
}
|
||||
|
||||
#[doc(alias = "buffer-list")]
|
||||
pub fn set_buffer_list(&self, buffer_list: bool) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"buffer-list\0".as_ptr() as *const _,
|
||||
buffer_list.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "buffer-list", &buffer_list)
|
||||
}
|
||||
|
||||
#[doc(alias = "buffer-list")]
|
||||
|
|
|
@ -193,185 +193,73 @@ impl AppSrc {
|
|||
}
|
||||
|
||||
pub fn is_block(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"block\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `block` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "block")
|
||||
}
|
||||
|
||||
pub fn set_block(&self, block: bool) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"block\0".as_ptr() as *const _,
|
||||
block.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "block", &block)
|
||||
}
|
||||
|
||||
pub fn format(&self) -> gst::Format {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::Format as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"format\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `format` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "format")
|
||||
}
|
||||
|
||||
pub fn set_format(&self, format: gst::Format) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"format\0".as_ptr() as *const _,
|
||||
format.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "format", &format)
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "handle-segment-change")]
|
||||
pub fn is_handle_segment_change(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"handle-segment-change\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `handle-segment-change` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "handle-segment-change")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "handle-segment-change")]
|
||||
pub fn set_handle_segment_change(&self, handle_segment_change: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
handle_segment_change.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "handle-segment-change", &handle_segment_change)
|
||||
}
|
||||
|
||||
#[doc(alias = "is-live")]
|
||||
pub fn is_live(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"is-live\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `is-live` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "is-live")
|
||||
}
|
||||
|
||||
#[doc(alias = "is-live")]
|
||||
pub fn set_is_live(&self, is_live: bool) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"is-live\0".as_ptr() as *const _,
|
||||
is_live.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "is-live", &is_live)
|
||||
}
|
||||
|
||||
#[doc(alias = "max-latency")]
|
||||
pub fn max_latency(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"max-latency\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `max-latency` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "max-latency")
|
||||
}
|
||||
|
||||
#[doc(alias = "max-latency")]
|
||||
pub fn set_max_latency(&self, max_latency: i64) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"max-latency\0".as_ptr() as *const _,
|
||||
max_latency.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "max-latency", &max_latency)
|
||||
}
|
||||
|
||||
#[doc(alias = "min-latency")]
|
||||
pub fn min_latency(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"min-latency\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `min-latency` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "min-latency")
|
||||
}
|
||||
|
||||
#[doc(alias = "min-latency")]
|
||||
pub fn set_min_latency(&self, min_latency: i64) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"min-latency\0".as_ptr() as *const _,
|
||||
min_latency.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "min-latency", &min_latency)
|
||||
}
|
||||
|
||||
#[doc(alias = "min-percent")]
|
||||
pub fn min_percent(&self) -> u32 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u32 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"min-percent\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `min-percent` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "min-percent")
|
||||
}
|
||||
|
||||
#[doc(alias = "min-percent")]
|
||||
pub fn set_min_percent(&self, min_percent: u32) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"min-percent\0".as_ptr() as *const _,
|
||||
min_percent.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "min-percent", &min_percent)
|
||||
}
|
||||
|
||||
#[doc(alias = "block")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -231,75 +231,27 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
|||
//}
|
||||
|
||||
fn buffer_time(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"buffer-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `buffer-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "buffer-time")
|
||||
}
|
||||
|
||||
fn set_buffer_time(&self, buffer_time: i64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
buffer_time.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "buffer-time", &buffer_time)
|
||||
}
|
||||
|
||||
fn can_activate_pull(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"can-activate-pull\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `can-activate-pull` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "can-activate-pull")
|
||||
}
|
||||
|
||||
fn set_can_activate_pull(&self, can_activate_pull: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
can_activate_pull.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "can-activate-pull", &can_activate_pull)
|
||||
}
|
||||
|
||||
fn latency_time(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"latency-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `latency-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "latency-time")
|
||||
}
|
||||
|
||||
fn set_latency_time(&self, latency_time: i64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
latency_time.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "latency-time", &latency_time)
|
||||
}
|
||||
|
||||
fn connect_alignment_threshold_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -133,79 +133,27 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
|
|||
//}
|
||||
|
||||
fn actual_buffer_time(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"actual-buffer-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `actual-buffer-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "actual-buffer-time")
|
||||
}
|
||||
|
||||
fn actual_latency_time(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"actual-latency-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `actual-latency-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "actual-latency-time")
|
||||
}
|
||||
|
||||
fn buffer_time(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"buffer-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `buffer-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "buffer-time")
|
||||
}
|
||||
|
||||
fn set_buffer_time(&self, buffer_time: i64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
buffer_time.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "buffer-time", &buffer_time)
|
||||
}
|
||||
|
||||
fn latency_time(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"latency-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `latency-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "latency-time")
|
||||
}
|
||||
|
||||
fn set_latency_time(&self, latency_time: i64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
latency_time.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "latency-time", &latency_time)
|
||||
}
|
||||
|
||||
fn connect_actual_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -227,82 +227,33 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
|||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn emits_signals(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"emit-signals\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `emit-signals` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "emit-signals")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn set_emit_signals(&self, emit_signals: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
emit_signals.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "emit-signals", &emit_signals)
|
||||
}
|
||||
|
||||
fn start_time(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"start-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `start-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "start-time")
|
||||
}
|
||||
|
||||
fn set_start_time(&self, start_time: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
start_time.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "start-time", &start_time)
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn start_time_selection(&self) -> AggregatorStartTimeSelection {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<AggregatorStartTimeSelection as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"start-time-selection\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `start-time-selection` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "start-time-selection")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn set_start_time_selection(&self, start_time_selection: AggregatorStartTimeSelection) {
|
||||
unsafe {
|
||||
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 _,
|
||||
start_time_selection.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "start-time-selection", &start_time_selection)
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
|
|
|
@ -137,29 +137,13 @@ impl<O: IsA<AggregatorPad>> AggregatorPadExt for O {
|
|||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
fn emits_signals(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"emit-signals\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `emit-signals` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "emit-signals")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
fn set_emit_signals(&self, emit_signals: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
emit_signals.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "emit-signals", &emit_signals)
|
||||
}
|
||||
|
||||
fn connect_buffer_consumed<F: Fn(&Self, &gst::Buffer) + Send + Sync + 'static>(
|
||||
|
|
|
@ -188,27 +188,11 @@ impl<O: IsA<BaseParse>> BaseParseExt for O {
|
|||
}
|
||||
|
||||
fn is_disable_passthrough(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"disable-passthrough\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `disable-passthrough` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "disable-passthrough")
|
||||
}
|
||||
|
||||
fn set_disable_passthrough(&self, disable_passthrough: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
disable_passthrough.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "disable-passthrough", &disable_passthrough)
|
||||
}
|
||||
|
||||
fn connect_disable_passthrough_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -414,73 +414,27 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
}
|
||||
|
||||
fn is_async(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"async\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `async` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "async")
|
||||
}
|
||||
|
||||
fn set_async(&self, async_: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
async_.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "async", &async_)
|
||||
}
|
||||
|
||||
fn enables_last_sample(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"enable-last-sample\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `enable-last-sample` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "enable-last-sample")
|
||||
}
|
||||
|
||||
fn set_enable_last_sample(&self, enable_last_sample: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
enable_last_sample.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "enable-last-sample", &enable_last_sample)
|
||||
}
|
||||
|
||||
fn is_qos(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"qos\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `qos` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "qos")
|
||||
}
|
||||
|
||||
fn set_qos(&self, qos: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
qos.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "qos", &qos)
|
||||
}
|
||||
|
||||
fn connect_async_notify<F: Fn(&Self) + Send + Sync + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -250,51 +250,19 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
|||
}
|
||||
|
||||
fn num_buffers(&self) -> i32 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i32 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"num-buffers\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `num-buffers` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "num-buffers")
|
||||
}
|
||||
|
||||
fn set_num_buffers(&self, num_buffers: i32) {
|
||||
unsafe {
|
||||
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 _,
|
||||
num_buffers.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "num-buffers", &num_buffers)
|
||||
}
|
||||
|
||||
fn is_typefind(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"typefind\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `typefind` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "typefind")
|
||||
}
|
||||
|
||||
fn set_typefind(&self, typefind: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
typefind.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "typefind", &typefind)
|
||||
}
|
||||
|
||||
fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -184,25 +184,11 @@ impl<O: IsA<BaseTransform>> BaseTransformExt for O {
|
|||
}
|
||||
|
||||
fn is_qos(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"qos\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `qos` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "qos")
|
||||
}
|
||||
|
||||
fn set_qos(&self, qos: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
qos.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "qos", &qos)
|
||||
}
|
||||
|
||||
fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -85,43 +85,17 @@ impl TestClock {
|
|||
|
||||
#[doc(alias = "clock-type")]
|
||||
pub fn clock_type(&self) -> gst::ClockType {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::ClockType as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"clock-type\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `clock-type` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "clock-type")
|
||||
}
|
||||
|
||||
#[doc(alias = "clock-type")]
|
||||
pub fn set_clock_type(&self, clock_type: gst::ClockType) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"clock-type\0".as_ptr() as *const _,
|
||||
clock_type.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "clock-type", &clock_type)
|
||||
}
|
||||
|
||||
#[doc(alias = "start-time")]
|
||||
pub fn start_time(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"start-time\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `start-time` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "start-time")
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_id_list_get_latest_time")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -106,103 +106,35 @@ pub trait ARGBControlBindingExt: 'static {
|
|||
|
||||
impl<O: IsA<ARGBControlBinding>> ARGBControlBindingExt for O {
|
||||
fn control_source_a(&self) -> Option<gst::ControlSource> {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<gst::ControlSource as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"control-source-a\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `control-source-a` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "control-source-a")
|
||||
}
|
||||
|
||||
fn set_control_source_a<P: IsA<gst::ControlSource>>(&self, control_source_a: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
control_source_a.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-a", &control_source_a)
|
||||
}
|
||||
|
||||
fn control_source_b(&self) -> Option<gst::ControlSource> {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<gst::ControlSource as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"control-source-b\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `control-source-b` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "control-source-b")
|
||||
}
|
||||
|
||||
fn set_control_source_b<P: IsA<gst::ControlSource>>(&self, control_source_b: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
control_source_b.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-b", &control_source_b)
|
||||
}
|
||||
|
||||
fn control_source_g(&self) -> Option<gst::ControlSource> {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<gst::ControlSource as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"control-source-g\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `control-source-g` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "control-source-g")
|
||||
}
|
||||
|
||||
fn set_control_source_g<P: IsA<gst::ControlSource>>(&self, control_source_g: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
control_source_g.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-g", &control_source_g)
|
||||
}
|
||||
|
||||
fn control_source_r(&self) -> Option<gst::ControlSource> {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<gst::ControlSource as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"control-source-r\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `control-source-r` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "control-source-r")
|
||||
}
|
||||
|
||||
fn set_control_source_r<P: IsA<gst::ControlSource>>(&self, control_source_r: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
control_source_r.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-r", &control_source_r)
|
||||
}
|
||||
|
||||
fn connect_control_source_a_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -83,42 +83,15 @@ pub trait DirectControlBindingExt: 'static {
|
|||
|
||||
impl<O: IsA<DirectControlBinding>> DirectControlBindingExt for O {
|
||||
fn is_absolute(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"absolute\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `absolute` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "absolute")
|
||||
}
|
||||
|
||||
fn control_source(&self) -> Option<gst::ControlSource> {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<gst::ControlSource as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"control-source\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `control-source` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "control-source")
|
||||
}
|
||||
|
||||
fn set_control_source<P: IsA<gst::ControlSource>>(&self, control_source: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
control_source.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "control-source", &control_source)
|
||||
}
|
||||
|
||||
fn connect_control_source_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -59,28 +59,11 @@ pub trait InterpolationControlSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<InterpolationControlSource>> InterpolationControlSourceExt for O {
|
||||
fn mode(&self) -> InterpolationMode {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<InterpolationMode as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"mode\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `mode` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "mode")
|
||||
}
|
||||
|
||||
fn set_mode(&self, mode: InterpolationMode) {
|
||||
unsafe {
|
||||
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 _,
|
||||
mode.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "mode", &mode)
|
||||
}
|
||||
|
||||
fn connect_mode_notify<F: Fn(&Self) + Send + Sync + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -97,123 +97,43 @@ pub trait LFOControlSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<LFOControlSource>> LFOControlSourceExt for O {
|
||||
fn amplitude(&self) -> f64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<f64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"amplitude\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `amplitude` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "amplitude")
|
||||
}
|
||||
|
||||
fn set_amplitude(&self, amplitude: f64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
amplitude.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "amplitude", &litude)
|
||||
}
|
||||
|
||||
fn frequency(&self) -> f64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<f64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"frequency\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `frequency` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "frequency")
|
||||
}
|
||||
|
||||
fn set_frequency(&self, frequency: f64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
frequency.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "frequency", &frequency)
|
||||
}
|
||||
|
||||
fn offset(&self) -> f64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<f64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"offset\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `offset` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "offset")
|
||||
}
|
||||
|
||||
fn set_offset(&self, offset: f64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
offset.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "offset", &offset)
|
||||
}
|
||||
|
||||
fn timeshift(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"timeshift\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `timeshift` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "timeshift")
|
||||
}
|
||||
|
||||
fn set_timeshift(&self, timeshift: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
timeshift.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "timeshift", ×hift)
|
||||
}
|
||||
|
||||
fn waveform(&self) -> LFOWaveform {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<LFOWaveform as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"waveform\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `waveform` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "waveform")
|
||||
}
|
||||
|
||||
fn set_waveform(&self, waveform: LFOWaveform) {
|
||||
unsafe {
|
||||
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 _,
|
||||
waveform.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "waveform", &waveform)
|
||||
}
|
||||
|
||||
fn connect_amplitude_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -60,27 +60,11 @@ pub trait TriggerControlSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<TriggerControlSource>> TriggerControlSourceExt for O {
|
||||
fn tolerance(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"tolerance\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `tolerance` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "tolerance")
|
||||
}
|
||||
|
||||
fn set_tolerance(&self, tolerance: i64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
tolerance.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "tolerance", &tolerance)
|
||||
}
|
||||
|
||||
fn connect_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -32,14 +32,6 @@ pub trait AudioUriSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<AudioUriSource>> AudioUriSourceExt for O {
|
||||
fn uri(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"uri\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `uri` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -149,17 +149,7 @@ impl<O: IsA<Container>> GESContainerExt for O {
|
|||
}
|
||||
|
||||
fn height(&self) -> u32 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u32 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"height\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `height` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "height")
|
||||
}
|
||||
|
||||
fn connect_child_added<F: Fn(&Self, &TimelineElement) + 'static>(
|
||||
|
|
|
@ -44,16 +44,6 @@ pub trait EffectExt: 'static {
|
|||
|
||||
impl<O: IsA<Effect>> EffectExt for O {
|
||||
fn bin_description(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"bin-description\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `bin-description` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "bin-description")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,30 +53,10 @@ pub trait EffectClipExt: 'static {
|
|||
|
||||
impl<O: IsA<EffectClip>> EffectClipExt for O {
|
||||
fn audio_bin_description(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"audio-bin-description\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `audio-bin-description` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "audio-bin-description")
|
||||
}
|
||||
|
||||
fn video_bin_description(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"video-bin-description\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `video-bin-description` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "video-bin-description")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,123 +87,43 @@ pub trait GroupExt: 'static {
|
|||
|
||||
impl<O: IsA<Group>> GroupExt for O {
|
||||
fn duration(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"duration\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `duration` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "duration")
|
||||
}
|
||||
|
||||
fn set_duration(&self, duration: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
duration.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "duration", &duration)
|
||||
}
|
||||
|
||||
fn in_point(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"in-point\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `in-point` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "in-point")
|
||||
}
|
||||
|
||||
fn set_in_point(&self, in_point: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
in_point.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "in-point", &in_point)
|
||||
}
|
||||
|
||||
fn max_duration(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"max-duration\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `max-duration` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "max-duration")
|
||||
}
|
||||
|
||||
fn set_max_duration(&self, max_duration: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
max_duration.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "max-duration", &max_duration)
|
||||
}
|
||||
|
||||
fn priority(&self) -> u32 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u32 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"priority\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `priority` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "priority")
|
||||
}
|
||||
|
||||
fn set_priority(&self, priority: u32) {
|
||||
unsafe {
|
||||
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 _,
|
||||
priority.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "priority", &priority)
|
||||
}
|
||||
|
||||
fn start(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"start\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `start` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "start")
|
||||
}
|
||||
|
||||
fn set_start(&self, start: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
start.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "start", &start)
|
||||
}
|
||||
|
||||
fn connect_duration_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -32,14 +32,6 @@ pub trait ImageSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<ImageSource>> ImageSourceExt for O {
|
||||
fn uri(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"uri\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `uri` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,17 +25,7 @@ impl Marker {
|
|||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
pub fn position(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"position\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `position` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "position")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
|
|
|
@ -86,29 +86,13 @@ impl MarkerList {
|
|||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn flags(&self) -> MarkerFlags {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<MarkerFlags as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"flags\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `flags` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "flags")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn set_flags(&self, flags: MarkerFlags) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"flags\0".as_ptr() as *const _,
|
||||
flags.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "flags", &flags)
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
|
|
|
@ -40,14 +40,6 @@ pub trait MultiFileSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<MultiFileSource>> MultiFileSourceExt for O {
|
||||
fn uri(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"uri\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `uri` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -257,113 +257,39 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
|
|||
}
|
||||
|
||||
fn audio_filter(&self) -> Option<gst::Element> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::Element as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"audio-filter\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `audio-filter` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "audio-filter")
|
||||
}
|
||||
|
||||
fn set_audio_filter<P: IsA<gst::Element>>(&self, audio_filter: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
audio_filter.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "audio-filter", &audio_filter)
|
||||
}
|
||||
|
||||
fn audio_sink(&self) -> Option<gst::Element> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::Element as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"audio-sink\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `audio-sink` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "audio-sink")
|
||||
}
|
||||
|
||||
fn set_audio_sink<P: IsA<gst::Element>>(&self, audio_sink: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
audio_sink.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "audio-sink", &audio_sink)
|
||||
}
|
||||
|
||||
fn timeline(&self) -> Option<Timeline> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<Timeline as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"timeline\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `timeline` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "timeline")
|
||||
}
|
||||
|
||||
fn video_filter(&self) -> Option<gst::Element> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::Element as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"video-filter\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `video-filter` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "video-filter")
|
||||
}
|
||||
|
||||
fn set_video_filter<P: IsA<gst::Element>>(&self, video_filter: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
video_filter.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "video-filter", &video_filter)
|
||||
}
|
||||
|
||||
fn video_sink(&self) -> Option<gst::Element> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::Element as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"video-sink\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `video-sink` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "video-sink")
|
||||
}
|
||||
|
||||
fn set_video_sink<P: IsA<gst::Element>>(&self, video_sink: Option<&P>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
video_sink.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "video-sink", &video_sink)
|
||||
}
|
||||
|
||||
fn connect_audio_filter_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -139,27 +139,11 @@ impl<O: IsA<TestClip>> TestClipExt for O {
|
|||
}
|
||||
|
||||
fn freq(&self) -> f64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<f64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"freq\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `freq` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "freq")
|
||||
}
|
||||
|
||||
fn set_freq(&self, freq: f64) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"freq\0".as_ptr() as *const _,
|
||||
freq.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "freq", &freq)
|
||||
}
|
||||
|
||||
fn connect_freq_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -218,23 +218,11 @@ impl<O: IsA<TextOverlayClip>> TextOverlayClipExt for O {
|
|||
}
|
||||
|
||||
fn set_halignment(&self, halignment: TextHAlign) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"halignment\0".as_ptr() as *const _,
|
||||
halignment.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "halignment", &halignment)
|
||||
}
|
||||
|
||||
fn set_valignment(&self, valignment: TextVAlign) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"valignment\0".as_ptr() as *const _,
|
||||
valignment.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "valignment", &valignment)
|
||||
}
|
||||
|
||||
fn connect_color_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -677,51 +677,19 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
}
|
||||
|
||||
fn in_point(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"in-point\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `in-point` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "in-point")
|
||||
}
|
||||
|
||||
fn set_in_point(&self, in_point: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
in_point.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "in-point", &in_point)
|
||||
}
|
||||
|
||||
fn is_serialize(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"serialize\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `serialize` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "serialize")
|
||||
}
|
||||
|
||||
fn set_serialize(&self, serialize: bool) {
|
||||
unsafe {
|
||||
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 _,
|
||||
serialize.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "serialize", &serialize)
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
|
|
|
@ -250,31 +250,11 @@ impl<O: IsA<TitleClip>> TitleClipExt for O {
|
|||
}
|
||||
|
||||
fn background(&self) -> u32 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u32 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"background\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `background` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "background")
|
||||
}
|
||||
|
||||
fn color(&self) -> u32 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u32 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"color\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `color` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "color")
|
||||
}
|
||||
|
||||
fn connect_background_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -283,71 +283,27 @@ impl<O: IsA<Track>> GESTrackExt for O {
|
|||
}
|
||||
|
||||
fn duration(&self) -> u64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<u64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"duration\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `duration` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "duration")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn id(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"id\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `id` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "id")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn set_id(&self, id: Option<&str>) {
|
||||
unsafe {
|
||||
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 _,
|
||||
id.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "id", &id)
|
||||
}
|
||||
|
||||
fn get_property_restriction_caps(&self) -> Option<gst::Caps> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<gst::Caps as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"restriction-caps\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `restriction-caps` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "restriction-caps")
|
||||
}
|
||||
|
||||
fn track_type(&self) -> TrackType {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<TrackType as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"track-type\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `track-type` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "track-type")
|
||||
}
|
||||
|
||||
fn connect_commited<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -60,28 +60,11 @@ pub trait TransitionClipExt: 'static {
|
|||
|
||||
impl<O: IsA<TransitionClip>> TransitionClipExt for O {
|
||||
fn vtype(&self) -> VideoStandardTransitionType {
|
||||
unsafe {
|
||||
let mut value =
|
||||
glib::Value::from_type(<VideoStandardTransitionType as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"vtype\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `vtype` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "vtype")
|
||||
}
|
||||
|
||||
fn set_vtype(&self, vtype: VideoStandardTransitionType) {
|
||||
unsafe {
|
||||
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 _,
|
||||
vtype.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "vtype", &vtype)
|
||||
}
|
||||
|
||||
fn connect_vtype_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -162,29 +162,13 @@ impl<O: IsA<UriClipAsset>> UriClipAssetExt for O {
|
|||
}
|
||||
|
||||
fn set_duration(&self, duration: u64) {
|
||||
unsafe {
|
||||
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 _,
|
||||
duration.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "duration", &duration)
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn is_nested_timeline(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"is-nested-timeline\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `is-nested-timeline` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "is-nested-timeline")
|
||||
}
|
||||
|
||||
fn connect_duration_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -135,27 +135,11 @@ impl<O: IsA<VideoTransition>> VideoTransitionExt for O {
|
|||
}
|
||||
|
||||
fn inverts(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"invert\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `invert` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "invert")
|
||||
}
|
||||
|
||||
fn set_invert(&self, invert: bool) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"invert\0".as_ptr() as *const _,
|
||||
invert.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "invert", &invert)
|
||||
}
|
||||
|
||||
fn connect_border_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -32,14 +32,6 @@ pub trait VideoUriSourceExt: 'static {
|
|||
|
||||
impl<O: IsA<VideoUriSource>> VideoUriSourceExt for O {
|
||||
fn uri(&self) -> Option<glib::GString> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<glib::GString as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"uri\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value.get().expect("Return Value for property `uri` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -70,17 +70,7 @@ impl<O: IsA<GLBaseFilter>> GLBaseFilterExt for O {
|
|||
}
|
||||
|
||||
fn context(&self) -> Option<GLContext> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<GLContext as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"context\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `context` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "context")
|
||||
}
|
||||
|
||||
fn connect_context_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -45,27 +45,11 @@ pub trait GLBaseSrcExt: 'static {
|
|||
|
||||
impl<O: IsA<GLBaseSrc>> GLBaseSrcExt for O {
|
||||
fn timestamp_offset(&self) -> i64 {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<i64 as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"timestamp-offset\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `timestamp-offset` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self.as_ref(), "timestamp-offset")
|
||||
}
|
||||
|
||||
fn set_timestamp_offset(&self, timestamp_offset: i64) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.to_glib_none().0 as *mut glib::gobject_ffi::GObject,
|
||||
b"timestamp-offset\0".as_ptr() as *const _,
|
||||
timestamp_offset.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self.as_ref(), "timestamp-offset", ×tamp_offset)
|
||||
}
|
||||
|
||||
fn connect_timestamp_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
|
|
|
@ -65,29 +65,13 @@ impl GLOverlayCompositor {
|
|||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn is_yinvert(&self) -> bool {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<bool as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"yinvert\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `yinvert` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "yinvert")
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn set_yinvert(&self, yinvert: bool) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"yinvert\0".as_ptr() as *const _,
|
||||
yinvert.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "yinvert", &yinvert)
|
||||
}
|
||||
|
||||
#[doc(alias = "gst_gl_overlay_compositor_add_caps")]
|
||||
|
|
|
@ -95,140 +95,52 @@ impl GLViewConvert {
|
|||
|
||||
#[doc(alias = "downmix-mode")]
|
||||
pub fn downmix_mode(&self) -> GLStereoDownmix {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(<GLStereoDownmix as StaticType>::static_type());
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"downmix-mode\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `downmix-mode` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "downmix-mode")
|
||||
}
|
||||
|
||||
#[doc(alias = "downmix-mode")]
|
||||
pub fn set_downmix_mode(&self, downmix_mode: GLStereoDownmix) {
|
||||
unsafe {
|
||||
glib::gobject_ffi::g_object_set_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"downmix-mode\0".as_ptr() as *const _,
|
||||
downmix_mode.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "downmix-mode", &downmix_mode)
|
||||
}
|
||||
|
||||
#[doc(alias = "input-flags-override")]
|
||||
pub fn input_flags_override(&self) -> gst_video::VideoMultiviewFlags {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(
|
||||
<gst_video::VideoMultiviewFlags as StaticType>::static_type(),
|
||||
);
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"input-flags-override\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `input-flags-override` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "input-flags-override")
|
||||
}
|
||||
|
||||
#[doc(alias = "input-flags-override")]
|
||||
pub fn set_input_flags_override(&self, input_flags_override: gst_video::VideoMultiviewFlags) {
|
||||
unsafe {
|
||||
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 _,
|
||||
input_flags_override.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "input-flags-override", &input_flags_override)
|
||||
}
|
||||
|
||||
#[doc(alias = "input-mode-override")]
|
||||
pub fn input_mode_override(&self) -> gst_video::VideoMultiviewMode {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(
|
||||
<gst_video::VideoMultiviewMode as StaticType>::static_type(),
|
||||
);
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"input-mode-override\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `input-mode-override` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "input-mode-override")
|
||||
}
|
||||
|
||||
#[doc(alias = "input-mode-override")]
|
||||
pub fn set_input_mode_override(&self, input_mode_override: gst_video::VideoMultiviewMode) {
|
||||
unsafe {
|
||||
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 _,
|
||||
input_mode_override.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "input-mode-override", &input_mode_override)
|
||||
}
|
||||
|
||||
#[doc(alias = "output-flags-override")]
|
||||
pub fn output_flags_override(&self) -> gst_video::VideoMultiviewFlags {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(
|
||||
<gst_video::VideoMultiviewFlags as StaticType>::static_type(),
|
||||
);
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"output-flags-override\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `output-flags-override` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "output-flags-override")
|
||||
}
|
||||
|
||||
#[doc(alias = "output-flags-override")]
|
||||
pub fn set_output_flags_override(&self, output_flags_override: gst_video::VideoMultiviewFlags) {
|
||||
unsafe {
|
||||
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 _,
|
||||
output_flags_override.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "output-flags-override", &output_flags_override)
|
||||
}
|
||||
|
||||
#[doc(alias = "output-mode-override")]
|
||||
pub fn output_mode_override(&self) -> gst_video::VideoMultiviewMode {
|
||||
unsafe {
|
||||
let mut value = glib::Value::from_type(
|
||||
<gst_video::VideoMultiviewMode as StaticType>::static_type(),
|
||||
);
|
||||
glib::gobject_ffi::g_object_get_property(
|
||||
self.as_ptr() as *mut glib::gobject_ffi::GObject,
|
||||
b"output-mode-override\0".as_ptr() as *const _,
|
||||
value.to_glib_none_mut().0,
|
||||
);
|
||||
value
|
||||
.get()
|
||||
.expect("Return Value for property `output-mode-override` getter")
|
||||
}
|
||||
glib::ObjectExt::property(self, "output-mode-override")
|
||||
}
|
||||
|
||||
#[doc(alias = "output-mode-override")]
|
||||
pub fn set_output_mode_override(&self, output_mode_override: gst_video::VideoMultiviewMode) {
|
||||
unsafe {
|
||||
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 _,
|
||||
output_mode_override.to_value().to_glib_none().0,
|
||||
);
|
||||
}
|
||||
glib::ObjectExt::set_property(self, "output-mode-override", &output_mode_override)
|
||||
}
|
||||
|
||||
#[doc(alias = "downmix-mode")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ e0b1709803a7)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ dd6854cae9fd)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ f8c393377c4e)
|
||||
// DO NOT EDIT
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue