mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
Regenerate with latest gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450>
This commit is contained in:
parent
9d3ec9da53
commit
10aff0d66e
336 changed files with 867 additions and 757 deletions
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::GStr;
|
||||
|
||||
#[doc(alias = "GST_ALLOCATOR_DMABUF")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::FdAllocator;
|
||||
use crate::{ffi, FdAllocator};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{bitflags::bitflags, translate::*};
|
||||
|
||||
bitflags! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::prelude::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::FdAllocator;
|
||||
use crate::{ffi, FdAllocator};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GstShmAllocator")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{bitflags::bitflags, translate::*};
|
||||
|
||||
bitflags! {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -233,7 +234,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::buffer-list\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_buffer_list_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -259,7 +260,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::caps\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_caps_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -285,7 +286,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::drop\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_drop_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -311,7 +312,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::eos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_eos_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -339,7 +340,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-buffers\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_buffers_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -369,7 +370,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-bytes\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_bytes_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -397,7 +398,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_time_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -425,7 +426,7 @@ impl AppSink {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::wait-on-eos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_wait_on_eos_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#[cfg(feature = "v1_20")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||
use crate::AppLeakyType;
|
||||
use crate::AppStreamType;
|
||||
use crate::{ffi, AppStreamType};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -297,7 +297,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::block\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_block_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -323,7 +323,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::caps\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_caps_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -353,7 +353,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::current-level-buffers\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_current_level_buffers_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -381,7 +381,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::current-level-bytes\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_current_level_bytes_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -411,7 +411,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::current-level-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_current_level_time_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -437,7 +437,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::duration\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_duration_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -463,7 +463,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::format\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_format_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -493,7 +493,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::handle-segment-change\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_handle_segment_change_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -519,7 +519,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::is-live\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_is_live_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -549,7 +549,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::leaky-type\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_leaky_type_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -579,7 +579,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-buffers\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_buffers_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -605,7 +605,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-bytes\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_bytes_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -633,7 +633,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-latency\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_latency_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -661,7 +661,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_time_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -689,7 +689,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::min-latency\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_min_latency_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -717,7 +717,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::min-percent\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_min_percent_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -743,7 +743,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::size\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_size_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -771,7 +771,7 @@ impl AppSrc {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::stream-type\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_stream_type_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
#[cfg(feature = "v1_20")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -87,7 +88,7 @@ pub trait AudioAggregatorExt: IsA<AudioAggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::alignment-threshold\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_alignment_threshold_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -116,7 +117,7 @@ pub trait AudioAggregatorExt: IsA<AudioAggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::discont-wait\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_discont_wait_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -145,7 +146,7 @@ pub trait AudioAggregatorExt: IsA<AudioAggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::output-buffer-duration\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_output_buffer_duration_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::AudioAggregatorPad;
|
||||
use crate::{ffi, AudioAggregatorPad};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -66,7 +66,7 @@ pub trait AudioAggregatorConvertPadExt:
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::converter-config\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_converter_config_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::prelude::*;
|
||||
#[cfg(feature = "v1_20")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||
|
@ -73,7 +74,7 @@ pub trait AudioAggregatorPadExt: IsA<AudioAggregatorPad> + sealed::Sealed + 'sta
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::qos-messages\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_qos_messages_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -189,7 +190,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::alignment-threshold\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_alignment_threshold_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -218,7 +219,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::buffer-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_buffer_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -247,7 +248,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::can-activate-pull\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_can_activate_pull_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -276,7 +277,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::discont-wait\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_discont_wait_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -305,7 +306,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::drift-tolerance\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_drift_tolerance_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -334,7 +335,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::latency-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_latency_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -363,7 +364,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::provide-clock\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_provide_clock_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -392,7 +393,7 @@ pub trait AudioBaseSinkExt: IsA<AudioBaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::slave-method\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_slave_method_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -119,7 +120,7 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::actual-buffer-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_actual_buffer_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -148,7 +149,7 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::actual-latency-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_actual_latency_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -177,7 +178,7 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::buffer-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_buffer_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -206,7 +207,7 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::latency-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_latency_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -235,7 +236,7 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::provide-clock\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_provide_clock_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -264,7 +265,7 @@ pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::slave-method\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_slave_method_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::AudioInfo;
|
||||
use crate::{ffi, AudioInfo};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -336,7 +336,7 @@ pub trait AudioDecoderExt: IsA<AudioDecoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-errors\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_errors_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -365,7 +365,7 @@ pub trait AudioDecoderExt: IsA<AudioDecoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::min-latency\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_min_latency_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -391,7 +391,7 @@ pub trait AudioDecoderExt: IsA<AudioDecoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::plc\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_plc_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -420,7 +420,7 @@ pub trait AudioDecoderExt: IsA<AudioDecoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::tolerance\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_tolerance_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::AudioInfo;
|
||||
use crate::{ffi, AudioInfo};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -323,7 +323,7 @@ pub trait AudioEncoderExt: IsA<AudioEncoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::hard-resync\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_hard_resync_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -352,7 +352,7 @@ pub trait AudioEncoderExt: IsA<AudioEncoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::mark-granule\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_mark_granule_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -381,7 +381,7 @@ pub trait AudioEncoderExt: IsA<AudioEncoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::perfect-timestamp\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_perfect_timestamp_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -410,7 +410,7 @@ pub trait AudioEncoderExt: IsA<AudioEncoder> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::tolerance\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_tolerance_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GstAudioFilter")]
|
||||
pub struct AudioFilter(Object<ffi::GstAudioFilter, ffi::GstAudioFilterClass>) @extends gst_base::BaseTransform, gst::Element, gst::Object;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::AudioBaseSink;
|
||||
use crate::{ffi, AudioBaseSink};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GstAudioSink")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::AudioBaseSrc;
|
||||
use crate::{ffi, AudioBaseSrc};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GstAudioSrc")]
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::translate::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{bitflags::bitflags, prelude::*, translate::*};
|
||||
|
||||
bitflags! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::StreamVolumeFormat;
|
||||
use crate::{ffi, StreamVolumeFormat};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -93,7 +93,7 @@ pub trait StreamVolumeExt: IsA<StreamVolume> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::mute\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_mute_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -119,7 +119,7 @@ pub trait StreamVolumeExt: IsA<StreamVolume> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::volume\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_volume_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::translate::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::{AggregatorPad, AggregatorStartTimeSelection};
|
||||
|
@ -245,7 +246,7 @@ pub trait AggregatorExt: IsA<Aggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::emit-signals\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_emit_signals_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -274,7 +275,7 @@ pub trait AggregatorExt: IsA<Aggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::latency\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_latency_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -303,7 +304,7 @@ pub trait AggregatorExt: IsA<Aggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::start-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_start_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -334,7 +335,7 @@ pub trait AggregatorExt: IsA<Aggregator> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::start-time-selection\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_start_time_selection_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -128,7 +129,7 @@ pub trait AggregatorPadExt: IsA<AggregatorPad> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"buffer-consumed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
buffer_consumed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -159,7 +160,7 @@ pub trait AggregatorPadExt: IsA<AggregatorPad> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::emit-signals\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_emit_signals_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -174,7 +175,7 @@ pub trait BaseParseExt: IsA<BaseParse> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::disable-passthrough\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_disable_passthrough_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -297,7 +298,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::async\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_async_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -326,7 +327,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::blocksize\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_blocksize_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -355,7 +356,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::enable-last-sample\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_enable_last_sample_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -384,7 +385,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::last-sample\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_last_sample_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -413,7 +414,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-bitrate\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_bitrate_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -442,7 +443,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-lateness\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_max_lateness_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -473,7 +474,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::processing-deadline\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_processing_deadline_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -499,7 +500,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::qos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_qos_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -528,7 +529,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::render-delay\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_render_delay_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -556,7 +557,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::stats\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_stats_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -582,7 +583,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::sync\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_sync_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -611,7 +612,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::throttle-time\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_throttle_time_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -640,7 +641,7 @@ pub trait BaseSinkExt: IsA<BaseSink> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::ts-offset\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_ts_offset_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -254,7 +255,7 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::automatic-eos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_automatic_eos_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -283,7 +284,7 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::blocksize\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_blocksize_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -312,7 +313,7 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::do-timestamp\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_do_timestamp_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -341,7 +342,7 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::num-buffers\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_num_buffers_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -370,7 +371,7 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::typefind\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_typefind_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -176,7 +177,7 @@ pub trait BaseTransformExt: IsA<BaseTransform> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::qos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_qos_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{bitflags::bitflags, translate::*};
|
||||
|
||||
bitflags! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
#[doc(alias = "gst_type_find_helper")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::BaseSrc;
|
||||
use crate::{ffi, BaseSrc};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GstPushSrc")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -119,7 +120,7 @@ impl TestClock {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::clock-type\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_clock_type_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -116,7 +117,7 @@ pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + sealed::Sealed + 'sta
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::control-source-a\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_control_source_a_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -145,7 +146,7 @@ pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + sealed::Sealed + 'sta
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::control-source-b\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_control_source_b_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -174,7 +175,7 @@ pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + sealed::Sealed + 'sta
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::control-source-g\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_control_source_g_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -203,7 +204,7 @@ pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + sealed::Sealed + 'sta
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::control-source-r\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_control_source_r_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -101,7 +102,7 @@ pub trait DirectControlBindingExt: IsA<DirectControlBinding> + sealed::Sealed +
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::control-source\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_control_source_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{InterpolationMode, TimedValueControlSource};
|
||||
use crate::{ffi, InterpolationMode, TimedValueControlSource};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -76,7 +76,7 @@ pub trait InterpolationControlSourceExt:
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::mode\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_mode_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::LFOWaveform;
|
||||
use crate::{ffi, LFOWaveform};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -108,7 +108,7 @@ pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::amplitude\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_amplitude_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -137,7 +137,7 @@ pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::frequency\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_frequency_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -163,7 +163,7 @@ pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::offset\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_offset_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -192,7 +192,7 @@ pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::timeshift\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_timeshift_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -221,7 +221,7 @@ pub trait LFOControlSourceExt: IsA<LFOControlSource> + sealed::Sealed + 'static
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::waveform\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_waveform_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ControlPoint;
|
||||
use crate::{ffi, ControlPoint};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -109,7 +109,7 @@ pub trait TimedValueControlSourceExt:
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"value-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
value_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -141,7 +141,7 @@ pub trait TimedValueControlSourceExt:
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"value-changed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
value_changed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -173,7 +173,7 @@ pub trait TimedValueControlSourceExt:
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"value-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
value_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::TimedValueControlSource;
|
||||
use crate::{ffi, TimedValueControlSource};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -76,7 +76,7 @@ pub trait TriggerControlSourceExt: IsA<TriggerControlSource> + sealed::Sealed +
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::tolerance\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_tolerance_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer};
|
||||
use crate::{ffi, Extractable, MetaContainer};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -241,7 +241,7 @@ pub trait AssetExt: IsA<Asset> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::proxy\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_proxy_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -270,7 +270,7 @@ pub trait AssetExt: IsA<Asset> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::proxy-target\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_proxy_target_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement};
|
||||
use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESAudioSource")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement};
|
||||
use crate::{ffi, AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{MetaContainer, Track};
|
||||
use crate::{ffi, MetaContainer, Track};
|
||||
use glib::translate::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::{Extractable, MetaContainer, Operation, TimelineElement, TrackElement, Transition};
|
||||
use crate::{
|
||||
ffi, Extractable, MetaContainer, Operation, TimelineElement, TrackElement, Transition,
|
||||
};
|
||||
use glib::translate::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement};
|
||||
use crate::{ffi, AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer, Operation, TimelineElement, TrackElement};
|
||||
use crate::{ffi, Extractable, MetaContainer, Operation, TimelineElement, TrackElement};
|
||||
use glib::prelude::*;
|
||||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement};
|
||||
use crate::{ffi, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESBaseEffectClip")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement};
|
||||
use crate::{ffi, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESBaseTransitionClip")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, Formatter};
|
||||
use crate::{ffi, Extractable, Formatter};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESBaseXmlFormatter")]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::FrameNumber;
|
||||
use crate::{
|
||||
Asset, BaseEffect, Container, Extractable, Layer, MetaContainer, TimelineElement, Track,
|
||||
ffi, Asset, BaseEffect, Container, Extractable, Layer, MetaContainer, TimelineElement, Track,
|
||||
TrackElement, TrackType,
|
||||
};
|
||||
use glib::{
|
||||
|
@ -426,7 +426,7 @@ pub trait ClipExt: IsA<Clip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::duration-limit\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_duration_limit_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -449,7 +449,7 @@ pub trait ClipExt: IsA<Clip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::layer\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_layer_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -475,7 +475,7 @@ pub trait ClipExt: IsA<Clip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::supported-formats\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_supported_formats_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::FrameNumber;
|
||||
use crate::{Asset, MetaContainer, TrackType};
|
||||
use crate::{ffi, Asset, MetaContainer, TrackType};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -111,7 +111,7 @@ pub trait ClipAssetExt: IsA<ClipAsset> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::supported-formats\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_supported_formats_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, Formatter, Timeline};
|
||||
use crate::{ffi, Extractable, Formatter, Timeline};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::{Edge, EditMode, Extractable, Layer, MetaContainer, TimelineElement};
|
||||
use crate::{ffi, Edge, EditMode, Extractable, Layer, MetaContainer, TimelineElement};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -138,7 +138,7 @@ pub trait GESContainerExt: IsA<Container> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"child-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
child_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -170,7 +170,7 @@ pub trait GESContainerExt: IsA<Container> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"child-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
child_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -193,7 +193,7 @@ pub trait GESContainerExt: IsA<Container> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::height\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_height_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -106,7 +107,7 @@ impl DiscovererManager {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"discovered\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
discovered_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -142,7 +143,7 @@ impl DiscovererManager {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"load-serialized-info\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
load_serialized_info_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -172,7 +173,7 @@ impl DiscovererManager {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"source-setup\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
source_setup_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -197,7 +198,7 @@ impl DiscovererManager {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::timeout\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_timeout_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -220,7 +221,7 @@ impl DiscovererManager {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::use-cache\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_use_cache_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{BaseEffect, Extractable, MetaContainer, Operation, TimelineElement, TrackElement};
|
||||
use crate::{
|
||||
ffi, BaseEffect, Extractable, MetaContainer, Operation, TimelineElement, TrackElement,
|
||||
};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Asset, MetaContainer, TrackElementAsset};
|
||||
use crate::{ffi, Asset, MetaContainer, TrackElementAsset};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESEffectAsset")]
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
// DO NOT EDIT
|
||||
|
||||
use crate::{
|
||||
BaseEffectClip, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement,
|
||||
ffi, BaseEffectClip, Clip, Container, Extractable, MetaContainer, OperationClip,
|
||||
TimelineElement,
|
||||
};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
#[cfg(feature = "v1_16")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||
use glib::GStr;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::Asset;
|
||||
use crate::{ffi, Asset};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::ffi;
|
||||
use glib::{bitflags::bitflags, prelude::*, translate::*, GStr};
|
||||
|
||||
#[cfg(feature = "v1_20")]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// DO NOT EDIT
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::{Asset, Extractable, Timeline};
|
||||
use crate::{ffi, Asset, Extractable, Timeline};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Container, Extractable, MetaContainer, TimelineElement};
|
||||
use crate::{ffi, Container, Extractable, MetaContainer, TimelineElement};
|
||||
use glib::translate::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource};
|
||||
use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::Track;
|
||||
use crate::{Asset, Clip, Extractable, MetaContainer, Timeline, TrackType};
|
||||
use crate::{ffi, Asset, Clip, Extractable, MetaContainer, Timeline, TrackType};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -286,7 +286,7 @@ pub trait LayerExt: IsA<Layer> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"clip-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
clip_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -312,7 +312,7 @@ pub trait LayerExt: IsA<Layer> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"clip-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
clip_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -338,7 +338,7 @@ pub trait LayerExt: IsA<Layer> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::auto-transition\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_auto_transition_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -362,7 +362,7 @@ pub trait LayerExt: IsA<Layer> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::priority\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_priority_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::MetaContainer;
|
||||
use crate::{ffi, MetaContainer};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -44,7 +44,7 @@ impl Marker {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::position\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_position_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::Marker;
|
||||
#[cfg(feature = "v1_20")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||
use crate::MarkerFlags;
|
||||
use crate::{ffi, Marker};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -110,7 +110,7 @@ impl MarkerList {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"marker-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
marker_added_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -147,7 +147,7 @@ impl MarkerList {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"marker-moved\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
marker_moved_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -172,7 +172,7 @@ impl MarkerList {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"marker-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
marker_removed_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -197,7 +197,7 @@ impl MarkerList {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::flags\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_flags_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::MarkerList;
|
||||
use crate::MetaFlag;
|
||||
use crate::{ffi, MetaFlag};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -620,7 +620,7 @@ pub trait MetaContainerExt: IsA<MetaContainer> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
signal_name.as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_meta_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource};
|
||||
use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer, TimelineElement, TrackElement};
|
||||
use crate::{ffi, Extractable, MetaContainer, TimelineElement, TrackElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESOperation")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Clip, Container, Extractable, MetaContainer, TimelineElement};
|
||||
use crate::{ffi, Clip, Container, Extractable, MetaContainer, TimelineElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESOperationClip")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement};
|
||||
use crate::{ffi, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESOverlayClip")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{PipelineFlags, Timeline};
|
||||
use crate::{ffi, PipelineFlags, Timeline};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -239,7 +239,7 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::audio-filter\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_audio_filter_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -262,7 +262,7 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::audio-sink\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_audio_sink_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -285,7 +285,7 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::mode\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_mode_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -308,7 +308,7 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::timeline\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_timeline_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -334,7 +334,7 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::video-filter\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_video_filter_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -357,7 +357,7 @@ pub trait GESPipelineExt: IsA<Pipeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::video-sink\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_video_sink_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::Formatter;
|
||||
use crate::{Asset, MetaContainer, Timeline};
|
||||
use crate::{ffi, Asset, MetaContainer, Timeline};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
signal::{connect_raw, SignalHandlerId},
|
||||
|
@ -236,7 +236,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"asset-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
asset_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -265,7 +265,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"asset-loading\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
asset_loading_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -294,7 +294,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"asset-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
asset_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -330,7 +330,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"error-loading\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
error_loading_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -368,7 +368,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"error-loading-asset\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
error_loading_asset_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -394,7 +394,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"loaded\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
loaded_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -422,7 +422,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"loading\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
loading_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -459,7 +459,7 @@ pub trait ProjectExt: IsA<Project> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"missing-uri\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
missing_uri_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Extractable, MetaContainer, TimelineElement, TrackElement};
|
||||
use crate::{ffi, Extractable, MetaContainer, TimelineElement, TrackElement};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESSource")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Clip, Container, Extractable, MetaContainer, TimelineElement};
|
||||
use crate::{ffi, Clip, Container, Extractable, MetaContainer, TimelineElement};
|
||||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use glib::translate::*;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
use crate::{Asset, ClipAsset, MetaContainer};
|
||||
use crate::{ffi, Asset, ClipAsset, MetaContainer};
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESSourceClipAsset")]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// DO NOT EDIT
|
||||
|
||||
use crate::{
|
||||
Clip, Container, Extractable, MetaContainer, SourceClip, TimelineElement, VideoTestPattern,
|
||||
ffi, Clip, Container, Extractable, MetaContainer, SourceClip, TimelineElement, VideoTestPattern,
|
||||
};
|
||||
use glib::{
|
||||
prelude::*,
|
||||
|
@ -123,7 +123,7 @@ pub trait TestClipExt: IsA<TestClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::freq\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_freq_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -146,7 +146,7 @@ pub trait TestClipExt: IsA<TestClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::mute\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_mute_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -169,7 +169,7 @@ pub trait TestClipExt: IsA<TestClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::volume\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_volume_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -192,7 +192,7 @@ pub trait TestClipExt: IsA<TestClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::vpattern\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_vpattern_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
#![allow(deprecated)]
|
||||
|
||||
use crate::{
|
||||
Extractable, MetaContainer, Operation, TextHAlign, TextVAlign, TimelineElement, TrackElement,
|
||||
ffi, Extractable, MetaContainer, Operation, TextHAlign, TextVAlign, TimelineElement,
|
||||
TrackElement,
|
||||
};
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// DO NOT EDIT
|
||||
|
||||
use crate::{
|
||||
Clip, Container, Extractable, MetaContainer, OperationClip, OverlayClip, TextHAlign,
|
||||
ffi, Clip, Container, Extractable, MetaContainer, OperationClip, OverlayClip, TextHAlign,
|
||||
TextVAlign, TimelineElement,
|
||||
};
|
||||
use glib::{
|
||||
|
@ -184,7 +184,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::color\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_color_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -210,7 +210,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::font-desc\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_font_desc_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -236,7 +236,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::halignment\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_halignment_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -262,7 +262,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::text\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_text_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -288,7 +288,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::valignment\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_valignment_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -314,7 +314,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::xpos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_xpos_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -340,7 +340,7 @@ pub trait TextOverlayClipExt: IsA<TextOverlayClip> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::ypos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_ypos_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#![allow(deprecated)]
|
||||
|
||||
use crate::{
|
||||
Asset, Extractable, Group, Layer, MetaContainer, TimelineElement, Track, TrackElement,
|
||||
ffi, Asset, Extractable, Group, Layer, MetaContainer, TimelineElement, Track, TrackElement,
|
||||
};
|
||||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
|
@ -435,7 +435,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"commited\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
commited_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -464,7 +464,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"group-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
group_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -498,7 +498,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"layer-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
layer_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -527,7 +527,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"layer-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
layer_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -566,7 +566,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"select-element-track\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
select_element_track_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -607,7 +607,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"snapping-ended\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
snapping_ended_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -643,7 +643,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"snapping-started\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
snapping_started_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -672,7 +672,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"track-added\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
track_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -701,7 +701,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"track-removed\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
track_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -727,7 +727,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::auto-transition\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_auto_transition_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -750,7 +750,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::duration\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_duration_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
@ -776,7 +776,7 @@ pub trait TimelineExt: IsA<Timeline> + sealed::Sealed + 'static {
|
|||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::snapping-distance\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
|
||||
notify_snapping_distance_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue