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