mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 04:51:09 +00:00
Regenerate with latest gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1563>
This commit is contained in:
parent
6e2fd14b79
commit
887bffbb2c
184 changed files with 235 additions and 911 deletions
|
@ -22,11 +22,6 @@ impl PhysMemoryAllocator {
|
||||||
unsafe impl Send for PhysMemoryAllocator {}
|
unsafe impl Send for PhysMemoryAllocator {}
|
||||||
unsafe impl Sync for PhysMemoryAllocator {}
|
unsafe impl Sync for PhysMemoryAllocator {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait PhysMemoryAllocatorExt: IsA<PhysMemoryAllocator> + 'static {}
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::PhysMemoryAllocator>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait PhysMemoryAllocatorExt: IsA<PhysMemoryAllocator> + sealed::Sealed + 'static {}
|
|
||||||
|
|
||||||
impl<O: IsA<PhysMemoryAllocator>> PhysMemoryAllocatorExt for O {}
|
impl<O: IsA<PhysMemoryAllocator>> PhysMemoryAllocatorExt for O {}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AudioAggregator {
|
||||||
unsafe impl Send for AudioAggregator {}
|
unsafe impl Send for AudioAggregator {}
|
||||||
unsafe impl Sync for AudioAggregator {}
|
unsafe impl Sync for AudioAggregator {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioAggregatorExt: IsA<AudioAggregator> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioAggregator>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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 {
|
||||||
ObjectExt::property(self.as_ref(), "alignment-threshold")
|
ObjectExt::property(self.as_ref(), "alignment-threshold")
|
||||||
|
|
|
@ -27,14 +27,7 @@ impl AudioAggregatorConvertPad {
|
||||||
unsafe impl Send for AudioAggregatorConvertPad {}
|
unsafe impl Send for AudioAggregatorConvertPad {}
|
||||||
unsafe impl Sync for AudioAggregatorConvertPad {}
|
unsafe impl Sync for AudioAggregatorConvertPad {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioAggregatorConvertPadExt: IsA<AudioAggregatorConvertPad> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioAggregatorConvertPad>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioAggregatorConvertPadExt:
|
|
||||||
IsA<AudioAggregatorConvertPad> + sealed::Sealed + 'static
|
|
||||||
{
|
|
||||||
//#[doc(alias = "converter-config")]
|
//#[doc(alias = "converter-config")]
|
||||||
//fn converter_config(&self) -> /*Ignored*/Option<gst::Structure> {
|
//fn converter_config(&self) -> /*Ignored*/Option<gst::Structure> {
|
||||||
// ObjectExt::property(self.as_ref(), "converter-config")
|
// ObjectExt::property(self.as_ref(), "converter-config")
|
||||||
|
|
|
@ -31,12 +31,7 @@ impl AudioAggregatorPad {
|
||||||
unsafe impl Send for AudioAggregatorPad {}
|
unsafe impl Send for AudioAggregatorPad {}
|
||||||
unsafe impl Sync for AudioAggregatorPad {}
|
unsafe impl Sync for AudioAggregatorPad {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioAggregatorPadExt: IsA<AudioAggregatorPad> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioAggregatorPad>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioAggregatorPadExt: IsA<AudioAggregatorPad> + sealed::Sealed + 'static {
|
|
||||||
#[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")]
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AudioBaseSink {
|
||||||
unsafe impl Send for AudioBaseSink {}
|
unsafe impl Send for AudioBaseSink {}
|
||||||
unsafe impl Sync for AudioBaseSink {}
|
unsafe impl Sync for AudioBaseSink {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioBaseSink>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|
||||||
//#[doc(alias = "gst_audio_base_sink_create_ringbuffer")]
|
//#[doc(alias = "gst_audio_base_sink_create_ringbuffer")]
|
||||||
//fn create_ringbuffer(&self) -> /*Ignored*/Option<AudioRingBuffer> {
|
//fn create_ringbuffer(&self) -> /*Ignored*/Option<AudioRingBuffer> {
|
||||||
// unsafe { TODO: call ffi:gst_audio_base_sink_create_ringbuffer() }
|
// unsafe { TODO: call ffi:gst_audio_base_sink_create_ringbuffer() }
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AudioBaseSrc {
|
||||||
unsafe impl Send for AudioBaseSrc {}
|
unsafe impl Send for AudioBaseSrc {}
|
||||||
unsafe impl Sync for AudioBaseSrc {}
|
unsafe impl Sync for AudioBaseSrc {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioBaseSrc>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|
||||||
//#[doc(alias = "gst_audio_base_src_create_ringbuffer")]
|
//#[doc(alias = "gst_audio_base_src_create_ringbuffer")]
|
||||||
//fn create_ringbuffer(&self) -> /*Ignored*/Option<AudioRingBuffer> {
|
//fn create_ringbuffer(&self) -> /*Ignored*/Option<AudioRingBuffer> {
|
||||||
// unsafe { TODO: call ffi:gst_audio_base_src_create_ringbuffer() }
|
// unsafe { TODO: call ffi:gst_audio_base_src_create_ringbuffer() }
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AudioDecoder {
|
||||||
unsafe impl Send for AudioDecoder {}
|
unsafe impl Send for AudioDecoder {}
|
||||||
unsafe impl Sync for AudioDecoder {}
|
unsafe impl Sync for AudioDecoder {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioDecoderExt: IsA<AudioDecoder> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioDecoder>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioDecoderExt: IsA<AudioDecoder> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_audio_decoder_allocate_output_buffer")]
|
#[doc(alias = "gst_audio_decoder_allocate_output_buffer")]
|
||||||
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer {
|
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AudioEncoder {
|
||||||
unsafe impl Send for AudioEncoder {}
|
unsafe impl Send for AudioEncoder {}
|
||||||
unsafe impl Sync for AudioEncoder {}
|
unsafe impl Sync for AudioEncoder {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioEncoderExt: IsA<AudioEncoder> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioEncoder>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioEncoderExt: IsA<AudioEncoder> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_audio_encoder_allocate_output_buffer")]
|
#[doc(alias = "gst_audio_encoder_allocate_output_buffer")]
|
||||||
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer {
|
fn allocate_output_buffer(&self, size: usize) -> gst::Buffer {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -33,12 +33,7 @@ impl StreamVolume {
|
||||||
unsafe impl Send for StreamVolume {}
|
unsafe impl Send for StreamVolume {}
|
||||||
unsafe impl Sync for StreamVolume {}
|
unsafe impl Sync for StreamVolume {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait StreamVolumeExt: IsA<StreamVolume> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::StreamVolume>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait StreamVolumeExt: IsA<StreamVolume> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_stream_volume_get_mute")]
|
#[doc(alias = "gst_stream_volume_get_mute")]
|
||||||
#[doc(alias = "get_mute")]
|
#[doc(alias = "get_mute")]
|
||||||
#[doc(alias = "mute")]
|
#[doc(alias = "mute")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -30,12 +30,7 @@ impl Aggregator {
|
||||||
unsafe impl Send for Aggregator {}
|
unsafe impl Send for Aggregator {}
|
||||||
unsafe impl Sync for Aggregator {}
|
unsafe impl Sync for Aggregator {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AggregatorExt: IsA<Aggregator> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Aggregator>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AggregatorExt: IsA<Aggregator> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_aggregator_finish_buffer")]
|
#[doc(alias = "gst_aggregator_finish_buffer")]
|
||||||
fn finish_buffer(&self, buffer: gst::Buffer) -> Result<gst::FlowSuccess, gst::FlowError> {
|
fn finish_buffer(&self, buffer: gst::Buffer) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AggregatorPad {
|
||||||
unsafe impl Send for AggregatorPad {}
|
unsafe impl Send for AggregatorPad {}
|
||||||
unsafe impl Sync for AggregatorPad {}
|
unsafe impl Sync for AggregatorPad {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AggregatorPadExt: IsA<AggregatorPad> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AggregatorPad>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AggregatorPadExt: IsA<AggregatorPad> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_aggregator_pad_drop_buffer")]
|
#[doc(alias = "gst_aggregator_pad_drop_buffer")]
|
||||||
fn drop_buffer(&self) -> bool {
|
fn drop_buffer(&self) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl BaseParse {
|
||||||
unsafe impl Send for BaseParse {}
|
unsafe impl Send for BaseParse {}
|
||||||
unsafe impl Sync for BaseParse {}
|
unsafe impl Sync for BaseParse {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait BaseParseExt: IsA<BaseParse> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::BaseParse>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait BaseParseExt: IsA<BaseParse> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_base_parse_add_index_entry")]
|
#[doc(alias = "gst_base_parse_add_index_entry")]
|
||||||
fn add_index_entry(&self, offset: u64, ts: gst::ClockTime, key: bool, force: bool) -> bool {
|
fn add_index_entry(&self, offset: u64, ts: gst::ClockTime, key: bool, force: bool) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl BaseSink {
|
||||||
unsafe impl Send for BaseSink {}
|
unsafe impl Send for BaseSink {}
|
||||||
unsafe impl Sync for BaseSink {}
|
unsafe impl Sync for BaseSink {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait BaseSinkExt: IsA<BaseSink> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::BaseSink>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|
||||||
//#[doc(alias = "gst_base_sink_do_preroll")]
|
//#[doc(alias = "gst_base_sink_do_preroll")]
|
||||||
//fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> Result<gst::FlowSuccess, gst::FlowError> {
|
//fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> Result<gst::FlowSuccess, gst::FlowError> {
|
||||||
// unsafe { TODO: call ffi:gst_base_sink_do_preroll() }
|
// unsafe { TODO: call ffi:gst_base_sink_do_preroll() }
|
||||||
|
|
|
@ -28,12 +28,7 @@ impl BaseSrc {
|
||||||
unsafe impl Send for BaseSrc {}
|
unsafe impl Send for BaseSrc {}
|
||||||
unsafe impl Sync for BaseSrc {}
|
unsafe impl Sync for BaseSrc {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait BaseSrcExt: IsA<BaseSrc> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::BaseSrc>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_base_src_get_blocksize")]
|
#[doc(alias = "gst_base_src_get_blocksize")]
|
||||||
#[doc(alias = "get_blocksize")]
|
#[doc(alias = "get_blocksize")]
|
||||||
fn blocksize(&self) -> u32 {
|
fn blocksize(&self) -> u32 {
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl BaseTransform {
|
||||||
unsafe impl Send for BaseTransform {}
|
unsafe impl Send for BaseTransform {}
|
||||||
unsafe impl Sync for BaseTransform {}
|
unsafe impl Sync for BaseTransform {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait BaseTransformExt: IsA<BaseTransform> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::BaseTransform>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait BaseTransformExt: IsA<BaseTransform> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_base_transform_get_buffer_pool")]
|
#[doc(alias = "gst_base_transform_get_buffer_pool")]
|
||||||
#[doc(alias = "get_buffer_pool")]
|
#[doc(alias = "get_buffer_pool")]
|
||||||
fn buffer_pool(&self) -> Option<gst::BufferPool> {
|
fn buffer_pool(&self) -> Option<gst::BufferPool> {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -50,12 +50,7 @@ impl ARGBControlBinding {
|
||||||
unsafe impl Send for ARGBControlBinding {}
|
unsafe impl Send for ARGBControlBinding {}
|
||||||
unsafe impl Sync for ARGBControlBinding {}
|
unsafe impl Sync for ARGBControlBinding {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::ARGBControlBinding>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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> {
|
||||||
ObjectExt::property(self.as_ref(), "control-source-a")
|
ObjectExt::property(self.as_ref(), "control-source-a")
|
||||||
|
|
|
@ -61,12 +61,7 @@ impl DirectControlBinding {
|
||||||
unsafe impl Send for DirectControlBinding {}
|
unsafe impl Send for DirectControlBinding {}
|
||||||
unsafe impl Sync for DirectControlBinding {}
|
unsafe impl Sync for DirectControlBinding {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait DirectControlBindingExt: IsA<DirectControlBinding> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::DirectControlBinding>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait DirectControlBindingExt: IsA<DirectControlBinding> + sealed::Sealed + 'static {
|
|
||||||
fn is_absolute(&self) -> bool {
|
fn is_absolute(&self) -> bool {
|
||||||
ObjectExt::property(self.as_ref(), "absolute")
|
ObjectExt::property(self.as_ref(), "absolute")
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,14 +42,7 @@ impl Default for InterpolationControlSource {
|
||||||
unsafe impl Send for InterpolationControlSource {}
|
unsafe impl Send for InterpolationControlSource {}
|
||||||
unsafe impl Sync for InterpolationControlSource {}
|
unsafe impl Sync for InterpolationControlSource {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait InterpolationControlSourceExt: IsA<InterpolationControlSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::InterpolationControlSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait InterpolationControlSourceExt:
|
|
||||||
IsA<InterpolationControlSource> + sealed::Sealed + 'static
|
|
||||||
{
|
|
||||||
fn mode(&self) -> InterpolationMode {
|
fn mode(&self) -> InterpolationMode {
|
||||||
ObjectExt::property(self.as_ref(), "mode")
|
ObjectExt::property(self.as_ref(), "mode")
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,12 +41,7 @@ impl Default for LFOControlSource {
|
||||||
unsafe impl Send for LFOControlSource {}
|
unsafe impl Send for LFOControlSource {}
|
||||||
unsafe impl Sync for LFOControlSource {}
|
unsafe impl Sync for LFOControlSource {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait LFOControlSourceExt: IsA<LFOControlSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::LFOControlSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static {
|
|
||||||
fn amplitude(&self) -> f64 {
|
fn amplitude(&self) -> f64 {
|
||||||
ObjectExt::property(self.as_ref(), "amplitude")
|
ObjectExt::property(self.as_ref(), "amplitude")
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,14 +27,7 @@ impl TimedValueControlSource {
|
||||||
unsafe impl Send for TimedValueControlSource {}
|
unsafe impl Send for TimedValueControlSource {}
|
||||||
unsafe impl Sync for TimedValueControlSource {}
|
unsafe impl Sync for TimedValueControlSource {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TimedValueControlSourceExt: IsA<TimedValueControlSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TimedValueControlSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TimedValueControlSourceExt:
|
|
||||||
IsA<TimedValueControlSource> + sealed::Sealed + 'static
|
|
||||||
{
|
|
||||||
//#[doc(alias = "gst_timed_value_control_source_find_control_point_iter")]
|
//#[doc(alias = "gst_timed_value_control_source_find_control_point_iter")]
|
||||||
//fn find_control_point_iter(&self, timestamp: impl Into<Option<gst::ClockTime>>) -> /*Ignored*/Option<glib::SequenceIter> {
|
//fn find_control_point_iter(&self, timestamp: impl Into<Option<gst::ClockTime>>) -> /*Ignored*/Option<glib::SequenceIter> {
|
||||||
// unsafe { TODO: call ffi:gst_timed_value_control_source_find_control_point_iter() }
|
// unsafe { TODO: call ffi:gst_timed_value_control_source_find_control_point_iter() }
|
||||||
|
|
|
@ -41,12 +41,7 @@ impl Default for TriggerControlSource {
|
||||||
unsafe impl Send for TriggerControlSource {}
|
unsafe impl Send for TriggerControlSource {}
|
||||||
unsafe impl Sync for TriggerControlSource {}
|
unsafe impl Sync for TriggerControlSource {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TriggerControlSourceExt: IsA<TriggerControlSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TriggerControlSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TriggerControlSourceExt: IsA<TriggerControlSource> + sealed::Sealed + 'static {
|
|
||||||
fn tolerance(&self) -> i64 {
|
fn tolerance(&self) -> i64 {
|
||||||
ObjectExt::property(self.as_ref(), "tolerance")
|
ObjectExt::property(self.as_ref(), "tolerance")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -129,12 +129,7 @@ impl Asset {
|
||||||
unsafe impl Send for Asset {}
|
unsafe impl Send for Asset {}
|
||||||
unsafe impl Sync for Asset {}
|
unsafe impl Sync for Asset {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AssetExt: IsA<Asset> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Asset>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AssetExt: IsA<Asset> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_asset_extract")]
|
#[doc(alias = "ges_asset_extract")]
|
||||||
fn extract(&self) -> Result<Extractable, glib::Error> {
|
fn extract(&self) -> Result<Extractable, glib::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -19,12 +19,7 @@ impl AudioTestSource {
|
||||||
pub const NONE: Option<&'static AudioTestSource> = None;
|
pub const NONE: Option<&'static AudioTestSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioTestSourceExt: IsA<AudioTestSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioTestSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioTestSourceExt: IsA<AudioTestSource> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_audio_test_source_get_freq")]
|
#[doc(alias = "ges_audio_test_source_get_freq")]
|
||||||
#[doc(alias = "get_freq")]
|
#[doc(alias = "get_freq")]
|
||||||
fn freq(&self) -> f64 {
|
fn freq(&self) -> f64 {
|
||||||
|
|
|
@ -19,12 +19,7 @@ impl AudioUriSource {
|
||||||
pub const NONE: Option<&'static AudioUriSource> = None;
|
pub const NONE: Option<&'static AudioUriSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioUriSourceExt: IsA<AudioUriSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioUriSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait AudioUriSourceExt: IsA<AudioUriSource> + sealed::Sealed + 'static {
|
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl BaseEffect {
|
||||||
pub const NONE: Option<&'static BaseEffect> = None;
|
pub const NONE: Option<&'static BaseEffect> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait BaseEffectExt: IsA<BaseEffect> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::BaseEffect>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait BaseEffectExt: IsA<BaseEffect> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "ges_base_effect_is_time_effect")]
|
#[doc(alias = "ges_base_effect_is_time_effect")]
|
||||||
|
|
|
@ -30,12 +30,7 @@ impl Clip {
|
||||||
pub const NONE: Option<&'static Clip> = None;
|
pub const NONE: Option<&'static Clip> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait ClipExt: IsA<Clip> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Clip>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait ClipExt: IsA<Clip> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_clip_add_asset")]
|
#[doc(alias = "ges_clip_add_asset")]
|
||||||
fn add_asset(&self, asset: &impl IsA<Asset>) -> Result<TrackElement, glib::BoolError> {
|
fn add_asset(&self, asset: &impl IsA<Asset>) -> Result<TrackElement, glib::BoolError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -30,12 +30,7 @@ impl ClipAsset {
|
||||||
unsafe impl Send for ClipAsset {}
|
unsafe impl Send for ClipAsset {}
|
||||||
unsafe impl Sync for ClipAsset {}
|
unsafe impl Sync for ClipAsset {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait ClipAssetExt: IsA<ClipAsset> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::ClipAsset>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait ClipAssetExt: IsA<ClipAsset> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "ges_clip_asset_get_frame_time")]
|
#[doc(alias = "ges_clip_asset_get_frame_time")]
|
||||||
|
|
|
@ -31,12 +31,7 @@ impl Container {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GESContainerExt: IsA<Container> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Container>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GESContainerExt: IsA<Container> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_container_add")]
|
#[doc(alias = "ges_container_add")]
|
||||||
fn add(&self, child: &impl IsA<TimelineElement>) -> Result<(), glib::error::BoolError> {
|
fn add(&self, child: &impl IsA<TimelineElement>) -> Result<(), glib::error::BoolError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -30,12 +30,7 @@ impl Effect {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait EffectExt: IsA<Effect> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Effect>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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> {
|
||||||
ObjectExt::property(self.as_ref(), "bin-description")
|
ObjectExt::property(self.as_ref(), "bin-description")
|
||||||
|
|
|
@ -36,12 +36,7 @@ impl EffectClip {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait EffectClipExt: IsA<EffectClip> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::EffectClip>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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> {
|
||||||
ObjectExt::property(self.as_ref(), "audio-bin-description")
|
ObjectExt::property(self.as_ref(), "audio-bin-description")
|
||||||
|
|
|
@ -19,12 +19,7 @@ impl Extractable {
|
||||||
pub const NONE: Option<&'static Extractable> = None;
|
pub const NONE: Option<&'static Extractable> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait ExtractableExt: IsA<Extractable> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Extractable>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait ExtractableExt: IsA<Extractable> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_extractable_get_asset")]
|
#[doc(alias = "ges_extractable_get_asset")]
|
||||||
#[doc(alias = "get_asset")]
|
#[doc(alias = "get_asset")]
|
||||||
fn asset(&self) -> Option<Asset> {
|
fn asset(&self) -> Option<Asset> {
|
||||||
|
|
|
@ -58,12 +58,7 @@ impl Formatter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait FormatterExt: IsA<Formatter> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Formatter>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait FormatterExt: IsA<Formatter> + sealed::Sealed + 'static {
|
|
||||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
#[doc(alias = "ges_formatter_load_from_uri")]
|
#[doc(alias = "ges_formatter_load_from_uri")]
|
||||||
|
|
|
@ -19,12 +19,7 @@ impl ImageSource {
|
||||||
pub const NONE: Option<&'static ImageSource> = None;
|
pub const NONE: Option<&'static ImageSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait ImageSourceExt: IsA<ImageSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::ImageSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait ImageSourceExt: IsA<ImageSource> + sealed::Sealed + 'static {
|
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,12 +40,7 @@ impl Default for Layer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait LayerExt: IsA<Layer> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Layer>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait LayerExt: IsA<Layer> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_layer_add_asset")]
|
#[doc(alias = "ges_layer_add_asset")]
|
||||||
fn add_asset(
|
fn add_asset(
|
||||||
&self,
|
&self,
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl MetaContainer {
|
||||||
pub const NONE: Option<&'static MetaContainer> = None;
|
pub const NONE: Option<&'static MetaContainer> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait MetaContainerExt: IsA<MetaContainer> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::MetaContainer>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait MetaContainerExt: IsA<MetaContainer> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_meta_container_add_metas_from_string")]
|
#[doc(alias = "ges_meta_container_add_metas_from_string")]
|
||||||
fn add_metas_from_string(&self, str: &str) -> bool {
|
fn add_metas_from_string(&self, str: &str) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -25,12 +25,7 @@ impl MultiFileSource {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait MultiFileSourceExt: IsA<MultiFileSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::MultiFileSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait MultiFileSourceExt: IsA<MultiFileSource> + sealed::Sealed + 'static {
|
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
ObjectExt::property(self.as_ref(), "uri")
|
ObjectExt::property(self.as_ref(), "uri")
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,12 +36,7 @@ impl Default for Pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GESPipelineExt: IsA<Pipeline> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Pipeline>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_pipeline_get_mode")]
|
#[doc(alias = "ges_pipeline_get_mode")]
|
||||||
#[doc(alias = "get_mode")]
|
#[doc(alias = "get_mode")]
|
||||||
fn mode(&self) -> PipelineFlags {
|
fn mode(&self) -> PipelineFlags {
|
||||||
|
|
|
@ -33,12 +33,7 @@ impl Project {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait ProjectExt: IsA<Project> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Project>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_project_add_asset")]
|
#[doc(alias = "ges_project_add_asset")]
|
||||||
fn add_asset(&self, asset: &impl IsA<Asset>) -> bool {
|
fn add_asset(&self, asset: &impl IsA<Asset>) -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -39,12 +39,7 @@ impl TestClip {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TestClipExt: IsA<TestClip> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TestClip>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TestClipExt: IsA<TestClip> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_test_clip_get_frequency")]
|
#[doc(alias = "ges_test_clip_get_frequency")]
|
||||||
#[doc(alias = "get_frequency")]
|
#[doc(alias = "get_frequency")]
|
||||||
fn frequency(&self) -> f64 {
|
fn frequency(&self) -> f64 {
|
||||||
|
|
|
@ -31,12 +31,7 @@ impl TextOverlay {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TextOverlayExt: IsA<TextOverlay> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TextOverlay>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TextOverlayExt: IsA<TextOverlay> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_text_overlay_get_color")]
|
#[doc(alias = "ges_text_overlay_get_color")]
|
||||||
#[doc(alias = "get_color")]
|
#[doc(alias = "get_color")]
|
||||||
fn color(&self) -> u32 {
|
fn color(&self) -> u32 {
|
||||||
|
|
|
@ -33,12 +33,7 @@ impl TextOverlayClip {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TextOverlayClipExt: IsA<TextOverlayClip> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TextOverlayClip>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_text_overlay_clip_get_color")]
|
#[doc(alias = "ges_text_overlay_clip_get_color")]
|
||||||
#[doc(alias = "get_color")]
|
#[doc(alias = "get_color")]
|
||||||
fn color(&self) -> u32 {
|
fn color(&self) -> u32 {
|
||||||
|
|
|
@ -63,12 +63,7 @@ impl Default for Timeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TimelineExt: IsA<Timeline> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Timeline>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|
||||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
#[doc(alias = "ges_timeline_add_layer")]
|
#[doc(alias = "ges_timeline_add_layer")]
|
||||||
|
|
|
@ -28,12 +28,7 @@ impl TimelineElement {
|
||||||
pub const NONE: Option<&'static TimelineElement> = None;
|
pub const NONE: Option<&'static TimelineElement> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TimelineElementExt: IsA<TimelineElement> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TimelineElement>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TimelineElementExt: IsA<TimelineElement> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_timeline_element_add_child_property")]
|
#[doc(alias = "ges_timeline_element_add_child_property")]
|
||||||
fn add_child_property(
|
fn add_child_property(
|
||||||
&self,
|
&self,
|
||||||
|
|
|
@ -23,12 +23,7 @@ impl TitleSource {
|
||||||
pub const NONE: Option<&'static TitleSource> = None;
|
pub const NONE: Option<&'static TitleSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TitleSourceExt: IsA<TitleSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TitleSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TitleSourceExt: IsA<TitleSource> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_title_source_get_background_color")]
|
#[doc(alias = "ges_title_source_get_background_color")]
|
||||||
#[doc(alias = "get_background_color")]
|
#[doc(alias = "get_background_color")]
|
||||||
fn background_color(&self) -> u32 {
|
fn background_color(&self) -> u32 {
|
||||||
|
|
|
@ -30,12 +30,7 @@ impl Track {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GESTrackExt: IsA<Track> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::Track>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GESTrackExt: IsA<Track> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_track_add_element")]
|
#[doc(alias = "ges_track_add_element")]
|
||||||
fn add_element(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::error::BoolError> {
|
fn add_element(&self, object: &impl IsA<TrackElement>) -> Result<(), glib::error::BoolError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl TrackElement {
|
||||||
pub const NONE: Option<&'static TrackElement> = None;
|
pub const NONE: Option<&'static TrackElement> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TrackElementExt: IsA<TrackElement> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TrackElement>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TrackElementExt: IsA<TrackElement> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_track_element_add_children_props")]
|
#[doc(alias = "ges_track_element_add_children_props")]
|
||||||
fn add_children_props(
|
fn add_children_props(
|
||||||
&self,
|
&self,
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl TrackElementAsset {
|
||||||
unsafe impl Send for TrackElementAsset {}
|
unsafe impl Send for TrackElementAsset {}
|
||||||
unsafe impl Sync for TrackElementAsset {}
|
unsafe impl Sync for TrackElementAsset {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TrackElementAssetExt: IsA<TrackElementAsset> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TrackElementAsset>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TrackElementAssetExt: IsA<TrackElementAsset> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "ges_track_element_asset_get_natural_framerate")]
|
#[doc(alias = "ges_track_element_asset_get_natural_framerate")]
|
||||||
|
|
|
@ -40,12 +40,7 @@ impl TransitionClip {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait TransitionClipExt: IsA<TransitionClip> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::TransitionClip>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait TransitionClipExt: IsA<TransitionClip> + sealed::Sealed + 'static {
|
|
||||||
fn vtype(&self) -> VideoStandardTransitionType {
|
fn vtype(&self) -> VideoStandardTransitionType {
|
||||||
ObjectExt::property(self.as_ref(), "vtype")
|
ObjectExt::property(self.as_ref(), "vtype")
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,12 +33,7 @@ impl UriClip {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait UriClipExt: IsA<UriClip> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::UriClip>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait UriClipExt: IsA<UriClip> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_uri_clip_get_uri")]
|
#[doc(alias = "ges_uri_clip_get_uri")]
|
||||||
#[doc(alias = "get_uri")]
|
#[doc(alias = "get_uri")]
|
||||||
fn uri(&self) -> glib::GString {
|
fn uri(&self) -> glib::GString {
|
||||||
|
|
|
@ -63,12 +63,7 @@ impl UriClipAsset {
|
||||||
unsafe impl Send for UriClipAsset {}
|
unsafe impl Send for UriClipAsset {}
|
||||||
unsafe impl Sync for UriClipAsset {}
|
unsafe impl Sync for UriClipAsset {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait UriClipAssetExt: IsA<UriClipAsset> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::UriClipAsset>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait UriClipAssetExt: IsA<UriClipAsset> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_uri_clip_asset_get_duration")]
|
#[doc(alias = "ges_uri_clip_asset_get_duration")]
|
||||||
#[doc(alias = "get_duration")]
|
#[doc(alias = "get_duration")]
|
||||||
fn duration(&self) -> Option<gst::ClockTime> {
|
fn duration(&self) -> Option<gst::ClockTime> {
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl UriSourceAsset {
|
||||||
unsafe impl Send for UriSourceAsset {}
|
unsafe impl Send for UriSourceAsset {}
|
||||||
unsafe impl Sync for UriSourceAsset {}
|
unsafe impl Sync for UriSourceAsset {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait UriSourceAssetExt: IsA<UriSourceAsset> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::UriSourceAsset>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait UriSourceAssetExt: IsA<UriSourceAsset> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_uri_source_asset_get_filesource_asset")]
|
#[doc(alias = "ges_uri_source_asset_get_filesource_asset")]
|
||||||
#[doc(alias = "get_filesource_asset")]
|
#[doc(alias = "get_filesource_asset")]
|
||||||
fn filesource_asset(&self) -> UriClipAsset {
|
fn filesource_asset(&self) -> UriClipAsset {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl VideoSource {
|
||||||
pub const NONE: Option<&'static VideoSource> = None;
|
pub const NONE: Option<&'static VideoSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait VideoSourceExt: IsA<VideoSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::VideoSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait VideoSourceExt: IsA<VideoSource> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "ges_video_source_get_natural_size")]
|
#[doc(alias = "ges_video_source_get_natural_size")]
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl VideoTestSource {
|
||||||
pub const NONE: Option<&'static VideoTestSource> = None;
|
pub const NONE: Option<&'static VideoTestSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait VideoTestSourceExt: IsA<VideoTestSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::VideoTestSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait VideoTestSourceExt: IsA<VideoTestSource> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "ges_video_test_source_get_pattern")]
|
#[doc(alias = "ges_video_test_source_get_pattern")]
|
||||||
#[doc(alias = "get_pattern")]
|
#[doc(alias = "get_pattern")]
|
||||||
fn pattern(&self) -> VideoTestPattern {
|
fn pattern(&self) -> VideoTestPattern {
|
||||||
|
|
|
@ -40,12 +40,7 @@ impl Default for VideoTransition {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait VideoTransitionExt: IsA<VideoTransition> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::VideoTransition>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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")]
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
#[doc(alias = "ges_video_transition_get_border")]
|
#[doc(alias = "ges_video_transition_get_border")]
|
||||||
|
|
|
@ -19,12 +19,7 @@ impl VideoUriSource {
|
||||||
pub const NONE: Option<&'static VideoUriSource> = None;
|
pub const NONE: Option<&'static VideoUriSource> = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
mod sealed {
|
pub trait VideoUriSourceExt: IsA<VideoUriSource> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::VideoUriSource>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait VideoUriSourceExt: IsA<VideoUriSource> + sealed::Sealed + 'static {
|
|
||||||
fn uri(&self) -> Option<glib::GString> {
|
fn uri(&self) -> Option<glib::GString> {
|
||||||
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 @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl GLBaseFilter {
|
||||||
unsafe impl Send for GLBaseFilter {}
|
unsafe impl Send for GLBaseFilter {}
|
||||||
unsafe impl Sync for GLBaseFilter {}
|
unsafe impl Sync for GLBaseFilter {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLBaseFilterExt: IsA<GLBaseFilter> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLBaseFilter>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLBaseFilterExt: IsA<GLBaseFilter> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "gst_gl_base_filter_find_gl_context")]
|
#[doc(alias = "gst_gl_base_filter_find_gl_context")]
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl GLBaseSrc {
|
||||||
unsafe impl Send for GLBaseSrc {}
|
unsafe impl Send for GLBaseSrc {}
|
||||||
unsafe impl Sync for GLBaseSrc {}
|
unsafe impl Sync for GLBaseSrc {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLBaseSrcExt: IsA<GLBaseSrc> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLBaseSrc>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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 {
|
||||||
ObjectExt::property(self.as_ref(), "timestamp-offset")
|
ObjectExt::property(self.as_ref(), "timestamp-offset")
|
||||||
|
|
|
@ -36,12 +36,7 @@ impl GLBufferPool {
|
||||||
unsafe impl Send for GLBufferPool {}
|
unsafe impl Send for GLBufferPool {}
|
||||||
unsafe impl Sync for GLBufferPool {}
|
unsafe impl Sync for GLBufferPool {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLBufferPoolExt: IsA<GLBufferPool> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLBufferPool>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLBufferPoolExt: IsA<GLBufferPool> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "gst_gl_buffer_pool_get_gl_allocation_params")]
|
#[doc(alias = "gst_gl_buffer_pool_get_gl_allocation_params")]
|
||||||
|
|
|
@ -51,12 +51,7 @@ impl GLContext {
|
||||||
unsafe impl Send for GLContext {}
|
unsafe impl Send for GLContext {}
|
||||||
unsafe impl Sync for GLContext {}
|
unsafe impl Sync for GLContext {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLContextExt: IsA<GLContext> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLContext>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLContextExt: IsA<GLContext> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_gl_context_activate")]
|
#[doc(alias = "gst_gl_context_activate")]
|
||||||
fn activate(&self, activate: bool) -> Result<(), glib::error::BoolError> {
|
fn activate(&self, activate: bool) -> Result<(), glib::error::BoolError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -48,12 +48,7 @@ impl Default for GLDisplay {
|
||||||
unsafe impl Send for GLDisplay {}
|
unsafe impl Send for GLDisplay {}
|
||||||
unsafe impl Sync for GLDisplay {}
|
unsafe impl Sync for GLDisplay {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLDisplayExt: IsA<GLDisplay> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLDisplay>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLDisplayExt: IsA<GLDisplay> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_gl_display_create_window")]
|
#[doc(alias = "gst_gl_display_create_window")]
|
||||||
fn create_window(&self) -> Result<GLWindow, glib::BoolError> {
|
fn create_window(&self) -> Result<GLWindow, glib::BoolError> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl GLFilter {
|
||||||
unsafe impl Send for GLFilter {}
|
unsafe impl Send for GLFilter {}
|
||||||
unsafe impl Sync for GLFilter {}
|
unsafe impl Sync for GLFilter {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLFilterExt: IsA<GLFilter> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLFilter>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLFilterExt: IsA<GLFilter> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_gl_filter_draw_fullscreen_quad")]
|
#[doc(alias = "gst_gl_filter_draw_fullscreen_quad")]
|
||||||
fn draw_fullscreen_quad(&self) {
|
fn draw_fullscreen_quad(&self) {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
@ -49,12 +49,7 @@ impl GLFramebuffer {
|
||||||
unsafe impl Send for GLFramebuffer {}
|
unsafe impl Send for GLFramebuffer {}
|
||||||
unsafe impl Sync for GLFramebuffer {}
|
unsafe impl Sync for GLFramebuffer {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLFramebufferExt: IsA<GLFramebuffer> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLFramebuffer>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLFramebufferExt: IsA<GLFramebuffer> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_gl_framebuffer_attach")]
|
#[doc(alias = "gst_gl_framebuffer_attach")]
|
||||||
unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory) {
|
unsafe fn attach(&self, attachment_point: u32, mem: &mut GLBaseMemory) {
|
||||||
ffi::gst_gl_framebuffer_attach(
|
ffi::gst_gl_framebuffer_attach(
|
||||||
|
|
|
@ -33,12 +33,7 @@ impl GLWindow {
|
||||||
unsafe impl Send for GLWindow {}
|
unsafe impl Send for GLWindow {}
|
||||||
unsafe impl Sync for GLWindow {}
|
unsafe impl Sync for GLWindow {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait GLWindowExt: IsA<GLWindow> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::GLWindow>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait GLWindowExt: IsA<GLWindow> + sealed::Sealed + 'static {
|
|
||||||
#[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 = "gst_gl_window_controls_viewport")]
|
#[doc(alias = "gst_gl_window_controls_viewport")]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -27,12 +27,7 @@ impl AudioVisualizer {
|
||||||
unsafe impl Send for AudioVisualizer {}
|
unsafe impl Send for AudioVisualizer {}
|
||||||
unsafe impl Sync for AudioVisualizer {}
|
unsafe impl Sync for AudioVisualizer {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait AudioVisualizerExt: IsA<AudioVisualizer> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::AudioVisualizer>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
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 {
|
||||||
ObjectExt::property(self.as_ref(), "shade-amount")
|
ObjectExt::property(self.as_ref(), "shade-amount")
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl DiscovererStreamInfo {
|
||||||
unsafe impl Send for DiscovererStreamInfo {}
|
unsafe impl Send for DiscovererStreamInfo {}
|
||||||
unsafe impl Sync for DiscovererStreamInfo {}
|
unsafe impl Sync for DiscovererStreamInfo {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait DiscovererStreamInfoExt: IsA<DiscovererStreamInfo> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::DiscovererStreamInfo>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait DiscovererStreamInfoExt: IsA<DiscovererStreamInfo> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_discoverer_stream_info_get_caps")]
|
#[doc(alias = "gst_discoverer_stream_info_get_caps")]
|
||||||
#[doc(alias = "get_caps")]
|
#[doc(alias = "get_caps")]
|
||||||
fn caps(&self) -> Option<gst::Caps> {
|
fn caps(&self) -> Option<gst::Caps> {
|
||||||
|
|
|
@ -79,12 +79,7 @@ impl std::fmt::Display for EncodingProfile {
|
||||||
unsafe impl Send for EncodingProfile {}
|
unsafe impl Send for EncodingProfile {}
|
||||||
unsafe impl Sync for EncodingProfile {}
|
unsafe impl Sync for EncodingProfile {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait EncodingProfileExt: IsA<EncodingProfile> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::EncodingProfile>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait EncodingProfileExt: IsA<EncodingProfile> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_encoding_profile_copy")]
|
#[doc(alias = "gst_encoding_profile_copy")]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
fn copy(&self) -> EncodingProfile {
|
fn copy(&self) -> EncodingProfile {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -22,12 +22,7 @@ impl PlayStreamInfo {
|
||||||
unsafe impl Send for PlayStreamInfo {}
|
unsafe impl Send for PlayStreamInfo {}
|
||||||
unsafe impl Sync for PlayStreamInfo {}
|
unsafe impl Sync for PlayStreamInfo {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait PlayStreamInfoExt: IsA<PlayStreamInfo> + 'static {
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::PlayStreamInfo>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait PlayStreamInfoExt: IsA<PlayStreamInfo> + sealed::Sealed + 'static {
|
|
||||||
#[doc(alias = "gst_play_stream_info_get_caps")]
|
#[doc(alias = "gst_play_stream_info_get_caps")]
|
||||||
#[doc(alias = "get_caps")]
|
#[doc(alias = "get_caps")]
|
||||||
fn caps(&self) -> Option<gst::Caps> {
|
fn caps(&self) -> Option<gst::Caps> {
|
||||||
|
|
|
@ -22,11 +22,6 @@ impl PlayVideoRenderer {
|
||||||
unsafe impl Send for PlayVideoRenderer {}
|
unsafe impl Send for PlayVideoRenderer {}
|
||||||
unsafe impl Sync for PlayVideoRenderer {}
|
unsafe impl Sync for PlayVideoRenderer {}
|
||||||
|
|
||||||
mod sealed {
|
pub trait PlayVideoRendererExt: IsA<PlayVideoRenderer> + 'static {}
|
||||||
pub trait Sealed {}
|
|
||||||
impl<T: super::IsA<super::PlayVideoRenderer>> Sealed for T {}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait PlayVideoRendererExt: IsA<PlayVideoRenderer> + sealed::Sealed + 'static {}
|
|
||||||
|
|
||||||
impl<O: IsA<PlayVideoRenderer>> PlayVideoRendererExt for O {}
|
impl<O: IsA<PlayVideoRenderer>> PlayVideoRendererExt for O {}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
|
Generated by gir (https://github.com/gtk-rs/gir @ 0a15f4e10c41)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
|
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue