mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
Regenerate with latest gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1293>
This commit is contained in:
parent
4ec5f99142
commit
c2cda2c067
162 changed files with 932 additions and 890 deletions
|
@ -45,14 +45,14 @@ impl DRMDumbAllocator {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
#[doc(alias = "drm-device-path")]
|
#[doc(alias = "drm-device-path")]
|
||||||
pub fn drm_device_path(&self) -> Option<std::path::PathBuf> {
|
pub fn drm_device_path(&self) -> Option<std::path::PathBuf> {
|
||||||
glib::ObjectExt::property(self, "drm-device-path")
|
ObjectExt::property(self, "drm-device-path")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_24")]
|
#[cfg(feature = "v1_24")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
#[doc(alias = "drm-fd")]
|
#[doc(alias = "drm-fd")]
|
||||||
pub fn drm_fd(&self) -> i32 {
|
pub fn drm_fd(&self) -> i32 {
|
||||||
glib::ObjectExt::property(self, "drm-fd")
|
ObjectExt::property(self, "drm-fd")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use bitflags::bitflags;
|
use glib::{bitflags::bitflags, translate::*};
|
||||||
use glib::translate::*;
|
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstFdMemoryFlags")]
|
#[doc(alias = "GstFdMemoryFlags")]
|
||||||
pub struct FdMemoryFlags: u32 {
|
pub struct FdMemoryFlags: u32 {
|
||||||
#[doc(alias = "GST_FD_MEMORY_FLAG_NONE")]
|
#[doc(alias = "GST_FD_MEMORY_FLAG_NONE")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -171,12 +171,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 {
|
||||||
glib::ObjectExt::property(self, "buffer-list")
|
ObjectExt::property(self, "buffer-list")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "buffer-list", buffer_list)
|
ObjectExt::set_property(self, "buffer-list", buffer_list)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "buffer-list")]
|
#[doc(alias = "buffer-list")]
|
||||||
|
|
|
@ -210,73 +210,73 @@ impl AppSrc {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_block(&self) -> bool {
|
pub fn is_block(&self) -> bool {
|
||||||
glib::ObjectExt::property(self, "block")
|
ObjectExt::property(self, "block")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_block(&self, block: bool) {
|
pub fn set_block(&self, block: bool) {
|
||||||
glib::ObjectExt::set_property(self, "block", block)
|
ObjectExt::set_property(self, "block", block)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn format(&self) -> gst::Format {
|
pub fn format(&self) -> gst::Format {
|
||||||
glib::ObjectExt::property(self, "format")
|
ObjectExt::property(self, "format")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_format(&self, format: gst::Format) {
|
pub fn set_format(&self, format: gst::Format) {
|
||||||
glib::ObjectExt::set_property(self, "format", format)
|
ObjectExt::set_property(self, "format", format)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, 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 {
|
||||||
glib::ObjectExt::property(self, "handle-segment-change")
|
ObjectExt::property(self, "handle-segment-change")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, 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) {
|
||||||
glib::ObjectExt::set_property(self, "handle-segment-change", handle_segment_change)
|
ObjectExt::set_property(self, "handle-segment-change", handle_segment_change)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "is-live")]
|
#[doc(alias = "is-live")]
|
||||||
pub fn is_live(&self) -> bool {
|
pub fn is_live(&self) -> bool {
|
||||||
glib::ObjectExt::property(self, "is-live")
|
ObjectExt::property(self, "is-live")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "is-live", is_live)
|
ObjectExt::set_property(self, "is-live", is_live)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "max-latency")]
|
#[doc(alias = "max-latency")]
|
||||||
pub fn max_latency(&self) -> i64 {
|
pub fn max_latency(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self, "max-latency")
|
ObjectExt::property(self, "max-latency")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "max-latency", max_latency)
|
ObjectExt::set_property(self, "max-latency", max_latency)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "min-latency")]
|
#[doc(alias = "min-latency")]
|
||||||
pub fn min_latency(&self) -> i64 {
|
pub fn min_latency(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self, "min-latency")
|
ObjectExt::property(self, "min-latency")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "min-latency", min_latency)
|
ObjectExt::set_property(self, "min-latency", min_latency)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "min-percent")]
|
#[doc(alias = "min-percent")]
|
||||||
pub fn min_percent(&self) -> u32 {
|
pub fn min_percent(&self) -> u32 {
|
||||||
glib::ObjectExt::property(self, "min-percent")
|
ObjectExt::property(self, "min-percent")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "min-percent", min_percent)
|
ObjectExt::set_property(self, "min-percent", min_percent)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "block")]
|
#[doc(alias = "block")]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
use glib::{prelude::*, translate::*};
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
|
@ -59,7 +59,7 @@ impl FromGlib<ffi::GstAppLeakyType> for AppLeakyType {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
impl StaticType for AppLeakyType {
|
impl StaticType for AppLeakyType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_app_leaky_type_get_type()) }
|
unsafe { from_glib(ffi::gst_app_leaky_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ impl glib::value::ValueType for AppLeakyType {
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
unsafe impl<'a> FromValue<'a> for AppLeakyType {
|
unsafe impl<'a> glib::value::FromValue<'a> for AppLeakyType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -168,7 +168,7 @@ impl FromGlib<ffi::GstAppStreamType> for AppStreamType {
|
||||||
|
|
||||||
impl StaticType for AppStreamType {
|
impl StaticType for AppStreamType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_app_stream_type_get_type()) }
|
unsafe { from_glib(ffi::gst_app_stream_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -187,7 +187,7 @@ impl glib::value::ValueType for AppStreamType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AppStreamType {
|
unsafe impl<'a> glib::value::FromValue<'a> for AppStreamType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -34,32 +34,32 @@ mod sealed {
|
||||||
pub trait AudioAggregatorExt: IsA<AudioAggregator> + sealed::Sealed + 'static {
|
pub trait AudioAggregatorExt: IsA<AudioAggregator> + sealed::Sealed + 'static {
|
||||||
#[doc(alias = "alignment-threshold")]
|
#[doc(alias = "alignment-threshold")]
|
||||||
fn alignment_threshold(&self) -> u64 {
|
fn alignment_threshold(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "alignment-threshold")
|
ObjectExt::property(self.as_ref(), "alignment-threshold")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "alignment-threshold")]
|
#[doc(alias = "alignment-threshold")]
|
||||||
fn set_alignment_threshold(&self, alignment_threshold: u64) {
|
fn set_alignment_threshold(&self, alignment_threshold: u64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "alignment-threshold", alignment_threshold)
|
ObjectExt::set_property(self.as_ref(), "alignment-threshold", alignment_threshold)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "discont-wait")]
|
#[doc(alias = "discont-wait")]
|
||||||
fn discont_wait(&self) -> u64 {
|
fn discont_wait(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "discont-wait")
|
ObjectExt::property(self.as_ref(), "discont-wait")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "discont-wait")]
|
#[doc(alias = "discont-wait")]
|
||||||
fn set_discont_wait(&self, discont_wait: u64) {
|
fn set_discont_wait(&self, discont_wait: u64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "discont-wait", discont_wait)
|
ObjectExt::set_property(self.as_ref(), "discont-wait", discont_wait)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "output-buffer-duration")]
|
#[doc(alias = "output-buffer-duration")]
|
||||||
fn output_buffer_duration(&self) -> u64 {
|
fn output_buffer_duration(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "output-buffer-duration")
|
ObjectExt::property(self.as_ref(), "output-buffer-duration")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "output-buffer-duration")]
|
#[doc(alias = "output-buffer-duration")]
|
||||||
fn set_output_buffer_duration(&self, output_buffer_duration: u64) {
|
fn set_output_buffer_duration(&self, output_buffer_duration: u64) {
|
||||||
glib::ObjectExt::set_property(
|
ObjectExt::set_property(
|
||||||
self.as_ref(),
|
self.as_ref(),
|
||||||
"output-buffer-duration",
|
"output-buffer-duration",
|
||||||
output_buffer_duration,
|
output_buffer_duration,
|
||||||
|
|
|
@ -37,12 +37,12 @@ pub trait AudioAggregatorConvertPadExt:
|
||||||
{
|
{
|
||||||
//#[doc(alias = "converter-config")]
|
//#[doc(alias = "converter-config")]
|
||||||
//fn converter_config(&self) -> /*Ignored*/Option<gst::Structure> {
|
//fn converter_config(&self) -> /*Ignored*/Option<gst::Structure> {
|
||||||
// glib::ObjectExt::property(self.as_ref(), "converter-config")
|
// ObjectExt::property(self.as_ref(), "converter-config")
|
||||||
//}
|
//}
|
||||||
|
|
||||||
//#[doc(alias = "converter-config")]
|
//#[doc(alias = "converter-config")]
|
||||||
//fn set_converter_config(&self, converter_config: /*Ignored*/Option<&gst::Structure>) {
|
//fn set_converter_config(&self, converter_config: /*Ignored*/Option<&gst::Structure>) {
|
||||||
// glib::ObjectExt::set_property(self.as_ref(),"converter-config", converter_config)
|
// ObjectExt::set_property(self.as_ref(),"converter-config", converter_config)
|
||||||
//}
|
//}
|
||||||
|
|
||||||
#[doc(alias = "converter-config")]
|
#[doc(alias = "converter-config")]
|
||||||
|
|
|
@ -40,14 +40,14 @@ pub trait AudioAggregatorPadExt: IsA<AudioAggregatorPad> + sealed::Sealed + 'sta
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
#[doc(alias = "qos-messages")]
|
#[doc(alias = "qos-messages")]
|
||||||
fn is_qos_messages(&self) -> bool {
|
fn is_qos_messages(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "qos-messages")
|
ObjectExt::property(self.as_ref(), "qos-messages")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
#[doc(alias = "qos-messages")]
|
#[doc(alias = "qos-messages")]
|
||||||
fn set_qos_messages(&self, qos_messages: bool) {
|
fn set_qos_messages(&self, qos_messages: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "qos-messages", qos_messages)
|
ObjectExt::set_property(self.as_ref(), "qos-messages", qos_messages)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
|
|
|
@ -140,32 +140,32 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "buffer-time")]
|
#[doc(alias = "buffer-time")]
|
||||||
fn buffer_time(&self) -> i64 {
|
fn buffer_time(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "buffer-time")
|
ObjectExt::property(self.as_ref(), "buffer-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "buffer-time")]
|
#[doc(alias = "buffer-time")]
|
||||||
fn set_buffer_time(&self, buffer_time: i64) {
|
fn set_buffer_time(&self, buffer_time: i64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "buffer-time", buffer_time)
|
ObjectExt::set_property(self.as_ref(), "buffer-time", buffer_time)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "can-activate-pull")]
|
#[doc(alias = "can-activate-pull")]
|
||||||
fn can_activate_pull(&self) -> bool {
|
fn can_activate_pull(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "can-activate-pull")
|
ObjectExt::property(self.as_ref(), "can-activate-pull")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "can-activate-pull")]
|
#[doc(alias = "can-activate-pull")]
|
||||||
fn set_can_activate_pull(&self, can_activate_pull: bool) {
|
fn set_can_activate_pull(&self, can_activate_pull: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "can-activate-pull", can_activate_pull)
|
ObjectExt::set_property(self.as_ref(), "can-activate-pull", can_activate_pull)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "latency-time")]
|
#[doc(alias = "latency-time")]
|
||||||
fn latency_time(&self) -> i64 {
|
fn latency_time(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "latency-time")
|
ObjectExt::property(self.as_ref(), "latency-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "latency-time")]
|
#[doc(alias = "latency-time")]
|
||||||
fn set_latency_time(&self, latency_time: i64) {
|
fn set_latency_time(&self, latency_time: i64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "latency-time", latency_time)
|
ObjectExt::set_property(self.as_ref(), "latency-time", latency_time)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "alignment-threshold")]
|
#[doc(alias = "alignment-threshold")]
|
||||||
|
|
|
@ -70,32 +70,32 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "actual-buffer-time")]
|
#[doc(alias = "actual-buffer-time")]
|
||||||
fn actual_buffer_time(&self) -> i64 {
|
fn actual_buffer_time(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "actual-buffer-time")
|
ObjectExt::property(self.as_ref(), "actual-buffer-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "actual-latency-time")]
|
#[doc(alias = "actual-latency-time")]
|
||||||
fn actual_latency_time(&self) -> i64 {
|
fn actual_latency_time(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "actual-latency-time")
|
ObjectExt::property(self.as_ref(), "actual-latency-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "buffer-time")]
|
#[doc(alias = "buffer-time")]
|
||||||
fn buffer_time(&self) -> i64 {
|
fn buffer_time(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "buffer-time")
|
ObjectExt::property(self.as_ref(), "buffer-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "buffer-time")]
|
#[doc(alias = "buffer-time")]
|
||||||
fn set_buffer_time(&self, buffer_time: i64) {
|
fn set_buffer_time(&self, buffer_time: i64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "buffer-time", buffer_time)
|
ObjectExt::set_property(self.as_ref(), "buffer-time", buffer_time)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "latency-time")]
|
#[doc(alias = "latency-time")]
|
||||||
fn latency_time(&self) -> i64 {
|
fn latency_time(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "latency-time")
|
ObjectExt::property(self.as_ref(), "latency-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "latency-time")]
|
#[doc(alias = "latency-time")]
|
||||||
fn set_latency_time(&self, latency_time: i64) {
|
fn set_latency_time(&self, latency_time: i64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "latency-time", latency_time)
|
ObjectExt::set_property(self.as_ref(), "latency-time", latency_time)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "actual-buffer-time")]
|
#[doc(alias = "actual-buffer-time")]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
use glib::{prelude::*, translate::*};
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||||
|
@ -56,7 +56,7 @@ impl FromGlib<ffi::GstAudioDitherMethod> for AudioDitherMethod {
|
||||||
|
|
||||||
impl StaticType for AudioDitherMethod {
|
impl StaticType for AudioDitherMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_dither_method_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_dither_method_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ impl glib::value::ValueType for AudioDitherMethod {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioDitherMethod {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioDitherMethod {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -284,7 +284,7 @@ impl FromGlib<ffi::GstAudioFormat> for AudioFormat {
|
||||||
|
|
||||||
impl StaticType for AudioFormat {
|
impl StaticType for AudioFormat {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_format_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_format_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -303,7 +303,7 @@ impl glib::value::ValueType for AudioFormat {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioFormat {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioFormat {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -379,7 +379,7 @@ impl FromGlib<ffi::GstAudioLayout> for AudioLayout {
|
||||||
|
|
||||||
impl StaticType for AudioLayout {
|
impl StaticType for AudioLayout {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_layout_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_layout_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -398,7 +398,7 @@ impl glib::value::ValueType for AudioLayout {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioLayout {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioLayout {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -486,7 +486,7 @@ impl FromGlib<ffi::GstAudioNoiseShapingMethod> for AudioNoiseShapingMethod {
|
||||||
|
|
||||||
impl StaticType for AudioNoiseShapingMethod {
|
impl StaticType for AudioNoiseShapingMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_noise_shaping_method_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_noise_shaping_method_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -505,7 +505,7 @@ impl glib::value::ValueType for AudioNoiseShapingMethod {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioNoiseShapingMethod {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioNoiseShapingMethod {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -593,7 +593,7 @@ impl FromGlib<ffi::GstAudioResamplerMethod> for AudioResamplerMethod {
|
||||||
|
|
||||||
impl StaticType for AudioResamplerMethod {
|
impl StaticType for AudioResamplerMethod {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_resampler_method_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_resampler_method_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -612,7 +612,7 @@ impl glib::value::ValueType for AudioResamplerMethod {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioResamplerMethod {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioResamplerMethod {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -746,7 +746,7 @@ impl FromGlib<ffi::GstAudioRingBufferFormatType> for AudioRingBufferFormatType {
|
||||||
|
|
||||||
impl StaticType for AudioRingBufferFormatType {
|
impl StaticType for AudioRingBufferFormatType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_ring_buffer_format_type_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_ring_buffer_format_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -765,7 +765,7 @@ impl glib::value::ValueType for AudioRingBufferFormatType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioRingBufferFormatType {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioRingBufferFormatType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use bitflags::bitflags;
|
use glib::{bitflags::bitflags, prelude::*, translate::*};
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstAudioFlags")]
|
#[doc(alias = "GstAudioFlags")]
|
||||||
pub struct AudioFlags: u32 {
|
pub struct AudioFlags: u32 {
|
||||||
#[doc(alias = "GST_AUDIO_FLAG_UNPOSITIONED")]
|
#[doc(alias = "GST_AUDIO_FLAG_UNPOSITIONED")]
|
||||||
|
@ -35,7 +35,7 @@ impl FromGlib<ffi::GstAudioFlags> for AudioFlags {
|
||||||
|
|
||||||
impl StaticType for AudioFlags {
|
impl StaticType for AudioFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_flags_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ impl glib::value::ValueType for AudioFlags {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -89,6 +89,7 @@ impl From<AudioFlags> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstAudioFormatFlags")]
|
#[doc(alias = "GstAudioFormatFlags")]
|
||||||
pub struct AudioFormatFlags: u32 {
|
pub struct AudioFormatFlags: u32 {
|
||||||
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_INTEGER")]
|
#[doc(alias = "GST_AUDIO_FORMAT_FLAG_INTEGER")]
|
||||||
|
@ -125,7 +126,7 @@ impl FromGlib<ffi::GstAudioFormatFlags> for AudioFormatFlags {
|
||||||
|
|
||||||
impl StaticType for AudioFormatFlags {
|
impl StaticType for AudioFormatFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_format_flags_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_format_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,7 +145,7 @@ impl glib::value::ValueType for AudioFormatFlags {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioFormatFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioFormatFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -179,6 +180,7 @@ impl From<AudioFormatFlags> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstAudioPackFlags")]
|
#[doc(alias = "GstAudioPackFlags")]
|
||||||
pub struct AudioPackFlags: u32 {
|
pub struct AudioPackFlags: u32 {
|
||||||
#[doc(alias = "GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE")]
|
#[doc(alias = "GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE")]
|
||||||
|
@ -207,7 +209,7 @@ impl FromGlib<ffi::GstAudioPackFlags> for AudioPackFlags {
|
||||||
|
|
||||||
impl StaticType for AudioPackFlags {
|
impl StaticType for AudioPackFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_pack_flags_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_pack_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -226,7 +228,7 @@ impl glib::value::ValueType for AudioPackFlags {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioPackFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioPackFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -188,38 +188,38 @@ pub trait AggregatorExt: IsA<Aggregator> + sealed::Sealed + 'static {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
#[doc(alias = "emit-signals")]
|
#[doc(alias = "emit-signals")]
|
||||||
fn emits_signals(&self) -> bool {
|
fn emits_signals(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "emit-signals")
|
ObjectExt::property(self.as_ref(), "emit-signals")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
#[doc(alias = "emit-signals")]
|
#[doc(alias = "emit-signals")]
|
||||||
fn set_emit_signals(&self, emit_signals: bool) {
|
fn set_emit_signals(&self, emit_signals: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "emit-signals", emit_signals)
|
ObjectExt::set_property(self.as_ref(), "emit-signals", emit_signals)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "start-time")]
|
#[doc(alias = "start-time")]
|
||||||
fn start_time(&self) -> u64 {
|
fn start_time(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "start-time")
|
ObjectExt::property(self.as_ref(), "start-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "start-time")]
|
#[doc(alias = "start-time")]
|
||||||
fn set_start_time(&self, start_time: u64) {
|
fn set_start_time(&self, start_time: u64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "start-time", start_time)
|
ObjectExt::set_property(self.as_ref(), "start-time", start_time)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
#[doc(alias = "start-time-selection")]
|
#[doc(alias = "start-time-selection")]
|
||||||
fn start_time_selection(&self) -> AggregatorStartTimeSelection {
|
fn start_time_selection(&self) -> AggregatorStartTimeSelection {
|
||||||
glib::ObjectExt::property(self.as_ref(), "start-time-selection")
|
ObjectExt::property(self.as_ref(), "start-time-selection")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
#[doc(alias = "start-time-selection")]
|
#[doc(alias = "start-time-selection")]
|
||||||
fn set_start_time_selection(&self, start_time_selection: AggregatorStartTimeSelection) {
|
fn set_start_time_selection(&self, start_time_selection: AggregatorStartTimeSelection) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "start-time-selection", start_time_selection)
|
ObjectExt::set_property(self.as_ref(), "start-time-selection", start_time_selection)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
|
|
|
@ -94,14 +94,14 @@ pub trait AggregatorPadExt: IsA<AggregatorPad> + sealed::Sealed + 'static {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
#[doc(alias = "emit-signals")]
|
#[doc(alias = "emit-signals")]
|
||||||
fn emits_signals(&self) -> bool {
|
fn emits_signals(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "emit-signals")
|
ObjectExt::property(self.as_ref(), "emit-signals")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
#[doc(alias = "emit-signals")]
|
#[doc(alias = "emit-signals")]
|
||||||
fn set_emit_signals(&self, emit_signals: bool) {
|
fn set_emit_signals(&self, emit_signals: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "emit-signals", emit_signals)
|
ObjectExt::set_property(self.as_ref(), "emit-signals", emit_signals)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "buffer-consumed")]
|
#[doc(alias = "buffer-consumed")]
|
||||||
|
|
|
@ -145,12 +145,12 @@ pub trait BaseParseExt: IsA<BaseParse> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "disable-passthrough")]
|
#[doc(alias = "disable-passthrough")]
|
||||||
fn is_disable_passthrough(&self) -> bool {
|
fn is_disable_passthrough(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "disable-passthrough")
|
ObjectExt::property(self.as_ref(), "disable-passthrough")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "disable-passthrough")]
|
#[doc(alias = "disable-passthrough")]
|
||||||
fn set_disable_passthrough(&self, disable_passthrough: bool) {
|
fn set_disable_passthrough(&self, disable_passthrough: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "disable-passthrough", disable_passthrough)
|
ObjectExt::set_property(self.as_ref(), "disable-passthrough", disable_passthrough)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "disable-passthrough")]
|
#[doc(alias = "disable-passthrough")]
|
||||||
|
|
|
@ -253,30 +253,30 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "async")]
|
#[doc(alias = "async")]
|
||||||
fn is_async(&self) -> bool {
|
fn is_async(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "async")
|
ObjectExt::property(self.as_ref(), "async")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "async")]
|
#[doc(alias = "async")]
|
||||||
fn set_async(&self, async_: bool) {
|
fn set_async(&self, async_: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "async", async_)
|
ObjectExt::set_property(self.as_ref(), "async", async_)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "enable-last-sample")]
|
#[doc(alias = "enable-last-sample")]
|
||||||
fn enables_last_sample(&self) -> bool {
|
fn enables_last_sample(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "enable-last-sample")
|
ObjectExt::property(self.as_ref(), "enable-last-sample")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "enable-last-sample")]
|
#[doc(alias = "enable-last-sample")]
|
||||||
fn set_enable_last_sample(&self, enable_last_sample: bool) {
|
fn set_enable_last_sample(&self, enable_last_sample: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "enable-last-sample", enable_last_sample)
|
ObjectExt::set_property(self.as_ref(), "enable-last-sample", enable_last_sample)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_qos(&self) -> bool {
|
fn is_qos(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "qos")
|
ObjectExt::property(self.as_ref(), "qos")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_qos(&self, qos: bool) {
|
fn set_qos(&self, qos: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "qos", qos)
|
ObjectExt::set_property(self.as_ref(), "qos", qos)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "async")]
|
#[doc(alias = "async")]
|
||||||
|
|
|
@ -208,20 +208,20 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "num-buffers")]
|
#[doc(alias = "num-buffers")]
|
||||||
fn num_buffers(&self) -> i32 {
|
fn num_buffers(&self) -> i32 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "num-buffers")
|
ObjectExt::property(self.as_ref(), "num-buffers")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "num-buffers")]
|
#[doc(alias = "num-buffers")]
|
||||||
fn set_num_buffers(&self, num_buffers: i32) {
|
fn set_num_buffers(&self, num_buffers: i32) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "num-buffers", num_buffers)
|
ObjectExt::set_property(self.as_ref(), "num-buffers", num_buffers)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_typefind(&self) -> bool {
|
fn is_typefind(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "typefind")
|
ObjectExt::property(self.as_ref(), "typefind")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_typefind(&self, typefind: bool) {
|
fn set_typefind(&self, typefind: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "typefind", typefind)
|
ObjectExt::set_property(self.as_ref(), "typefind", typefind)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "blocksize")]
|
#[doc(alias = "blocksize")]
|
||||||
|
|
|
@ -151,11 +151,11 @@ pub trait BaseTransformExt: IsA<BaseTransform> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_qos(&self) -> bool {
|
fn is_qos(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "qos")
|
ObjectExt::property(self.as_ref(), "qos")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_qos(&self, qos: bool) {
|
fn set_qos(&self, qos: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "qos", qos)
|
ObjectExt::set_property(self.as_ref(), "qos", qos)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "qos")]
|
#[doc(alias = "qos")]
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
use glib::{prelude::*, translate::*};
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
|
@ -61,7 +61,7 @@ impl FromGlib<ffi::GstAggregatorStartTimeSelection> for AggregatorStartTimeSelec
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
impl StaticType for AggregatorStartTimeSelection {
|
impl StaticType for AggregatorStartTimeSelection {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_aggregator_start_time_selection_get_type()) }
|
unsafe { from_glib(ffi::gst_aggregator_start_time_selection_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ impl glib::value::ValueType for AggregatorStartTimeSelection {
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
unsafe impl<'a> FromValue<'a> for AggregatorStartTimeSelection {
|
unsafe impl<'a> glib::value::FromValue<'a> for AggregatorStartTimeSelection {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use bitflags::bitflags;
|
use glib::{bitflags::bitflags, translate::*};
|
||||||
use glib::translate::*;
|
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstBaseParseFrameFlags")]
|
#[doc(alias = "GstBaseParseFrameFlags")]
|
||||||
pub struct BaseParseFrameFlags: u32 {
|
pub struct BaseParseFrameFlags: u32 {
|
||||||
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME")]
|
#[doc(alias = "GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -81,17 +81,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 {
|
||||||
glib::ObjectExt::property(self, "clock-type")
|
ObjectExt::property(self, "clock-type")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "clock-type", clock_type)
|
ObjectExt::set_property(self, "clock-type", clock_type)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "start-time")]
|
#[doc(alias = "start-time")]
|
||||||
pub fn start_time(&self) -> u64 {
|
pub fn start_time(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "start-time")
|
ObjectExt::property(self, "start-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[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 @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -57,42 +57,42 @@ mod sealed {
|
||||||
pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + sealed::Sealed + 'static {
|
pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + sealed::Sealed + 'static {
|
||||||
#[doc(alias = "control-source-a")]
|
#[doc(alias = "control-source-a")]
|
||||||
fn control_source_a(&self) -> Option<gst::ControlSource> {
|
fn control_source_a(&self) -> Option<gst::ControlSource> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "control-source-a")
|
ObjectExt::property(self.as_ref(), "control-source-a")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-a")]
|
#[doc(alias = "control-source-a")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-a", control_source_a)
|
ObjectExt::set_property(self.as_ref(), "control-source-a", control_source_a)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-b")]
|
#[doc(alias = "control-source-b")]
|
||||||
fn control_source_b(&self) -> Option<gst::ControlSource> {
|
fn control_source_b(&self) -> Option<gst::ControlSource> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "control-source-b")
|
ObjectExt::property(self.as_ref(), "control-source-b")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-b")]
|
#[doc(alias = "control-source-b")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-b", control_source_b)
|
ObjectExt::set_property(self.as_ref(), "control-source-b", control_source_b)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-g")]
|
#[doc(alias = "control-source-g")]
|
||||||
fn control_source_g(&self) -> Option<gst::ControlSource> {
|
fn control_source_g(&self) -> Option<gst::ControlSource> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "control-source-g")
|
ObjectExt::property(self.as_ref(), "control-source-g")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-g")]
|
#[doc(alias = "control-source-g")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-g", control_source_g)
|
ObjectExt::set_property(self.as_ref(), "control-source-g", control_source_g)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-r")]
|
#[doc(alias = "control-source-r")]
|
||||||
fn control_source_r(&self) -> Option<gst::ControlSource> {
|
fn control_source_r(&self) -> Option<gst::ControlSource> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "control-source-r")
|
ObjectExt::property(self.as_ref(), "control-source-r")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-r")]
|
#[doc(alias = "control-source-r")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "control-source-r", control_source_r)
|
ObjectExt::set_property(self.as_ref(), "control-source-r", control_source_r)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source-a")]
|
#[doc(alias = "control-source-a")]
|
||||||
|
|
|
@ -67,17 +67,17 @@ mod sealed {
|
||||||
|
|
||||||
pub trait DirectControlBindingExt: IsA<DirectControlBinding> + sealed::Sealed + 'static {
|
pub trait DirectControlBindingExt: IsA<DirectControlBinding> + sealed::Sealed + 'static {
|
||||||
fn is_absolute(&self) -> bool {
|
fn is_absolute(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "absolute")
|
ObjectExt::property(self.as_ref(), "absolute")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source")]
|
#[doc(alias = "control-source")]
|
||||||
fn control_source(&self) -> Option<gst::ControlSource> {
|
fn control_source(&self) -> Option<gst::ControlSource> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "control-source")
|
ObjectExt::property(self.as_ref(), "control-source")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source")]
|
#[doc(alias = "control-source")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "control-source", control_source)
|
ObjectExt::set_property(self.as_ref(), "control-source", control_source)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "control-source")]
|
#[doc(alias = "control-source")]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
use glib::{prelude::*, translate::*};
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
|
@ -55,7 +55,7 @@ impl FromGlib<ffi::GstInterpolationMode> for InterpolationMode {
|
||||||
|
|
||||||
impl StaticType for InterpolationMode {
|
impl StaticType for InterpolationMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_interpolation_mode_get_type()) }
|
unsafe { from_glib(ffi::gst_interpolation_mode_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ impl glib::value::ValueType for InterpolationMode {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for InterpolationMode {
|
unsafe impl<'a> glib::value::FromValue<'a> for InterpolationMode {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -162,7 +162,7 @@ impl FromGlib<ffi::GstLFOWaveform> for LFOWaveform {
|
||||||
|
|
||||||
impl StaticType for LFOWaveform {
|
impl StaticType for LFOWaveform {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_lfo_waveform_get_type()) }
|
unsafe { from_glib(ffi::gst_lfo_waveform_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -181,7 +181,7 @@ impl glib::value::ValueType for LFOWaveform {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for LFOWaveform {
|
unsafe impl<'a> glib::value::FromValue<'a> for LFOWaveform {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -51,11 +51,11 @@ pub trait InterpolationControlSourceExt:
|
||||||
IsA<InterpolationControlSource> + sealed::Sealed + 'static
|
IsA<InterpolationControlSource> + sealed::Sealed + 'static
|
||||||
{
|
{
|
||||||
fn mode(&self) -> InterpolationMode {
|
fn mode(&self) -> InterpolationMode {
|
||||||
glib::ObjectExt::property(self.as_ref(), "mode")
|
ObjectExt::property(self.as_ref(), "mode")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_mode(&self, mode: InterpolationMode) {
|
fn set_mode(&self, mode: InterpolationMode) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "mode", mode)
|
ObjectExt::set_property(self.as_ref(), "mode", mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "mode")]
|
#[doc(alias = "mode")]
|
||||||
|
|
|
@ -48,43 +48,43 @@ mod sealed {
|
||||||
|
|
||||||
pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static {
|
pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static {
|
||||||
fn amplitude(&self) -> f64 {
|
fn amplitude(&self) -> f64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "amplitude")
|
ObjectExt::property(self.as_ref(), "amplitude")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_amplitude(&self, amplitude: f64) {
|
fn set_amplitude(&self, amplitude: f64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "amplitude", amplitude)
|
ObjectExt::set_property(self.as_ref(), "amplitude", amplitude)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn frequency(&self) -> f64 {
|
fn frequency(&self) -> f64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "frequency")
|
ObjectExt::property(self.as_ref(), "frequency")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_frequency(&self, frequency: f64) {
|
fn set_frequency(&self, frequency: f64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "frequency", frequency)
|
ObjectExt::set_property(self.as_ref(), "frequency", frequency)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn offset(&self) -> f64 {
|
fn offset(&self) -> f64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "offset")
|
ObjectExt::property(self.as_ref(), "offset")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_offset(&self, offset: f64) {
|
fn set_offset(&self, offset: f64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "offset", offset)
|
ObjectExt::set_property(self.as_ref(), "offset", offset)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn timeshift(&self) -> u64 {
|
fn timeshift(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "timeshift")
|
ObjectExt::property(self.as_ref(), "timeshift")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_timeshift(&self, timeshift: u64) {
|
fn set_timeshift(&self, timeshift: u64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "timeshift", timeshift)
|
ObjectExt::set_property(self.as_ref(), "timeshift", timeshift)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn waveform(&self) -> LFOWaveform {
|
fn waveform(&self) -> LFOWaveform {
|
||||||
glib::ObjectExt::property(self.as_ref(), "waveform")
|
ObjectExt::property(self.as_ref(), "waveform")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_waveform(&self, waveform: LFOWaveform) {
|
fn set_waveform(&self, waveform: LFOWaveform) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "waveform", waveform)
|
ObjectExt::set_property(self.as_ref(), "waveform", waveform)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "amplitude")]
|
#[doc(alias = "amplitude")]
|
||||||
|
|
|
@ -48,11 +48,11 @@ mod sealed {
|
||||||
|
|
||||||
pub trait TriggerControlSourceExt: IsA<TriggerControlSource> + sealed::Sealed + 'static {
|
pub trait TriggerControlSourceExt: IsA<TriggerControlSource> + sealed::Sealed + 'static {
|
||||||
fn tolerance(&self) -> i64 {
|
fn tolerance(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "tolerance")
|
ObjectExt::property(self.as_ref(), "tolerance")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_tolerance(&self, tolerance: i64) {
|
fn set_tolerance(&self, tolerance: i64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "tolerance", tolerance)
|
ObjectExt::set_property(self.as_ref(), "tolerance", tolerance)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "tolerance")]
|
#[doc(alias = "tolerance")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -26,7 +26,7 @@ mod sealed {
|
||||||
|
|
||||||
pub trait AudioUriSourceExt: IsA<AudioUriSource> + sealed::Sealed + 'static {
|
pub trait AudioUriSourceExt: IsA<AudioUriSource> + sealed::Sealed + 'static {
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ pub trait GESContainerExt: IsA<Container> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn height(&self) -> u32 {
|
fn height(&self) -> u32 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "height")
|
ObjectExt::property(self.as_ref(), "height")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "child-added")]
|
#[doc(alias = "child-added")]
|
||||||
|
|
|
@ -59,12 +59,12 @@ impl DiscovererManager {
|
||||||
|
|
||||||
#[doc(alias = "use-cache")]
|
#[doc(alias = "use-cache")]
|
||||||
pub fn get_property_use_cache(&self) -> bool {
|
pub fn get_property_use_cache(&self) -> bool {
|
||||||
glib::ObjectExt::property(self, "use-cache")
|
ObjectExt::property(self, "use-cache")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "use-cache")]
|
#[doc(alias = "use-cache")]
|
||||||
pub fn set_property_use_cache(&self, use_cache: bool) {
|
pub fn set_property_use_cache(&self, use_cache: bool) {
|
||||||
glib::ObjectExt::set_property(self, "use-cache", use_cache)
|
ObjectExt::set_property(self, "use-cache", use_cache)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "ges_discoverer_manager_get_default")]
|
#[doc(alias = "ges_discoverer_manager_get_default")]
|
||||||
|
|
|
@ -36,7 +36,7 @@ mod sealed {
|
||||||
pub trait EffectExt: IsA<Effect> + sealed::Sealed + 'static {
|
pub trait EffectExt: IsA<Effect> + sealed::Sealed + 'static {
|
||||||
#[doc(alias = "bin-description")]
|
#[doc(alias = "bin-description")]
|
||||||
fn bin_description(&self) -> Option<glib::GString> {
|
fn bin_description(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "bin-description")
|
ObjectExt::property(self.as_ref(), "bin-description")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,12 +43,12 @@ mod sealed {
|
||||||
pub trait EffectClipExt: IsA<EffectClip> + sealed::Sealed + 'static {
|
pub trait EffectClipExt: IsA<EffectClip> + sealed::Sealed + 'static {
|
||||||
#[doc(alias = "audio-bin-description")]
|
#[doc(alias = "audio-bin-description")]
|
||||||
fn audio_bin_description(&self) -> Option<glib::GString> {
|
fn audio_bin_description(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "audio-bin-description")
|
ObjectExt::property(self.as_ref(), "audio-bin-description")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-bin-description")]
|
#[doc(alias = "video-bin-description")]
|
||||||
fn video_bin_description(&self) -> Option<glib::GString> {
|
fn video_bin_description(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "video-bin-description")
|
ObjectExt::property(self.as_ref(), "video-bin-description")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
use glib::GStr;
|
use glib::GStr;
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
use glib::{prelude::*, translate::*};
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
@ -176,7 +176,7 @@ impl FromGlib<ffi::GESEdge> for Edge {
|
||||||
|
|
||||||
impl StaticType for Edge {
|
impl StaticType for Edge {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_edge_get_type()) }
|
unsafe { from_glib(ffi::ges_edge_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -195,7 +195,7 @@ impl glib::value::ValueType for Edge {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for Edge {
|
unsafe impl<'a> glib::value::FromValue<'a> for Edge {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -306,7 +306,7 @@ impl FromGlib<ffi::GESEditMode> for EditMode {
|
||||||
|
|
||||||
impl StaticType for EditMode {
|
impl StaticType for EditMode {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_edit_mode_get_type()) }
|
unsafe { from_glib(ffi::ges_edit_mode_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -325,7 +325,7 @@ impl glib::value::ValueType for EditMode {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for EditMode {
|
unsafe impl<'a> glib::value::FromValue<'a> for EditMode {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -481,7 +481,7 @@ impl FromGlib<ffi::GESTextHAlign> for TextHAlign {
|
||||||
|
|
||||||
impl StaticType for TextHAlign {
|
impl StaticType for TextHAlign {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_text_halign_get_type()) }
|
unsafe { from_glib(ffi::ges_text_halign_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -500,7 +500,7 @@ impl glib::value::ValueType for TextHAlign {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for TextHAlign {
|
unsafe impl<'a> glib::value::FromValue<'a> for TextHAlign {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -592,7 +592,7 @@ impl FromGlib<ffi::GESTextVAlign> for TextVAlign {
|
||||||
|
|
||||||
impl StaticType for TextVAlign {
|
impl StaticType for TextVAlign {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_text_valign_get_type()) }
|
unsafe { from_glib(ffi::ges_text_valign_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -611,7 +611,7 @@ impl glib::value::ValueType for TextVAlign {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for TextVAlign {
|
unsafe impl<'a> glib::value::FromValue<'a> for TextVAlign {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -973,7 +973,7 @@ impl FromGlib<ffi::GESVideoStandardTransitionType> for VideoStandardTransitionTy
|
||||||
|
|
||||||
impl StaticType for VideoStandardTransitionType {
|
impl StaticType for VideoStandardTransitionType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_video_standard_transition_type_get_type()) }
|
unsafe { from_glib(ffi::ges_video_standard_transition_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -992,7 +992,7 @@ impl glib::value::ValueType for VideoStandardTransitionType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for VideoStandardTransitionType {
|
unsafe impl<'a> glib::value::FromValue<'a> for VideoStandardTransitionType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -1130,7 +1130,7 @@ impl FromGlib<ffi::GESVideoTestPattern> for VideoTestPattern {
|
||||||
|
|
||||||
impl StaticType for VideoTestPattern {
|
impl StaticType for VideoTestPattern {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_video_test_pattern_get_type()) }
|
unsafe { from_glib(ffi::ges_video_test_pattern_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1149,7 +1149,7 @@ impl glib::value::ValueType for VideoTestPattern {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for VideoTestPattern {
|
unsafe impl<'a> glib::value::FromValue<'a> for VideoTestPattern {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use bitflags::bitflags;
|
use glib::{bitflags::bitflags, prelude::*, translate::*, GStr};
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, GStr, StaticType, Type};
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GESMarkerFlags")]
|
#[doc(alias = "GESMarkerFlags")]
|
||||||
pub struct MarkerFlags: u32 {
|
pub struct MarkerFlags: u32 {
|
||||||
#[doc(alias = "GES_MARKER_FLAG_NONE")]
|
#[doc(alias = "GES_MARKER_FLAG_NONE")]
|
||||||
|
@ -46,7 +46,7 @@ impl FromGlib<ffi::GESMarkerFlags> for MarkerFlags {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
impl StaticType for MarkerFlags {
|
impl StaticType for MarkerFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_marker_flags_get_type()) }
|
unsafe { from_glib(ffi::ges_marker_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ impl glib::value::ValueType for MarkerFlags {
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
unsafe impl<'a> FromValue<'a> for MarkerFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for MarkerFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -110,6 +110,7 @@ impl From<MarkerFlags> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GESMetaFlag")]
|
#[doc(alias = "GESMetaFlag")]
|
||||||
pub struct MetaFlag: u32 {
|
pub struct MetaFlag: u32 {
|
||||||
#[doc(alias = "GES_META_READABLE")]
|
#[doc(alias = "GES_META_READABLE")]
|
||||||
|
@ -142,7 +143,7 @@ impl FromGlib<ffi::GESMetaFlag> for MetaFlag {
|
||||||
|
|
||||||
impl StaticType for MetaFlag {
|
impl StaticType for MetaFlag {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_meta_flag_get_type()) }
|
unsafe { from_glib(ffi::ges_meta_flag_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +162,7 @@ impl glib::value::ValueType for MetaFlag {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for MetaFlag {
|
unsafe impl<'a> glib::value::FromValue<'a> for MetaFlag {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -196,6 +197,7 @@ impl From<MetaFlag> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GESPipelineFlags")]
|
#[doc(alias = "GESPipelineFlags")]
|
||||||
pub struct PipelineFlags: u32 {
|
pub struct PipelineFlags: u32 {
|
||||||
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW_AUDIO")]
|
#[doc(alias = "GES_PIPELINE_MODE_PREVIEW_AUDIO")]
|
||||||
|
@ -232,7 +234,7 @@ impl FromGlib<ffi::GESPipelineFlags> for PipelineFlags {
|
||||||
|
|
||||||
impl StaticType for PipelineFlags {
|
impl StaticType for PipelineFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_pipeline_flags_get_type()) }
|
unsafe { from_glib(ffi::ges_pipeline_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -251,7 +253,7 @@ impl glib::value::ValueType for PipelineFlags {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PipelineFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for PipelineFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -286,6 +288,7 @@ impl From<PipelineFlags> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GESTrackType")]
|
#[doc(alias = "GESTrackType")]
|
||||||
pub struct TrackType: u32 {
|
pub struct TrackType: u32 {
|
||||||
#[doc(alias = "GES_TRACK_TYPE_UNKNOWN")]
|
#[doc(alias = "GES_TRACK_TYPE_UNKNOWN")]
|
||||||
|
@ -341,7 +344,7 @@ impl FromGlib<ffi::GESTrackType> for TrackType {
|
||||||
|
|
||||||
impl StaticType for TrackType {
|
impl StaticType for TrackType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::ges_track_type_get_type()) }
|
unsafe { from_glib(ffi::ges_track_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -360,7 +363,7 @@ impl glib::value::ValueType for TrackType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for TrackType {
|
unsafe impl<'a> glib::value::FromValue<'a> for TrackType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -26,7 +26,7 @@ mod sealed {
|
||||||
|
|
||||||
pub trait ImageSourceExt: IsA<ImageSource> + sealed::Sealed + 'static {
|
pub trait ImageSourceExt: IsA<ImageSource> + sealed::Sealed + 'static {
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ impl Marker {
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
pub fn position(&self) -> u64 {
|
pub fn position(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "position")
|
ObjectExt::property(self, "position")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
|
|
|
@ -80,13 +80,13 @@ impl MarkerList {
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
pub fn flags(&self) -> MarkerFlags {
|
pub fn flags(&self) -> MarkerFlags {
|
||||||
glib::ObjectExt::property(self, "flags")
|
ObjectExt::property(self, "flags")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
pub fn set_flags(&self, flags: MarkerFlags) {
|
pub fn set_flags(&self, flags: MarkerFlags) {
|
||||||
glib::ObjectExt::set_property(self, "flags", flags)
|
ObjectExt::set_property(self, "flags", flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
|
|
|
@ -32,7 +32,7 @@ mod sealed {
|
||||||
|
|
||||||
pub trait MultiFileSourceExt: IsA<MultiFileSource> + sealed::Sealed + 'static {
|
pub trait MultiFileSourceExt: IsA<MultiFileSource> + sealed::Sealed + 'static {
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,46 +179,46 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "audio-filter")]
|
#[doc(alias = "audio-filter")]
|
||||||
fn audio_filter(&self) -> Option<gst::Element> {
|
fn audio_filter(&self) -> Option<gst::Element> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "audio-filter")
|
ObjectExt::property(self.as_ref(), "audio-filter")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "audio-filter")]
|
#[doc(alias = "audio-filter")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "audio-filter", audio_filter)
|
ObjectExt::set_property(self.as_ref(), "audio-filter", audio_filter)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "audio-sink")]
|
#[doc(alias = "audio-sink")]
|
||||||
fn audio_sink(&self) -> Option<gst::Element> {
|
fn audio_sink(&self) -> Option<gst::Element> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "audio-sink")
|
ObjectExt::property(self.as_ref(), "audio-sink")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "audio-sink")]
|
#[doc(alias = "audio-sink")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "audio-sink", audio_sink)
|
ObjectExt::set_property(self.as_ref(), "audio-sink", audio_sink)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn timeline(&self) -> Option<Timeline> {
|
fn timeline(&self) -> Option<Timeline> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "timeline")
|
ObjectExt::property(self.as_ref(), "timeline")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-filter")]
|
#[doc(alias = "video-filter")]
|
||||||
fn video_filter(&self) -> Option<gst::Element> {
|
fn video_filter(&self) -> Option<gst::Element> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "video-filter")
|
ObjectExt::property(self.as_ref(), "video-filter")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-filter")]
|
#[doc(alias = "video-filter")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "video-filter", video_filter)
|
ObjectExt::set_property(self.as_ref(), "video-filter", video_filter)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
fn video_sink(&self) -> Option<gst::Element> {
|
fn video_sink(&self) -> Option<gst::Element> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "video-sink")
|
ObjectExt::property(self.as_ref(), "video-sink")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
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>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "video-sink", video_sink)
|
ObjectExt::set_property(self.as_ref(), "video-sink", video_sink)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "audio-filter")]
|
#[doc(alias = "audio-filter")]
|
||||||
|
|
|
@ -101,11 +101,11 @@ pub trait TestClipExt: IsA<TestClip> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn freq(&self) -> f64 {
|
fn freq(&self) -> f64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "freq")
|
ObjectExt::property(self.as_ref(), "freq")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_freq(&self, freq: f64) {
|
fn set_freq(&self, freq: f64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "freq", freq)
|
ObjectExt::set_property(self.as_ref(), "freq", freq)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "freq")]
|
#[doc(alias = "freq")]
|
||||||
|
|
|
@ -159,11 +159,11 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_halignment(&self, halignment: TextHAlign) {
|
fn set_halignment(&self, halignment: TextHAlign) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "halignment", halignment)
|
ObjectExt::set_property(self.as_ref(), "halignment", halignment)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_valignment(&self, valignment: TextVAlign) {
|
fn set_valignment(&self, valignment: TextVAlign) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "valignment", valignment)
|
ObjectExt::set_property(self.as_ref(), "valignment", valignment)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "color")]
|
#[doc(alias = "color")]
|
||||||
|
|
|
@ -563,20 +563,20 @@ pub trait TimelineElementExt: IsA<TimelineElement> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[doc(alias = "in-point")]
|
#[doc(alias = "in-point")]
|
||||||
fn in_point(&self) -> u64 {
|
fn in_point(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "in-point")
|
ObjectExt::property(self.as_ref(), "in-point")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "in-point")]
|
#[doc(alias = "in-point")]
|
||||||
fn set_in_point(&self, in_point: u64) {
|
fn set_in_point(&self, in_point: u64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "in-point", in_point)
|
ObjectExt::set_property(self.as_ref(), "in-point", in_point)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_serialize(&self) -> bool {
|
fn is_serialize(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "serialize")
|
ObjectExt::property(self.as_ref(), "serialize")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_serialize(&self, serialize: bool) {
|
fn set_serialize(&self, serialize: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "serialize", serialize)
|
ObjectExt::set_property(self.as_ref(), "serialize", serialize)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
|
|
|
@ -193,12 +193,12 @@ pub trait TitleClipExt: IsA<TitleClip> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[cfg_attr(feature = "v1_6", deprecated = "Since 1.6")]
|
#[cfg_attr(feature = "v1_6", deprecated = "Since 1.6")]
|
||||||
fn background(&self) -> u32 {
|
fn background(&self) -> u32 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "background")
|
ObjectExt::property(self.as_ref(), "background")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(feature = "v1_6", deprecated = "Since 1.6")]
|
#[cfg_attr(feature = "v1_6", deprecated = "Since 1.6")]
|
||||||
fn color(&self) -> u32 {
|
fn color(&self) -> u32 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "color")
|
ObjectExt::property(self.as_ref(), "color")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated = "Since 1.6"]
|
#[deprecated = "Since 1.6"]
|
||||||
|
|
|
@ -196,29 +196,29 @@ pub trait GESTrackExt: IsA<Track> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn duration(&self) -> u64 {
|
fn duration(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "duration")
|
ObjectExt::property(self.as_ref(), "duration")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
fn id(&self) -> Option<glib::GString> {
|
fn id(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "id")
|
ObjectExt::property(self.as_ref(), "id")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
fn set_id(&self, id: Option<&str>) {
|
fn set_id(&self, id: Option<&str>) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "id", id)
|
ObjectExt::set_property(self.as_ref(), "id", id)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "restriction-caps")]
|
#[doc(alias = "restriction-caps")]
|
||||||
fn get_property_restriction_caps(&self) -> Option<gst::Caps> {
|
fn get_property_restriction_caps(&self) -> Option<gst::Caps> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "restriction-caps")
|
ObjectExt::property(self.as_ref(), "restriction-caps")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "track-type")]
|
#[doc(alias = "track-type")]
|
||||||
fn track_type(&self) -> TrackType {
|
fn track_type(&self) -> TrackType {
|
||||||
glib::ObjectExt::property(self.as_ref(), "track-type")
|
ObjectExt::property(self.as_ref(), "track-type")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "commited")]
|
#[doc(alias = "commited")]
|
||||||
|
|
|
@ -47,11 +47,11 @@ mod sealed {
|
||||||
|
|
||||||
pub trait TransitionClipExt: IsA<TransitionClip> + sealed::Sealed + 'static {
|
pub trait TransitionClipExt: IsA<TransitionClip> + sealed::Sealed + 'static {
|
||||||
fn vtype(&self) -> VideoStandardTransitionType {
|
fn vtype(&self) -> VideoStandardTransitionType {
|
||||||
glib::ObjectExt::property(self.as_ref(), "vtype")
|
ObjectExt::property(self.as_ref(), "vtype")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_vtype(&self, vtype: VideoStandardTransitionType) {
|
fn set_vtype(&self, vtype: VideoStandardTransitionType) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "vtype", vtype)
|
ObjectExt::set_property(self.as_ref(), "vtype", vtype)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "vtype")]
|
#[doc(alias = "vtype")]
|
||||||
|
|
|
@ -128,14 +128,14 @@ pub trait UriClipAssetExt: IsA<UriClipAsset> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_duration(&self, duration: u64) {
|
fn set_duration(&self, duration: u64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "duration", duration)
|
ObjectExt::set_property(self.as_ref(), "duration", duration)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
#[doc(alias = "is-nested-timeline")]
|
#[doc(alias = "is-nested-timeline")]
|
||||||
fn is_nested_timeline(&self) -> bool {
|
fn is_nested_timeline(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "is-nested-timeline")
|
ObjectExt::property(self.as_ref(), "is-nested-timeline")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "duration")]
|
#[doc(alias = "duration")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -108,12 +108,12 @@ pub trait VideoTransitionExt: IsA<VideoTransition> + sealed::Sealed + 'static {
|
||||||
|
|
||||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||||
fn inverts(&self) -> bool {
|
fn inverts(&self) -> bool {
|
||||||
glib::ObjectExt::property(self.as_ref(), "invert")
|
ObjectExt::property(self.as_ref(), "invert")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
#[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")]
|
||||||
fn set_invert(&self, invert: bool) {
|
fn set_invert(&self, invert: bool) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "invert", invert)
|
ObjectExt::set_property(self.as_ref(), "invert", invert)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "border")]
|
#[doc(alias = "border")]
|
||||||
|
|
|
@ -26,7 +26,7 @@ mod sealed {
|
||||||
|
|
||||||
pub trait VideoUriSourceExt: IsA<VideoUriSource> + sealed::Sealed + 'static {
|
pub trait VideoUriSourceExt: IsA<VideoUriSource> + sealed::Sealed + 'static {
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -4,10 +4,7 @@
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use crate::{GLContext, GLSLProfile};
|
use crate::{GLContext, GLSLProfile};
|
||||||
use glib::{
|
use glib::{prelude::*, translate::*};
|
||||||
error::ErrorDomain, prelude::*, translate::*, value::FromValue, value::ToValue, Quark,
|
|
||||||
StaticType, Type,
|
|
||||||
};
|
|
||||||
use std::mem;
|
use std::mem;
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
|
@ -75,7 +72,7 @@ impl FromGlib<ffi::GstGLConfigCaveat> for GLConfigCaveat {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
impl StaticType for GLConfigCaveat {
|
impl StaticType for GLConfigCaveat {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_config_caveat_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_config_caveat_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -100,7 +97,7 @@ impl glib::value::ValueType for GLConfigCaveat {
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
unsafe impl<'a> FromValue<'a> for GLConfigCaveat {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLConfigCaveat {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -194,9 +191,9 @@ impl FromGlib<ffi::GstGLContextError> for GLContextError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ErrorDomain for GLContextError {
|
impl glib::error::ErrorDomain for GLContextError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn domain() -> Quark {
|
fn domain() -> glib::Quark {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
unsafe { from_glib(ffi::gst_gl_context_error_quark()) }
|
unsafe { from_glib(ffi::gst_gl_context_error_quark()) }
|
||||||
|
@ -220,7 +217,7 @@ impl ErrorDomain for GLContextError {
|
||||||
|
|
||||||
impl StaticType for GLContextError {
|
impl StaticType for GLContextError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_context_error_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_context_error_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -239,7 +236,7 @@ impl glib::value::ValueType for GLContextError {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLContextError {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLContextError {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -438,7 +435,7 @@ impl FromGlib<ffi::GstGLFormat> for GLFormat {
|
||||||
|
|
||||||
impl StaticType for GLFormat {
|
impl StaticType for GLFormat {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_format_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_format_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -457,7 +454,7 @@ impl glib::value::ValueType for GLFormat {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLFormat {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLFormat {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -537,7 +534,7 @@ impl FromGlib<ffi::GstGLQueryType> for GLQueryType {
|
||||||
|
|
||||||
impl StaticType for GLQueryType {
|
impl StaticType for GLQueryType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_query_type_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_query_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -556,7 +553,7 @@ impl glib::value::ValueType for GLQueryType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLQueryType {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLQueryType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -634,9 +631,9 @@ impl FromGlib<ffi::GstGLSLError> for GLSLError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ErrorDomain for GLSLError {
|
impl glib::error::ErrorDomain for GLSLError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn domain() -> Quark {
|
fn domain() -> glib::Quark {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
unsafe { from_glib(ffi::gst_glsl_error_quark()) }
|
unsafe { from_glib(ffi::gst_glsl_error_quark()) }
|
||||||
|
@ -659,7 +656,7 @@ impl ErrorDomain for GLSLError {
|
||||||
|
|
||||||
impl StaticType for GLSLError {
|
impl StaticType for GLSLError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_glsl_error_get_type()) }
|
unsafe { from_glib(ffi::gst_glsl_error_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -678,7 +675,7 @@ impl glib::value::ValueType for GLSLError {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLSLError {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLSLError {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -860,7 +857,7 @@ impl FromGlib<ffi::GstGLSLVersion> for GLSLVersion {
|
||||||
|
|
||||||
impl StaticType for GLSLVersion {
|
impl StaticType for GLSLVersion {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_glsl_version_get_type()) }
|
unsafe { from_glib(ffi::gst_glsl_version_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -879,7 +876,7 @@ impl glib::value::ValueType for GLSLVersion {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLSLVersion {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLSLVersion {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -959,7 +956,7 @@ impl FromGlib<ffi::GstGLStereoDownmix> for GLStereoDownmix {
|
||||||
|
|
||||||
impl StaticType for GLStereoDownmix {
|
impl StaticType for GLStereoDownmix {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_stereo_downmix_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_stereo_downmix_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -978,7 +975,7 @@ impl glib::value::ValueType for GLStereoDownmix {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLStereoDownmix {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLStereoDownmix {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -1099,7 +1096,7 @@ impl FromGlib<ffi::GstGLTextureTarget> for GLTextureTarget {
|
||||||
|
|
||||||
impl StaticType for GLTextureTarget {
|
impl StaticType for GLTextureTarget {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_texture_target_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_texture_target_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1118,7 +1115,7 @@ impl glib::value::ValueType for GLTextureTarget {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLTextureTarget {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLTextureTarget {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -1206,7 +1203,7 @@ impl FromGlib<ffi::GstGLUploadReturn> for GLUploadReturn {
|
||||||
|
|
||||||
impl StaticType for GLUploadReturn {
|
impl StaticType for GLUploadReturn {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_upload_return_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_upload_return_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1225,7 +1222,7 @@ impl glib::value::ValueType for GLUploadReturn {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLUploadReturn {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLUploadReturn {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -1303,9 +1300,9 @@ impl FromGlib<ffi::GstGLWindowError> for GLWindowError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ErrorDomain for GLWindowError {
|
impl glib::error::ErrorDomain for GLWindowError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn domain() -> Quark {
|
fn domain() -> glib::Quark {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
unsafe { from_glib(ffi::gst_gl_window_error_quark()) }
|
unsafe { from_glib(ffi::gst_gl_window_error_quark()) }
|
||||||
|
@ -1329,7 +1326,7 @@ impl ErrorDomain for GLWindowError {
|
||||||
|
|
||||||
impl StaticType for GLWindowError {
|
impl StaticType for GLWindowError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_window_error_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_window_error_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1348,7 +1345,7 @@ impl glib::value::ValueType for GLWindowError {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLWindowError {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLWindowError {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use bitflags::bitflags;
|
use glib::{bitflags::bitflags, prelude::*, translate::*};
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstGLAPI")]
|
#[doc(alias = "GstGLAPI")]
|
||||||
pub struct GLAPI: u32 {
|
pub struct GLAPI: u32 {
|
||||||
#[doc(alias = "GST_GL_API_OPENGL")]
|
#[doc(alias = "GST_GL_API_OPENGL")]
|
||||||
|
@ -64,7 +64,7 @@ impl FromGlib<ffi::GstGLAPI> for GLAPI {
|
||||||
|
|
||||||
impl StaticType for GLAPI {
|
impl StaticType for GLAPI {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_api_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_api_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@ impl glib::value::ValueType for GLAPI {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLAPI {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLAPI {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -120,6 +120,7 @@ impl From<GLAPI> for glib::Value {
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstGLConfigSurfaceType")]
|
#[doc(alias = "GstGLConfigSurfaceType")]
|
||||||
pub struct GLConfigSurfaceType: u32 {
|
pub struct GLConfigSurfaceType: u32 {
|
||||||
#[doc(alias = "GST_GL_CONFIG_SURFACE_TYPE_NONE")]
|
#[doc(alias = "GST_GL_CONFIG_SURFACE_TYPE_NONE")]
|
||||||
|
@ -171,7 +172,7 @@ impl FromGlib<ffi::GstGLConfigSurfaceType> for GLConfigSurfaceType {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
impl StaticType for GLConfigSurfaceType {
|
impl StaticType for GLConfigSurfaceType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_config_surface_type_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_config_surface_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -196,7 +197,7 @@ impl glib::value::ValueType for GLConfigSurfaceType {
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
unsafe impl<'a> FromValue<'a> for GLConfigSurfaceType {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLConfigSurfaceType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -235,6 +236,7 @@ impl From<GLConfigSurfaceType> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstGLDisplayType")]
|
#[doc(alias = "GstGLDisplayType")]
|
||||||
pub struct GLDisplayType: u32 {
|
pub struct GLDisplayType: u32 {
|
||||||
#[doc(alias = "GST_GL_DISPLAY_TYPE_X11")]
|
#[doc(alias = "GST_GL_DISPLAY_TYPE_X11")]
|
||||||
|
@ -293,7 +295,7 @@ impl FromGlib<ffi::GstGLDisplayType> for GLDisplayType {
|
||||||
|
|
||||||
impl StaticType for GLDisplayType {
|
impl StaticType for GLDisplayType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_display_type_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_display_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -312,7 +314,7 @@ impl glib::value::ValueType for GLDisplayType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLDisplayType {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLDisplayType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -347,6 +349,7 @@ impl From<GLDisplayType> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstGLPlatform")]
|
#[doc(alias = "GstGLPlatform")]
|
||||||
pub struct GLPlatform: u32 {
|
pub struct GLPlatform: u32 {
|
||||||
#[doc(alias = "GST_GL_PLATFORM_EGL")]
|
#[doc(alias = "GST_GL_PLATFORM_EGL")]
|
||||||
|
@ -409,7 +412,7 @@ impl FromGlib<ffi::GstGLPlatform> for GLPlatform {
|
||||||
|
|
||||||
impl StaticType for GLPlatform {
|
impl StaticType for GLPlatform {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_gl_platform_get_type()) }
|
unsafe { from_glib(ffi::gst_gl_platform_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -428,7 +431,7 @@ impl glib::value::ValueType for GLPlatform {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLPlatform {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLPlatform {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -463,6 +466,7 @@ impl From<GLPlatform> for glib::Value {
|
||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstGLSLProfile")]
|
#[doc(alias = "GstGLSLProfile")]
|
||||||
pub struct GLSLProfile: u32 {
|
pub struct GLSLProfile: u32 {
|
||||||
#[doc(alias = "GST_GLSL_PROFILE_ES")]
|
#[doc(alias = "GST_GLSL_PROFILE_ES")]
|
||||||
|
@ -510,7 +514,7 @@ impl FromGlib<ffi::GstGLSLProfile> for GLSLProfile {
|
||||||
|
|
||||||
impl StaticType for GLSLProfile {
|
impl StaticType for GLSLProfile {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_glsl_profile_get_type()) }
|
unsafe { from_glib(ffi::gst_glsl_profile_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -529,7 +533,7 @@ impl glib::value::ValueType for GLSLProfile {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for GLSLProfile {
|
unsafe impl<'a> glib::value::FromValue<'a> for GLSLProfile {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -57,7 +57,7 @@ pub trait GLBaseFilterExt: IsA<GLBaseFilter> + sealed::Sealed + 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn context(&self) -> Option<GLContext> {
|
fn context(&self) -> Option<GLContext> {
|
||||||
glib::ObjectExt::property(self.as_ref(), "context")
|
ObjectExt::property(self.as_ref(), "context")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "context")]
|
#[doc(alias = "context")]
|
||||||
|
|
|
@ -34,12 +34,12 @@ mod sealed {
|
||||||
pub trait GLBaseSrcExt: IsA<GLBaseSrc> + sealed::Sealed + 'static {
|
pub trait GLBaseSrcExt: IsA<GLBaseSrc> + sealed::Sealed + 'static {
|
||||||
#[doc(alias = "timestamp-offset")]
|
#[doc(alias = "timestamp-offset")]
|
||||||
fn timestamp_offset(&self) -> i64 {
|
fn timestamp_offset(&self) -> i64 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "timestamp-offset")
|
ObjectExt::property(self.as_ref(), "timestamp-offset")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "timestamp-offset")]
|
#[doc(alias = "timestamp-offset")]
|
||||||
fn set_timestamp_offset(&self, timestamp_offset: i64) {
|
fn set_timestamp_offset(&self, timestamp_offset: i64) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "timestamp-offset", timestamp_offset)
|
ObjectExt::set_property(self.as_ref(), "timestamp-offset", timestamp_offset)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "timestamp-offset")]
|
#[doc(alias = "timestamp-offset")]
|
||||||
|
|
|
@ -49,13 +49,13 @@ impl GLOverlayCompositor {
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
pub fn is_yinvert(&self) -> bool {
|
pub fn is_yinvert(&self) -> bool {
|
||||||
glib::ObjectExt::property(self, "yinvert")
|
ObjectExt::property(self, "yinvert")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
pub fn set_yinvert(&self, yinvert: bool) {
|
pub fn set_yinvert(&self, yinvert: bool) {
|
||||||
glib::ObjectExt::set_property(self, "yinvert", yinvert)
|
ObjectExt::set_property(self, "yinvert", yinvert)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "gst_gl_overlay_compositor_add_caps")]
|
#[doc(alias = "gst_gl_overlay_compositor_add_caps")]
|
||||||
|
|
|
@ -91,52 +91,52 @@ impl GLViewConvert {
|
||||||
|
|
||||||
#[doc(alias = "downmix-mode")]
|
#[doc(alias = "downmix-mode")]
|
||||||
pub fn downmix_mode(&self) -> GLStereoDownmix {
|
pub fn downmix_mode(&self) -> GLStereoDownmix {
|
||||||
glib::ObjectExt::property(self, "downmix-mode")
|
ObjectExt::property(self, "downmix-mode")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "downmix-mode", downmix_mode)
|
ObjectExt::set_property(self, "downmix-mode", downmix_mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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 {
|
||||||
glib::ObjectExt::property(self, "input-flags-override")
|
ObjectExt::property(self, "input-flags-override")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "input-flags-override", input_flags_override)
|
ObjectExt::set_property(self, "input-flags-override", input_flags_override)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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 {
|
||||||
glib::ObjectExt::property(self, "input-mode-override")
|
ObjectExt::property(self, "input-mode-override")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "input-mode-override", input_mode_override)
|
ObjectExt::set_property(self, "input-mode-override", input_mode_override)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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 {
|
||||||
glib::ObjectExt::property(self, "output-flags-override")
|
ObjectExt::property(self, "output-flags-override")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "output-flags-override", output_flags_override)
|
ObjectExt::set_property(self, "output-flags-override", output_flags_override)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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 {
|
||||||
glib::ObjectExt::property(self, "output-mode-override")
|
ObjectExt::property(self, "output-mode-override")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[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) {
|
||||||
glib::ObjectExt::set_property(self, "output-mode-override", output_mode_override)
|
ObjectExt::set_property(self, "output-mode-override", output_mode_override)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "downmix-mode")]
|
#[doc(alias = "downmix-mode")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -40,67 +40,67 @@ impl NetClientClock {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn address(&self) -> Option<glib::GString> {
|
pub fn address(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self, "address")
|
ObjectExt::property(self, "address")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_address(&self, address: Option<&str>) {
|
pub fn set_address(&self, address: Option<&str>) {
|
||||||
glib::ObjectExt::set_property(self, "address", address)
|
ObjectExt::set_property(self, "address", address)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "base-time")]
|
#[doc(alias = "base-time")]
|
||||||
pub fn base_time(&self) -> u64 {
|
pub fn base_time(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "base-time")
|
ObjectExt::property(self, "base-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn bus(&self) -> Option<gst::Bus> {
|
pub fn bus(&self) -> Option<gst::Bus> {
|
||||||
glib::ObjectExt::property(self, "bus")
|
ObjectExt::property(self, "bus")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_bus<P: IsA<gst::Bus>>(&self, bus: Option<&P>) {
|
pub fn set_bus<P: IsA<gst::Bus>>(&self, bus: Option<&P>) {
|
||||||
glib::ObjectExt::set_property(self, "bus", bus)
|
ObjectExt::set_property(self, "bus", bus)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "internal-clock")]
|
#[doc(alias = "internal-clock")]
|
||||||
pub fn internal_clock(&self) -> Option<gst::Clock> {
|
pub fn internal_clock(&self) -> Option<gst::Clock> {
|
||||||
glib::ObjectExt::property(self, "internal-clock")
|
ObjectExt::property(self, "internal-clock")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "minimum-update-interval")]
|
#[doc(alias = "minimum-update-interval")]
|
||||||
pub fn minimum_update_interval(&self) -> u64 {
|
pub fn minimum_update_interval(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "minimum-update-interval")
|
ObjectExt::property(self, "minimum-update-interval")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "minimum-update-interval")]
|
#[doc(alias = "minimum-update-interval")]
|
||||||
pub fn set_minimum_update_interval(&self, minimum_update_interval: u64) {
|
pub fn set_minimum_update_interval(&self, minimum_update_interval: u64) {
|
||||||
glib::ObjectExt::set_property(self, "minimum-update-interval", minimum_update_interval)
|
ObjectExt::set_property(self, "minimum-update-interval", minimum_update_interval)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn port(&self) -> i32 {
|
pub fn port(&self) -> i32 {
|
||||||
glib::ObjectExt::property(self, "port")
|
ObjectExt::property(self, "port")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_port(&self, port: i32) {
|
pub fn set_port(&self, port: i32) {
|
||||||
glib::ObjectExt::set_property(self, "port", port)
|
ObjectExt::set_property(self, "port", port)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "qos-dscp")]
|
#[doc(alias = "qos-dscp")]
|
||||||
pub fn qos_dscp(&self) -> i32 {
|
pub fn qos_dscp(&self) -> i32 {
|
||||||
glib::ObjectExt::property(self, "qos-dscp")
|
ObjectExt::property(self, "qos-dscp")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "qos-dscp")]
|
#[doc(alias = "qos-dscp")]
|
||||||
pub fn set_qos_dscp(&self, qos_dscp: i32) {
|
pub fn set_qos_dscp(&self, qos_dscp: i32) {
|
||||||
glib::ObjectExt::set_property(self, "qos-dscp", qos_dscp)
|
ObjectExt::set_property(self, "qos-dscp", qos_dscp)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "round-trip-limit")]
|
#[doc(alias = "round-trip-limit")]
|
||||||
pub fn round_trip_limit(&self) -> u64 {
|
pub fn round_trip_limit(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "round-trip-limit")
|
ObjectExt::property(self, "round-trip-limit")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "round-trip-limit")]
|
#[doc(alias = "round-trip-limit")]
|
||||||
pub fn set_round_trip_limit(&self, round_trip_limit: u64) {
|
pub fn set_round_trip_limit(&self, round_trip_limit: u64) {
|
||||||
glib::ObjectExt::set_property(self, "round-trip-limit", round_trip_limit)
|
ObjectExt::set_property(self, "round-trip-limit", round_trip_limit)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "address")]
|
#[doc(alias = "address")]
|
||||||
|
|
|
@ -38,33 +38,33 @@ impl NetTimeProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_active(&self) -> bool {
|
pub fn is_active(&self) -> bool {
|
||||||
glib::ObjectExt::property(self, "active")
|
ObjectExt::property(self, "active")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_active(&self, active: bool) {
|
pub fn set_active(&self, active: bool) {
|
||||||
glib::ObjectExt::set_property(self, "active", active)
|
ObjectExt::set_property(self, "active", active)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn address(&self) -> Option<glib::GString> {
|
pub fn address(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self, "address")
|
ObjectExt::property(self, "address")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn clock(&self) -> Option<gst::Clock> {
|
pub fn clock(&self) -> Option<gst::Clock> {
|
||||||
glib::ObjectExt::property(self, "clock")
|
ObjectExt::property(self, "clock")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn port(&self) -> i32 {
|
pub fn port(&self) -> i32 {
|
||||||
glib::ObjectExt::property(self, "port")
|
ObjectExt::property(self, "port")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "qos-dscp")]
|
#[doc(alias = "qos-dscp")]
|
||||||
pub fn qos_dscp(&self) -> i32 {
|
pub fn qos_dscp(&self) -> i32 {
|
||||||
glib::ObjectExt::property(self, "qos-dscp")
|
ObjectExt::property(self, "qos-dscp")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "qos-dscp")]
|
#[doc(alias = "qos-dscp")]
|
||||||
pub fn set_qos_dscp(&self, qos_dscp: i32) {
|
pub fn set_qos_dscp(&self, qos_dscp: i32) {
|
||||||
glib::ObjectExt::set_property(self, "qos-dscp", qos_dscp)
|
ObjectExt::set_property(self, "qos-dscp", qos_dscp)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "active")]
|
#[doc(alias = "active")]
|
||||||
|
|
|
@ -30,22 +30,22 @@ impl PtpClock {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn domain(&self) -> u32 {
|
pub fn domain(&self) -> u32 {
|
||||||
glib::ObjectExt::property(self, "domain")
|
ObjectExt::property(self, "domain")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "grandmaster-clock-id")]
|
#[doc(alias = "grandmaster-clock-id")]
|
||||||
pub fn grandmaster_clock_id(&self) -> u64 {
|
pub fn grandmaster_clock_id(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "grandmaster-clock-id")
|
ObjectExt::property(self, "grandmaster-clock-id")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "internal-clock")]
|
#[doc(alias = "internal-clock")]
|
||||||
pub fn internal_clock(&self) -> Option<gst::Clock> {
|
pub fn internal_clock(&self) -> Option<gst::Clock> {
|
||||||
glib::ObjectExt::property(self, "internal-clock")
|
ObjectExt::property(self, "internal-clock")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "master-clock-id")]
|
#[doc(alias = "master-clock-id")]
|
||||||
pub fn master_clock_id(&self) -> u64 {
|
pub fn master_clock_id(&self) -> u64 {
|
||||||
glib::ObjectExt::property(self, "master-clock-id")
|
ObjectExt::property(self, "master-clock-id")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "grandmaster-clock-id")]
|
#[doc(alias = "grandmaster-clock-id")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -35,20 +35,20 @@ mod sealed {
|
||||||
pub trait AudioVisualizerExt: IsA<AudioVisualizer> + sealed::Sealed + 'static {
|
pub trait AudioVisualizerExt: IsA<AudioVisualizer> + sealed::Sealed + 'static {
|
||||||
#[doc(alias = "shade-amount")]
|
#[doc(alias = "shade-amount")]
|
||||||
fn shade_amount(&self) -> u32 {
|
fn shade_amount(&self) -> u32 {
|
||||||
glib::ObjectExt::property(self.as_ref(), "shade-amount")
|
ObjectExt::property(self.as_ref(), "shade-amount")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "shade-amount")]
|
#[doc(alias = "shade-amount")]
|
||||||
fn set_shade_amount(&self, shade_amount: u32) {
|
fn set_shade_amount(&self, shade_amount: u32) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "shade-amount", shade_amount)
|
ObjectExt::set_property(self.as_ref(), "shade-amount", shade_amount)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn shader(&self) -> AudioVisualizerShader {
|
fn shader(&self) -> AudioVisualizerShader {
|
||||||
glib::ObjectExt::property(self.as_ref(), "shader")
|
ObjectExt::property(self.as_ref(), "shader")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_shader(&self, shader: AudioVisualizerShader) {
|
fn set_shader(&self, shader: AudioVisualizerShader) {
|
||||||
glib::ObjectExt::set_property(self.as_ref(), "shader", shader)
|
ObjectExt::set_property(self.as_ref(), "shader", shader)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "shade-amount")]
|
#[doc(alias = "shade-amount")]
|
||||||
|
|
|
@ -80,14 +80,14 @@ impl Discoverer {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
#[doc(alias = "use-cache")]
|
#[doc(alias = "use-cache")]
|
||||||
pub fn uses_cache(&self) -> bool {
|
pub fn uses_cache(&self) -> bool {
|
||||||
glib::ObjectExt::property(self, "use-cache")
|
ObjectExt::property(self, "use-cache")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
#[doc(alias = "use-cache")]
|
#[doc(alias = "use-cache")]
|
||||||
pub fn set_use_cache(&self, use_cache: bool) {
|
pub fn set_use_cache(&self, use_cache: bool) {
|
||||||
glib::ObjectExt::set_property(self, "use-cache", use_cache)
|
ObjectExt::set_property(self, "use-cache", use_cache)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "discovered")]
|
#[doc(alias = "discovered")]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
use glib::{prelude::*, translate::*};
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
|
@ -79,7 +79,7 @@ impl FromGlib<ffi::GstAudioVisualizerShader> for AudioVisualizerShader {
|
||||||
|
|
||||||
impl StaticType for AudioVisualizerShader {
|
impl StaticType for AudioVisualizerShader {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_audio_visualizer_shader_get_type()) }
|
unsafe { from_glib(ffi::gst_audio_visualizer_shader_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ impl glib::value::ValueType for AudioVisualizerShader {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for AudioVisualizerShader {
|
unsafe impl<'a> glib::value::FromValue<'a> for AudioVisualizerShader {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -190,7 +190,7 @@ impl FromGlib<ffi::GstDiscovererResult> for DiscovererResult {
|
||||||
|
|
||||||
impl StaticType for DiscovererResult {
|
impl StaticType for DiscovererResult {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_discoverer_result_get_type()) }
|
unsafe { from_glib(ffi::gst_discoverer_result_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -209,7 +209,7 @@ impl glib::value::ValueType for DiscovererResult {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for DiscovererResult {
|
unsafe impl<'a> glib::value::FromValue<'a> for DiscovererResult {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use bitflags::bitflags;
|
use glib::{bitflags::bitflags, prelude::*, translate::*};
|
||||||
use glib::{translate::*, value::FromValue, value::ToValue, StaticType, Type};
|
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstDiscovererSerializeFlags")]
|
#[doc(alias = "GstDiscovererSerializeFlags")]
|
||||||
pub struct DiscovererSerializeFlags: u32 {
|
pub struct DiscovererSerializeFlags: u32 {
|
||||||
#[doc(alias = "GST_DISCOVERER_SERIALIZE_CAPS")]
|
#[doc(alias = "GST_DISCOVERER_SERIALIZE_CAPS")]
|
||||||
|
@ -39,7 +39,7 @@ impl FromGlib<ffi::GstDiscovererSerializeFlags> for DiscovererSerializeFlags {
|
||||||
|
|
||||||
impl StaticType for DiscovererSerializeFlags {
|
impl StaticType for DiscovererSerializeFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_discoverer_serialize_flags_get_type()) }
|
unsafe { from_glib(ffi::gst_discoverer_serialize_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ impl glib::value::ValueType for DiscovererSerializeFlags {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for DiscovererSerializeFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for DiscovererSerializeFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -95,6 +95,7 @@ impl From<DiscovererSerializeFlags> for glib::Value {
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||||
#[doc(alias = "GstPbUtilsCapsDescriptionFlags")]
|
#[doc(alias = "GstPbUtilsCapsDescriptionFlags")]
|
||||||
pub struct PbUtilsCapsDescriptionFlags: u32 {
|
pub struct PbUtilsCapsDescriptionFlags: u32 {
|
||||||
#[doc(alias = "GST_PBUTILS_CAPS_DESCRIPTION_FLAG_CONTAINER")]
|
#[doc(alias = "GST_PBUTILS_CAPS_DESCRIPTION_FLAG_CONTAINER")]
|
||||||
|
@ -145,7 +146,7 @@ impl FromGlib<ffi::GstPbUtilsCapsDescriptionFlags> for PbUtilsCapsDescriptionFla
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
impl StaticType for PbUtilsCapsDescriptionFlags {
|
impl StaticType for PbUtilsCapsDescriptionFlags {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_pb_utils_caps_description_flags_get_type()) }
|
unsafe { from_glib(ffi::gst_pb_utils_caps_description_flags_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -170,7 +171,7 @@ impl glib::value::ValueType for PbUtilsCapsDescriptionFlags {
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
unsafe impl<'a> FromValue<'a> for PbUtilsCapsDescriptionFlags {
|
unsafe impl<'a> glib::value::FromValue<'a> for PbUtilsCapsDescriptionFlags {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -4,10 +4,7 @@
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use crate::PlayMediaInfo;
|
use crate::PlayMediaInfo;
|
||||||
use glib::{
|
use glib::{prelude::*, translate::*, GStr};
|
||||||
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, GStr, Quark, StaticType,
|
|
||||||
Type,
|
|
||||||
};
|
|
||||||
use std::{fmt, mem, ptr};
|
use std::{fmt, mem, ptr};
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||||
|
@ -79,7 +76,7 @@ impl FromGlib<ffi::GstPlayColorBalanceType> for PlayColorBalanceType {
|
||||||
|
|
||||||
impl StaticType for PlayColorBalanceType {
|
impl StaticType for PlayColorBalanceType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_play_color_balance_type_get_type()) }
|
unsafe { from_glib(ffi::gst_play_color_balance_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +95,7 @@ impl glib::value::ValueType for PlayColorBalanceType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayColorBalanceType {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayColorBalanceType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -187,9 +184,9 @@ impl FromGlib<ffi::GstPlayError> for PlayError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ErrorDomain for PlayError {
|
impl glib::error::ErrorDomain for PlayError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn domain() -> Quark {
|
fn domain() -> glib::Quark {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
unsafe { from_glib(ffi::gst_play_error_quark()) }
|
unsafe { from_glib(ffi::gst_play_error_quark()) }
|
||||||
|
@ -213,7 +210,7 @@ impl ErrorDomain for PlayError {
|
||||||
|
|
||||||
impl StaticType for PlayError {
|
impl StaticType for PlayError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_play_error_get_type()) }
|
unsafe { from_glib(ffi::gst_play_error_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -232,7 +229,7 @@ impl glib::value::ValueType for PlayError {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayError {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayError {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -495,7 +492,7 @@ impl FromGlib<ffi::GstPlayMessage> for PlayMessage {
|
||||||
|
|
||||||
impl StaticType for PlayMessage {
|
impl StaticType for PlayMessage {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_play_message_get_type()) }
|
unsafe { from_glib(ffi::gst_play_message_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -514,7 +511,7 @@ impl glib::value::ValueType for PlayMessage {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayMessage {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayMessage {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -669,7 +666,7 @@ impl FromGlib<ffi::GstPlayState> for PlayState {
|
||||||
|
|
||||||
impl StaticType for PlayState {
|
impl StaticType for PlayState {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_play_state_get_type()) }
|
unsafe { from_glib(ffi::gst_play_state_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -688,7 +685,7 @@ impl glib::value::ValueType for PlayState {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayState {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayState {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -328,26 +328,26 @@ impl Play {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn suburi(&self) -> Option<glib::GString> {
|
pub fn suburi(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self, "suburi")
|
ObjectExt::property(self, "suburi")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_suburi(&self, suburi: Option<&str>) {
|
pub fn set_suburi(&self, suburi: Option<&str>) {
|
||||||
glib::ObjectExt::set_property(self, "suburi", suburi)
|
ObjectExt::set_property(self, "suburi", suburi)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-flags")]
|
#[doc(alias = "video-multiview-flags")]
|
||||||
pub fn video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags {
|
pub fn video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags {
|
||||||
glib::ObjectExt::property(self, "video-multiview-flags")
|
ObjectExt::property(self, "video-multiview-flags")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-flags")]
|
#[doc(alias = "video-multiview-flags")]
|
||||||
pub fn set_video_multiview_flags(&self, video_multiview_flags: gst_video::VideoMultiviewFlags) {
|
pub fn set_video_multiview_flags(&self, video_multiview_flags: gst_video::VideoMultiviewFlags) {
|
||||||
glib::ObjectExt::set_property(self, "video-multiview-flags", video_multiview_flags)
|
ObjectExt::set_property(self, "video-multiview-flags", video_multiview_flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-mode")]
|
#[doc(alias = "video-multiview-mode")]
|
||||||
pub fn video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking {
|
pub fn video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking {
|
||||||
glib::ObjectExt::property(self, "video-multiview-mode")
|
ObjectExt::property(self, "video-multiview-mode")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-mode")]
|
#[doc(alias = "video-multiview-mode")]
|
||||||
|
@ -355,17 +355,17 @@ impl Play {
|
||||||
&self,
|
&self,
|
||||||
video_multiview_mode: gst_video::VideoMultiviewFramePacking,
|
video_multiview_mode: gst_video::VideoMultiviewFramePacking,
|
||||||
) {
|
) {
|
||||||
glib::ObjectExt::set_property(self, "video-multiview-mode", video_multiview_mode)
|
ObjectExt::set_property(self, "video-multiview-mode", video_multiview_mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-renderer")]
|
#[doc(alias = "video-renderer")]
|
||||||
pub fn video_renderer(&self) -> Option<PlayVideoRenderer> {
|
pub fn video_renderer(&self) -> Option<PlayVideoRenderer> {
|
||||||
glib::ObjectExt::property(self, "video-renderer")
|
ObjectExt::property(self, "video-renderer")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-renderer")]
|
#[doc(alias = "video-renderer")]
|
||||||
pub fn set_video_renderer<P: IsA<PlayVideoRenderer>>(&self, video_renderer: Option<&P>) {
|
pub fn set_video_renderer<P: IsA<PlayVideoRenderer>>(&self, video_renderer: Option<&P>) {
|
||||||
glib::ObjectExt::set_property(self, "video-renderer", video_renderer)
|
ObjectExt::set_property(self, "video-renderer", video_renderer)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "gst_play_get_audio_streams")]
|
#[doc(alias = "gst_play_get_audio_streams")]
|
||||||
|
|
|
@ -67,12 +67,12 @@ impl PlayVideoOverlayVideoRenderer {
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
pub fn video_sink(&self) -> Option<gst::Element> {
|
pub fn video_sink(&self) -> Option<gst::Element> {
|
||||||
glib::ObjectExt::property(self, "video-sink")
|
ObjectExt::property(self, "video-sink")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
pub fn set_video_sink<P: IsA<gst::Element>>(&self, video_sink: Option<&P>) {
|
pub fn set_video_sink<P: IsA<gst::Element>>(&self, video_sink: Option<&P>) {
|
||||||
glib::ObjectExt::set_property(self, "video-sink", video_sink)
|
ObjectExt::set_property(self, "video-sink", video_sink)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -3,10 +3,7 @@
|
||||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use glib::{
|
use glib::{prelude::*, translate::*, GStr};
|
||||||
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, GStr, Quark, StaticType,
|
|
||||||
Type,
|
|
||||||
};
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||||
|
@ -78,7 +75,7 @@ impl FromGlib<ffi::GstPlayerColorBalanceType> for PlayerColorBalanceType {
|
||||||
|
|
||||||
impl StaticType for PlayerColorBalanceType {
|
impl StaticType for PlayerColorBalanceType {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_player_color_balance_type_get_type()) }
|
unsafe { from_glib(ffi::gst_player_color_balance_type_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -97,7 +94,7 @@ impl glib::value::ValueType for PlayerColorBalanceType {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayerColorBalanceType {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayerColorBalanceType {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -186,9 +183,9 @@ impl FromGlib<ffi::GstPlayerError> for PlayerError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ErrorDomain for PlayerError {
|
impl glib::error::ErrorDomain for PlayerError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn domain() -> Quark {
|
fn domain() -> glib::Quark {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
||||||
unsafe { from_glib(ffi::gst_player_error_quark()) }
|
unsafe { from_glib(ffi::gst_player_error_quark()) }
|
||||||
|
@ -212,7 +209,7 @@ impl ErrorDomain for PlayerError {
|
||||||
|
|
||||||
impl StaticType for PlayerError {
|
impl StaticType for PlayerError {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_player_error_get_type()) }
|
unsafe { from_glib(ffi::gst_player_error_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -231,7 +228,7 @@ impl glib::value::ValueType for PlayerError {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayerError {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayerError {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -386,7 +383,7 @@ impl FromGlib<ffi::GstPlayerState> for PlayerState {
|
||||||
|
|
||||||
impl StaticType for PlayerState {
|
impl StaticType for PlayerState {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn static_type() -> Type {
|
fn static_type() -> glib::Type {
|
||||||
unsafe { from_glib(ffi::gst_player_state_get_type()) }
|
unsafe { from_glib(ffi::gst_player_state_get_type()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -405,7 +402,7 @@ impl glib::value::ValueType for PlayerState {
|
||||||
type Type = Self;
|
type Type = Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<'a> FromValue<'a> for PlayerState {
|
unsafe impl<'a> glib::value::FromValue<'a> for PlayerState {
|
||||||
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
type Checker = glib::value::GenericValueTypeChecker<Self>;
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -338,26 +338,26 @@ impl Player {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn suburi(&self) -> Option<glib::GString> {
|
pub fn suburi(&self) -> Option<glib::GString> {
|
||||||
glib::ObjectExt::property(self, "suburi")
|
ObjectExt::property(self, "suburi")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_suburi(&self, suburi: Option<&str>) {
|
pub fn set_suburi(&self, suburi: Option<&str>) {
|
||||||
glib::ObjectExt::set_property(self, "suburi", suburi)
|
ObjectExt::set_property(self, "suburi", suburi)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-flags")]
|
#[doc(alias = "video-multiview-flags")]
|
||||||
pub fn video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags {
|
pub fn video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags {
|
||||||
glib::ObjectExt::property(self, "video-multiview-flags")
|
ObjectExt::property(self, "video-multiview-flags")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-flags")]
|
#[doc(alias = "video-multiview-flags")]
|
||||||
pub fn set_video_multiview_flags(&self, video_multiview_flags: gst_video::VideoMultiviewFlags) {
|
pub fn set_video_multiview_flags(&self, video_multiview_flags: gst_video::VideoMultiviewFlags) {
|
||||||
glib::ObjectExt::set_property(self, "video-multiview-flags", video_multiview_flags)
|
ObjectExt::set_property(self, "video-multiview-flags", video_multiview_flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-mode")]
|
#[doc(alias = "video-multiview-mode")]
|
||||||
pub fn video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking {
|
pub fn video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking {
|
||||||
glib::ObjectExt::property(self, "video-multiview-mode")
|
ObjectExt::property(self, "video-multiview-mode")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-multiview-mode")]
|
#[doc(alias = "video-multiview-mode")]
|
||||||
|
@ -365,12 +365,12 @@ impl Player {
|
||||||
&self,
|
&self,
|
||||||
video_multiview_mode: gst_video::VideoMultiviewFramePacking,
|
video_multiview_mode: gst_video::VideoMultiviewFramePacking,
|
||||||
) {
|
) {
|
||||||
glib::ObjectExt::set_property(self, "video-multiview-mode", video_multiview_mode)
|
ObjectExt::set_property(self, "video-multiview-mode", video_multiview_mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-renderer")]
|
#[doc(alias = "video-renderer")]
|
||||||
pub fn video_renderer(&self) -> Option<PlayerVideoRenderer> {
|
pub fn video_renderer(&self) -> Option<PlayerVideoRenderer> {
|
||||||
glib::ObjectExt::property(self, "video-renderer")
|
ObjectExt::property(self, "video-renderer")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "gst_player_get_audio_streams")]
|
#[doc(alias = "gst_player_get_audio_streams")]
|
||||||
|
|
|
@ -18,7 +18,7 @@ glib::wrapper! {
|
||||||
impl PlayerGMainContextSignalDispatcher {
|
impl PlayerGMainContextSignalDispatcher {
|
||||||
#[doc(alias = "application-context")]
|
#[doc(alias = "application-context")]
|
||||||
pub fn application_context(&self) -> Option<glib::MainContext> {
|
pub fn application_context(&self) -> Option<glib::MainContext> {
|
||||||
glib::ObjectExt::property(self, "application-context")
|
ObjectExt::property(self, "application-context")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,12 +67,12 @@ impl PlayerVideoOverlayVideoRenderer {
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
pub fn video_sink(&self) -> Option<gst::Element> {
|
pub fn video_sink(&self) -> Option<gst::Element> {
|
||||||
glib::ObjectExt::property(self, "video-sink")
|
ObjectExt::property(self, "video-sink")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
pub fn set_video_sink<P: IsA<gst::Element>>(&self, video_sink: Option<&P>) {
|
pub fn set_video_sink<P: IsA<gst::Element>>(&self, video_sink: Option<&P>) {
|
||||||
glib::ObjectExt::set_property(self, "video-sink", video_sink)
|
ObjectExt::set_property(self, "video-sink", video_sink)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(alias = "video-sink")]
|
#[doc(alias = "video-sink")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 47312a7cf33a)
|
Generated by gir (https://github.com/gtk-rs/gir @ c659c2b21954)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue