forked from mirrors/gstreamer-rs
Regenerate with latest GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1266>
This commit is contained in:
parent
4d7809424f
commit
6ab34e1656
66 changed files with 497 additions and 53 deletions
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -700,6 +700,28 @@ pub struct _GESContainerPrivate {
|
||||||
|
|
||||||
pub type GESContainerPrivate = *mut _GESContainerPrivate;
|
pub type GESContainerPrivate = *mut _GESContainerPrivate;
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GESDiscovererManagerClass {
|
||||||
|
pub parent_class: gobject::GObjectClass,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GESDiscovererManagerClass {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GESDiscovererManagerClass @ {self:p}"))
|
||||||
|
.field("parent_class", &self.parent_class)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct _GESDiscovererManagerPrivate {
|
||||||
|
_data: [u8; 0],
|
||||||
|
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub type GESDiscovererManagerPrivate = *mut _GESDiscovererManagerPrivate;
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GESEffectAssetClass {
|
pub struct GESEffectAssetClass {
|
||||||
|
@ -2100,6 +2122,19 @@ impl ::std::fmt::Debug for GESContainer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GESDiscovererManager {
|
||||||
|
_data: [u8; 0],
|
||||||
|
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GESDiscovererManager {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GESDiscovererManager @ {self:p}"))
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GESEffect {
|
pub struct GESEffect {
|
||||||
|
@ -3150,6 +3185,36 @@ extern "C" {
|
||||||
recursive: gboolean,
|
recursive: gboolean,
|
||||||
) -> *mut glib::GList;
|
) -> *mut glib::GList;
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GESDiscovererManager
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn ges_discoverer_manager_get_type() -> GType;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn ges_discoverer_manager_get_default() -> *mut GESDiscovererManager;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn ges_discoverer_manager_get_timeout(
|
||||||
|
self_: *mut GESDiscovererManager,
|
||||||
|
) -> gst::GstClockTime;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn ges_discoverer_manager_get_use_cache(self_: *mut GESDiscovererManager) -> gboolean;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn ges_discoverer_manager_set_timeout(
|
||||||
|
self_: *mut GESDiscovererManager,
|
||||||
|
timeout: gst::GstClockTime,
|
||||||
|
);
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn ges_discoverer_manager_set_use_cache(
|
||||||
|
self_: *mut GESDiscovererManager,
|
||||||
|
use_cache: gboolean,
|
||||||
|
);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GESEffect
|
// GESEffect
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
|
@ -408,6 +408,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
alignment: align_of::<GESContainerClass>(),
|
alignment: align_of::<GESContainerClass>(),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"GESDiscovererManagerClass",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GESDiscovererManagerClass>(),
|
||||||
|
alignment: align_of::<GESDiscovererManagerClass>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"GESEdge",
|
"GESEdge",
|
||||||
Layout {
|
Layout {
|
||||||
|
|
|
@ -38,6 +38,7 @@ int main() {
|
||||||
printf("%s;%zu;%zu\n", "GESCommandLineFormatterClass", sizeof(GESCommandLineFormatterClass), alignof(GESCommandLineFormatterClass));
|
printf("%s;%zu;%zu\n", "GESCommandLineFormatterClass", sizeof(GESCommandLineFormatterClass), alignof(GESCommandLineFormatterClass));
|
||||||
printf("%s;%zu;%zu\n", "GESContainer", sizeof(GESContainer), alignof(GESContainer));
|
printf("%s;%zu;%zu\n", "GESContainer", sizeof(GESContainer), alignof(GESContainer));
|
||||||
printf("%s;%zu;%zu\n", "GESContainerClass", sizeof(GESContainerClass), alignof(GESContainerClass));
|
printf("%s;%zu;%zu\n", "GESContainerClass", sizeof(GESContainerClass), alignof(GESContainerClass));
|
||||||
|
printf("%s;%zu;%zu\n", "GESDiscovererManagerClass", sizeof(GESDiscovererManagerClass), alignof(GESDiscovererManagerClass));
|
||||||
printf("%s;%zu;%zu\n", "GESEdge", sizeof(GESEdge), alignof(GESEdge));
|
printf("%s;%zu;%zu\n", "GESEdge", sizeof(GESEdge), alignof(GESEdge));
|
||||||
printf("%s;%zu;%zu\n", "GESEditMode", sizeof(GESEditMode), alignof(GESEditMode));
|
printf("%s;%zu;%zu\n", "GESEditMode", sizeof(GESEditMode), alignof(GESEditMode));
|
||||||
printf("%s;%zu;%zu\n", "GESEffect", sizeof(GESEffect), alignof(GESEffect));
|
printf("%s;%zu;%zu\n", "GESEffect", sizeof(GESEffect), alignof(GESEffect));
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -402,6 +402,50 @@ impl ::std::fmt::Debug for GstGLBaseMemoryAllocatorClass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLBaseMixerClass {
|
||||||
|
pub parent_class: gst_video::GstVideoAggregatorClass,
|
||||||
|
pub supported_gl_api: GstGLAPI,
|
||||||
|
pub gl_start: Option<unsafe extern "C" fn(*mut GstGLBaseMixer) -> gboolean>,
|
||||||
|
pub gl_stop: Option<unsafe extern "C" fn(*mut GstGLBaseMixer)>,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLBaseMixerClass {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLBaseMixerClass @ {self:p}"))
|
||||||
|
.field("parent_class", &self.parent_class)
|
||||||
|
.field("supported_gl_api", &self.supported_gl_api)
|
||||||
|
.field("gl_start", &self.gl_start)
|
||||||
|
.field("gl_stop", &self.gl_stop)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLBaseMixerPadClass {
|
||||||
|
pub parent_class: gst_video::GstVideoAggregatorPadClass,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLBaseMixerPadClass {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLBaseMixerPadClass @ {self:p}"))
|
||||||
|
.field("parent_class", &self.parent_class)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct _GstGLBaseMixerPrivate {
|
||||||
|
_data: [u8; 0],
|
||||||
|
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub type GstGLBaseMixerPrivate = *mut _GstGLBaseMixerPrivate;
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstGLBaseSrcClass {
|
pub struct GstGLBaseSrcClass {
|
||||||
|
@ -778,6 +822,50 @@ impl ::std::fmt::Debug for GstGLMemoryPBOAllocatorClass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLMixerClass {
|
||||||
|
pub parent_class: GstGLBaseMixerClass,
|
||||||
|
pub process_buffers:
|
||||||
|
Option<unsafe extern "C" fn(*mut GstGLMixer, *mut gst::GstBuffer) -> gboolean>,
|
||||||
|
pub process_textures:
|
||||||
|
Option<unsafe extern "C" fn(*mut GstGLMixer, *mut GstGLMemory) -> gboolean>,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLMixerClass {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLMixerClass @ {self:p}"))
|
||||||
|
.field("parent_class", &self.parent_class)
|
||||||
|
.field("process_buffers", &self.process_buffers)
|
||||||
|
.field("process_textures", &self.process_textures)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLMixerPadClass {
|
||||||
|
pub parent_class: GstGLBaseMixerPadClass,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLMixerPadClass {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLMixerPadClass @ {self:p}"))
|
||||||
|
.field("parent_class", &self.parent_class)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct _GstGLMixerPrivate {
|
||||||
|
_data: [u8; 0],
|
||||||
|
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub type GstGLMixerPrivate = *mut _GstGLMixerPrivate;
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstGLOverlayCompositorClass {
|
pub struct GstGLOverlayCompositorClass {
|
||||||
|
@ -1126,6 +1214,41 @@ impl ::std::fmt::Debug for GstGLBaseMemoryAllocator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLBaseMixer {
|
||||||
|
pub parent: gst_video::GstVideoAggregator,
|
||||||
|
pub display: *mut GstGLDisplay,
|
||||||
|
pub context: *mut GstGLContext,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
pub priv_: *mut GstGLBaseMixerPrivate,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLBaseMixer {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLBaseMixer @ {self:p}"))
|
||||||
|
.field("parent", &self.parent)
|
||||||
|
.field("display", &self.display)
|
||||||
|
.field("context", &self.context)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLBaseMixerPad {
|
||||||
|
pub parent: gst_video::GstVideoAggregatorPad,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLBaseMixerPad {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLBaseMixerPad @ {self:p}"))
|
||||||
|
.field("parent", &self.parent)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstGLBaseSrc {
|
pub struct GstGLBaseSrc {
|
||||||
|
@ -1330,6 +1453,41 @@ impl ::std::fmt::Debug for GstGLMemoryPBOAllocator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLMixer {
|
||||||
|
pub parent: GstGLBaseMixer,
|
||||||
|
pub out_caps: *mut gst::GstCaps,
|
||||||
|
pub priv_: *mut GstGLMixerPrivate,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLMixer {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLMixer @ {self:p}"))
|
||||||
|
.field("parent", &self.parent)
|
||||||
|
.field("out_caps", &self.out_caps)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone)]
|
||||||
|
#[repr(C)]
|
||||||
|
pub struct GstGLMixerPad {
|
||||||
|
pub parent: GstGLBaseMixerPad,
|
||||||
|
pub current_texture: c_uint,
|
||||||
|
pub _padding: [gpointer; 4],
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::fmt::Debug for GstGLMixerPad {
|
||||||
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||||
|
f.debug_struct(&format!("GstGLMixerPad @ {self:p}"))
|
||||||
|
.field("parent", &self.parent)
|
||||||
|
.field("current_texture", &self.current_texture)
|
||||||
|
.finish()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstGLOverlayCompositor {
|
pub struct GstGLOverlayCompositor {
|
||||||
|
@ -1807,6 +1965,13 @@ extern "C" {
|
||||||
pub fn gst_gl_memory_pbo_upload_transfer(gl_mem: *mut GstGLMemoryPBO);
|
pub fn gst_gl_memory_pbo_upload_transfer(gl_mem: *mut GstGLMemoryPBO);
|
||||||
pub fn gst_gl_memory_pbo_init_once();
|
pub fn gst_gl_memory_pbo_init_once();
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GstGLMixerClass
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_mixer_class_add_rgba_pad_templates(klass: *mut GstGLMixerClass);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstGLQuery
|
// GstGLQuery
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1965,6 +2130,23 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_gl_base_memory_allocator_get_type() -> GType;
|
pub fn gst_gl_base_memory_allocator_get_type() -> GType;
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GstGLBaseMixer
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_base_mixer_get_type() -> GType;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_base_mixer_get_gl_context(mix: *mut GstGLBaseMixer) -> *mut GstGLContext;
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GstGLBaseMixerPad
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_base_mixer_pad_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstGLBaseSrc
|
// GstGLBaseSrc
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2261,6 +2443,29 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_gl_memory_pbo_allocator_get_type() -> GType;
|
pub fn gst_gl_memory_pbo_allocator_get_type() -> GType;
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GstGLMixer
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_mixer_get_type() -> GType;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_mixer_get_framebuffer(mix: *mut GstGLMixer) -> *mut GstGLFramebuffer;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_mixer_process_textures(
|
||||||
|
mix: *mut GstGLMixer,
|
||||||
|
outbuf: *mut gst::GstBuffer,
|
||||||
|
) -> gboolean;
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GstGLMixerPad
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_gl_mixer_pad_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstGLOverlayCompositor
|
// GstGLOverlayCompositor
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
|
@ -268,6 +268,34 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
alignment: align_of::<GstGLBaseMemoryTransfer>(),
|
alignment: align_of::<GstGLBaseMemoryTransfer>(),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"GstGLBaseMixer",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLBaseMixer>(),
|
||||||
|
alignment: align_of::<GstGLBaseMixer>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"GstGLBaseMixerClass",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLBaseMixerClass>(),
|
||||||
|
alignment: align_of::<GstGLBaseMixerClass>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"GstGLBaseMixerPad",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLBaseMixerPad>(),
|
||||||
|
alignment: align_of::<GstGLBaseMixerPad>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"GstGLBaseMixerPadClass",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLBaseMixerPadClass>(),
|
||||||
|
alignment: align_of::<GstGLBaseMixerPadClass>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"GstGLBaseSrc",
|
"GstGLBaseSrc",
|
||||||
Layout {
|
Layout {
|
||||||
|
@ -471,6 +499,34 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
alignment: align_of::<GstGLMemoryPBOAllocatorClass>(),
|
alignment: align_of::<GstGLMemoryPBOAllocatorClass>(),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"GstGLMixer",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLMixer>(),
|
||||||
|
alignment: align_of::<GstGLMixer>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"GstGLMixerClass",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLMixerClass>(),
|
||||||
|
alignment: align_of::<GstGLMixerClass>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"GstGLMixerPad",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLMixerPad>(),
|
||||||
|
alignment: align_of::<GstGLMixerPad>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"GstGLMixerPadClass",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstGLMixerPadClass>(),
|
||||||
|
alignment: align_of::<GstGLMixerPadClass>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"GstGLOverlayCompositor",
|
"GstGLOverlayCompositor",
|
||||||
Layout {
|
Layout {
|
||||||
|
|
|
@ -18,6 +18,10 @@ int main() {
|
||||||
printf("%s;%zu;%zu\n", "GstGLBaseMemoryAllocatorClass", sizeof(GstGLBaseMemoryAllocatorClass), alignof(GstGLBaseMemoryAllocatorClass));
|
printf("%s;%zu;%zu\n", "GstGLBaseMemoryAllocatorClass", sizeof(GstGLBaseMemoryAllocatorClass), alignof(GstGLBaseMemoryAllocatorClass));
|
||||||
printf("%s;%zu;%zu\n", "GstGLBaseMemoryError", sizeof(GstGLBaseMemoryError), alignof(GstGLBaseMemoryError));
|
printf("%s;%zu;%zu\n", "GstGLBaseMemoryError", sizeof(GstGLBaseMemoryError), alignof(GstGLBaseMemoryError));
|
||||||
printf("%s;%zu;%zu\n", "GstGLBaseMemoryTransfer", sizeof(GstGLBaseMemoryTransfer), alignof(GstGLBaseMemoryTransfer));
|
printf("%s;%zu;%zu\n", "GstGLBaseMemoryTransfer", sizeof(GstGLBaseMemoryTransfer), alignof(GstGLBaseMemoryTransfer));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLBaseMixer", sizeof(GstGLBaseMixer), alignof(GstGLBaseMixer));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLBaseMixerClass", sizeof(GstGLBaseMixerClass), alignof(GstGLBaseMixerClass));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLBaseMixerPad", sizeof(GstGLBaseMixerPad), alignof(GstGLBaseMixerPad));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLBaseMixerPadClass", sizeof(GstGLBaseMixerPadClass), alignof(GstGLBaseMixerPadClass));
|
||||||
printf("%s;%zu;%zu\n", "GstGLBaseSrc", sizeof(GstGLBaseSrc), alignof(GstGLBaseSrc));
|
printf("%s;%zu;%zu\n", "GstGLBaseSrc", sizeof(GstGLBaseSrc), alignof(GstGLBaseSrc));
|
||||||
printf("%s;%zu;%zu\n", "GstGLBaseSrcClass", sizeof(GstGLBaseSrcClass), alignof(GstGLBaseSrcClass));
|
printf("%s;%zu;%zu\n", "GstGLBaseSrcClass", sizeof(GstGLBaseSrcClass), alignof(GstGLBaseSrcClass));
|
||||||
printf("%s;%zu;%zu\n", "GstGLBuffer", sizeof(GstGLBuffer), alignof(GstGLBuffer));
|
printf("%s;%zu;%zu\n", "GstGLBuffer", sizeof(GstGLBuffer), alignof(GstGLBuffer));
|
||||||
|
@ -47,6 +51,10 @@ int main() {
|
||||||
printf("%s;%zu;%zu\n", "GstGLMemoryPBO", sizeof(GstGLMemoryPBO), alignof(GstGLMemoryPBO));
|
printf("%s;%zu;%zu\n", "GstGLMemoryPBO", sizeof(GstGLMemoryPBO), alignof(GstGLMemoryPBO));
|
||||||
printf("%s;%zu;%zu\n", "GstGLMemoryPBOAllocator", sizeof(GstGLMemoryPBOAllocator), alignof(GstGLMemoryPBOAllocator));
|
printf("%s;%zu;%zu\n", "GstGLMemoryPBOAllocator", sizeof(GstGLMemoryPBOAllocator), alignof(GstGLMemoryPBOAllocator));
|
||||||
printf("%s;%zu;%zu\n", "GstGLMemoryPBOAllocatorClass", sizeof(GstGLMemoryPBOAllocatorClass), alignof(GstGLMemoryPBOAllocatorClass));
|
printf("%s;%zu;%zu\n", "GstGLMemoryPBOAllocatorClass", sizeof(GstGLMemoryPBOAllocatorClass), alignof(GstGLMemoryPBOAllocatorClass));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLMixer", sizeof(GstGLMixer), alignof(GstGLMixer));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLMixerClass", sizeof(GstGLMixerClass), alignof(GstGLMixerClass));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLMixerPad", sizeof(GstGLMixerPad), alignof(GstGLMixerPad));
|
||||||
|
printf("%s;%zu;%zu\n", "GstGLMixerPadClass", sizeof(GstGLMixerPadClass), alignof(GstGLMixerPadClass));
|
||||||
printf("%s;%zu;%zu\n", "GstGLOverlayCompositor", sizeof(GstGLOverlayCompositor), alignof(GstGLOverlayCompositor));
|
printf("%s;%zu;%zu\n", "GstGLOverlayCompositor", sizeof(GstGLOverlayCompositor), alignof(GstGLOverlayCompositor));
|
||||||
printf("%s;%zu;%zu\n", "GstGLOverlayCompositorClass", sizeof(GstGLOverlayCompositorClass), alignof(GstGLOverlayCompositorClass));
|
printf("%s;%zu;%zu\n", "GstGLOverlayCompositorClass", sizeof(GstGLOverlayCompositorClass), alignof(GstGLOverlayCompositorClass));
|
||||||
printf("%s;%zu;%zu\n", "GstGLPlatform", sizeof(GstGLPlatform), alignof(GstGLPlatform));
|
printf("%s;%zu;%zu\n", "GstGLPlatform", sizeof(GstGLPlatform), alignof(GstGLPlatform));
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -149,6 +149,42 @@ impl Discoverer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
#[doc(alias = "load-serialized-info")]
|
||||||
|
pub fn connect_load_serialized_info<
|
||||||
|
F: Fn(&Self, &str) -> Option<DiscovererInfo> + Send + Sync + 'static,
|
||||||
|
>(
|
||||||
|
&self,
|
||||||
|
f: F,
|
||||||
|
) -> SignalHandlerId {
|
||||||
|
unsafe extern "C" fn load_serialized_info_trampoline<
|
||||||
|
F: Fn(&Discoverer, &str) -> Option<DiscovererInfo> + Send + Sync + 'static,
|
||||||
|
>(
|
||||||
|
this: *mut ffi::GstDiscoverer,
|
||||||
|
uri: *mut libc::c_char,
|
||||||
|
f: glib::ffi::gpointer,
|
||||||
|
) -> *mut ffi::GstDiscovererInfo {
|
||||||
|
let f: &F = &*(f as *const F);
|
||||||
|
f(
|
||||||
|
&from_glib_borrow(this),
|
||||||
|
&glib::GString::from_glib_borrow(uri),
|
||||||
|
)
|
||||||
|
.to_glib_full()
|
||||||
|
}
|
||||||
|
unsafe {
|
||||||
|
let f: Box_<F> = Box_::new(f);
|
||||||
|
connect_raw(
|
||||||
|
self.as_ptr() as *mut _,
|
||||||
|
b"load-serialized-info\0".as_ptr() as *const _,
|
||||||
|
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||||
|
load_serialized_info_trampoline::<F> as *const (),
|
||||||
|
)),
|
||||||
|
Box_::into_raw(f),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[doc(alias = "source-setup")]
|
#[doc(alias = "source-setup")]
|
||||||
pub fn connect_source_setup<F: Fn(&Self, &gst::Element) + Send + Sync + 'static>(
|
pub fn connect_source_setup<F: Fn(&Self, &gst::Element) + Send + Sync + 'static>(
|
||||||
&self,
|
&self,
|
||||||
|
|
|
@ -42,7 +42,7 @@ pub trait DiscovererStreamInfoExt: 'static {
|
||||||
|
|
||||||
#[doc(alias = "gst_discoverer_stream_info_get_stream_id")]
|
#[doc(alias = "gst_discoverer_stream_info_get_stream_id")]
|
||||||
#[doc(alias = "get_stream_id")]
|
#[doc(alias = "get_stream_id")]
|
||||||
fn stream_id(&self) -> glib::GString;
|
fn stream_id(&self) -> Option<glib::GString>;
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||||
|
@ -96,7 +96,7 @@ impl<O: IsA<DiscovererStreamInfo>> DiscovererStreamInfoExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn stream_id(&self) -> glib::GString {
|
fn stream_id(&self) -> Option<glib::GString> {
|
||||||
unsafe {
|
unsafe {
|
||||||
from_glib_none(ffi::gst_discoverer_stream_info_get_stream_id(
|
from_glib_none(ffi::gst_discoverer_stream_info_get_stream_id(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -147,7 +147,9 @@ pub struct GstDiscovererClass {
|
||||||
unsafe extern "C" fn(*mut GstDiscoverer, *mut GstDiscovererInfo, *const glib::GError),
|
unsafe extern "C" fn(*mut GstDiscoverer, *mut GstDiscovererInfo, *const glib::GError),
|
||||||
>,
|
>,
|
||||||
pub source_setup: Option<unsafe extern "C" fn(*mut GstDiscoverer, *mut gst::GstElement)>,
|
pub source_setup: Option<unsafe extern "C" fn(*mut GstDiscoverer, *mut gst::GstElement)>,
|
||||||
pub _reserved: [gpointer; 4],
|
pub load_serialize_info:
|
||||||
|
Option<unsafe extern "C" fn(*mut GstDiscoverer, *mut c_char) -> *mut GstDiscovererInfo>,
|
||||||
|
pub _reserved: [gpointer; 3],
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ::std::fmt::Debug for GstDiscovererClass {
|
impl ::std::fmt::Debug for GstDiscovererClass {
|
||||||
|
@ -158,6 +160,7 @@ impl ::std::fmt::Debug for GstDiscovererClass {
|
||||||
.field("starting", &self.starting)
|
.field("starting", &self.starting)
|
||||||
.field("discovered", &self.discovered)
|
.field("discovered", &self.discovered)
|
||||||
.field("source_setup", &self.source_setup)
|
.field("source_setup", &self.source_setup)
|
||||||
|
.field("load_serialize_info", &self.load_serialize_info)
|
||||||
.field("_reserved", &self._reserved)
|
.field("_reserved", &self._reserved)
|
||||||
.finish()
|
.finish()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -40,6 +40,11 @@ unsafe impl Send for RTSPMedia {}
|
||||||
unsafe impl Sync for RTSPMedia {}
|
unsafe impl Sync for RTSPMedia {}
|
||||||
|
|
||||||
pub trait RTSPMediaExt: 'static {
|
pub trait RTSPMediaExt: 'static {
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
#[doc(alias = "gst_rtsp_media_can_be_shared")]
|
||||||
|
fn can_be_shared(&self) -> bool;
|
||||||
|
|
||||||
#[doc(alias = "gst_rtsp_media_collect_streams")]
|
#[doc(alias = "gst_rtsp_media_collect_streams")]
|
||||||
fn collect_streams(&self);
|
fn collect_streams(&self);
|
||||||
|
|
||||||
|
@ -459,6 +464,16 @@ pub trait RTSPMediaExt: 'static {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
|
impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
fn can_be_shared(&self) -> bool {
|
||||||
|
unsafe {
|
||||||
|
from_glib(ffi::gst_rtsp_media_can_be_shared(
|
||||||
|
self.as_ref().to_glib_none().0,
|
||||||
|
))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fn collect_streams(&self) {
|
fn collect_streams(&self) {
|
||||||
unsafe {
|
unsafe {
|
||||||
ffi::gst_rtsp_media_collect_streams(self.as_ref().to_glib_none().0);
|
ffi::gst_rtsp_media_collect_streams(self.as_ref().to_glib_none().0);
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1567,6 +1567,9 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_rtsp_media_get_type() -> GType;
|
pub fn gst_rtsp_media_get_type() -> GType;
|
||||||
pub fn gst_rtsp_media_new(element: *mut gst::GstElement) -> *mut GstRTSPMedia;
|
pub fn gst_rtsp_media_new(element: *mut gst::GstElement) -> *mut GstRTSPMedia;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_rtsp_media_can_be_shared(media: *mut GstRTSPMedia) -> gboolean;
|
||||||
pub fn gst_rtsp_media_collect_streams(media: *mut GstRTSPMedia);
|
pub fn gst_rtsp_media_collect_streams(media: *mut GstRTSPMedia);
|
||||||
pub fn gst_rtsp_media_complete_pipeline(
|
pub fn gst_rtsp_media_complete_pipeline(
|
||||||
media: *mut GstRTSPMedia,
|
media: *mut GstRTSPMedia,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1018,6 +1018,9 @@ extern "C" {
|
||||||
pub fn gst_sdp_message_remove_attribute(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
pub fn gst_sdp_message_remove_attribute(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_remove_bandwidth(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
pub fn gst_sdp_message_remove_bandwidth(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_remove_email(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
pub fn gst_sdp_message_remove_email(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_sdp_message_remove_media(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_remove_phone(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
pub fn gst_sdp_message_remove_phone(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_remove_time(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
pub fn gst_sdp_message_remove_time(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_remove_zone(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
pub fn gst_sdp_message_remove_zone(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -104,6 +104,11 @@ pub const GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_FULL: GstValidateMediaDescr
|
||||||
pub const GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_HANDLE_GLOGS:
|
pub const GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_HANDLE_GLOGS:
|
||||||
GstValidateMediaDescriptorWriterFlags = 8;
|
GstValidateMediaDescriptorWriterFlags = 8;
|
||||||
|
|
||||||
|
pub type GstValidateObjectSetPropertyFlags = c_uint;
|
||||||
|
pub const GST_VALIDATE_OBJECT_SET_PROPERTY_FLAGS_OPTIONAL: GstValidateObjectSetPropertyFlags = 1;
|
||||||
|
pub const GST_VALIDATE_OBJECT_SET_PROPERTY_FLAGS_NO_VALUE_CHECK: GstValidateObjectSetPropertyFlags =
|
||||||
|
2;
|
||||||
|
|
||||||
pub type GstValidateStructureResolveVariablesFlags = c_uint;
|
pub type GstValidateStructureResolveVariablesFlags = c_uint;
|
||||||
pub const GST_VALIDATE_STRUCTURE_RESOLVE_VARIABLES_ALL: GstValidateStructureResolveVariablesFlags =
|
pub const GST_VALIDATE_STRUCTURE_RESOLVE_VARIABLES_ALL: GstValidateStructureResolveVariablesFlags =
|
||||||
0;
|
0;
|
||||||
|
@ -997,6 +1002,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_validate_media_descriptor_writer_flags_get_type() -> GType;
|
pub fn gst_validate_media_descriptor_writer_flags_get_type() -> GType;
|
||||||
|
|
||||||
|
//=========================================================================
|
||||||
|
// GstValidateObjectSetPropertyFlags
|
||||||
|
//=========================================================================
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_validate_object_set_property_flags_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstValidateStructureResolveVariablesFlags
|
// GstValidateStructureResolveVariablesFlags
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1570,6 +1582,15 @@ extern "C" {
|
||||||
value: *const gobject::GValue,
|
value: *const gobject::GValue,
|
||||||
optional: gboolean,
|
optional: gboolean,
|
||||||
) -> GstValidateActionReturn;
|
) -> GstValidateActionReturn;
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_validate_object_set_property_full(
|
||||||
|
reporter: *mut GstValidateReporter,
|
||||||
|
object: *mut gobject::GObject,
|
||||||
|
property: *const c_char,
|
||||||
|
value: *const gobject::GValue,
|
||||||
|
flags: GstValidateObjectSetPropertyFlags,
|
||||||
|
) -> GstValidateActionReturn;
|
||||||
pub fn gst_validate_plugin_get_config(plugin: *mut gst::GstPlugin) -> *mut glib::GList;
|
pub fn gst_validate_plugin_get_config(plugin: *mut gst::GstPlugin) -> *mut glib::GList;
|
||||||
pub fn gst_validate_print_action(action: *mut GstValidateAction, message: *const c_char);
|
pub fn gst_validate_print_action(action: *mut GstValidateAction, message: *const c_char);
|
||||||
pub fn gst_validate_print_action_types(
|
pub fn gst_validate_print_action_types(
|
||||||
|
|
|
@ -366,6 +366,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
alignment: align_of::<GstValidateMonitorClass>(),
|
alignment: align_of::<GstValidateMonitorClass>(),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"GstValidateObjectSetPropertyFlags",
|
||||||
|
Layout {
|
||||||
|
size: size_of::<GstValidateObjectSetPropertyFlags>(),
|
||||||
|
alignment: align_of::<GstValidateObjectSetPropertyFlags>(),
|
||||||
|
},
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"GstValidateOverride",
|
"GstValidateOverride",
|
||||||
Layout {
|
Layout {
|
||||||
|
@ -542,6 +549,14 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
"(guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_NO_PARSER",
|
"(guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_NO_PARSER",
|
||||||
"2",
|
"2",
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"(guint) GST_VALIDATE_OBJECT_SET_PROPERTY_FLAGS_NO_VALUE_CHECK",
|
||||||
|
"2",
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"(guint) GST_VALIDATE_OBJECT_SET_PROPERTY_FLAGS_OPTIONAL",
|
||||||
|
"1",
|
||||||
|
),
|
||||||
("(guint) GST_VALIDATE_PRINT_CRITICALS", "32"),
|
("(guint) GST_VALIDATE_PRINT_CRITICALS", "32"),
|
||||||
("(guint) GST_VALIDATE_PRINT_ISSUES", "8"),
|
("(guint) GST_VALIDATE_PRINT_ISSUES", "8"),
|
||||||
("(guint) GST_VALIDATE_PRINT_WARNINGS", "16"),
|
("(guint) GST_VALIDATE_PRINT_WARNINGS", "16"),
|
||||||
|
|
|
@ -62,6 +62,8 @@ int main() {
|
||||||
PRINT_CONSTANT((guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_HANDLE_GLOGS);
|
PRINT_CONSTANT((guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_HANDLE_GLOGS);
|
||||||
PRINT_CONSTANT((guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_NONE);
|
PRINT_CONSTANT((guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_NONE);
|
||||||
PRINT_CONSTANT((guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_NO_PARSER);
|
PRINT_CONSTANT((guint) GST_VALIDATE_MEDIA_DESCRIPTOR_WRITER_FLAGS_NO_PARSER);
|
||||||
|
PRINT_CONSTANT((guint) GST_VALIDATE_OBJECT_SET_PROPERTY_FLAGS_NO_VALUE_CHECK);
|
||||||
|
PRINT_CONSTANT((guint) GST_VALIDATE_OBJECT_SET_PROPERTY_FLAGS_OPTIONAL);
|
||||||
PRINT_CONSTANT((guint) GST_VALIDATE_PRINT_CRITICALS);
|
PRINT_CONSTANT((guint) GST_VALIDATE_PRINT_CRITICALS);
|
||||||
PRINT_CONSTANT((guint) GST_VALIDATE_PRINT_ISSUES);
|
PRINT_CONSTANT((guint) GST_VALIDATE_PRINT_ISSUES);
|
||||||
PRINT_CONSTANT((guint) GST_VALIDATE_PRINT_WARNINGS);
|
PRINT_CONSTANT((guint) GST_VALIDATE_PRINT_WARNINGS);
|
||||||
|
|
|
@ -32,6 +32,7 @@ int main() {
|
||||||
printf("%s;%zu;%zu\n", "GstValidateMediaInfo", sizeof(GstValidateMediaInfo), alignof(GstValidateMediaInfo));
|
printf("%s;%zu;%zu\n", "GstValidateMediaInfo", sizeof(GstValidateMediaInfo), alignof(GstValidateMediaInfo));
|
||||||
printf("%s;%zu;%zu\n", "GstValidateMonitor", sizeof(GstValidateMonitor), alignof(GstValidateMonitor));
|
printf("%s;%zu;%zu\n", "GstValidateMonitor", sizeof(GstValidateMonitor), alignof(GstValidateMonitor));
|
||||||
printf("%s;%zu;%zu\n", "GstValidateMonitorClass", sizeof(GstValidateMonitorClass), alignof(GstValidateMonitorClass));
|
printf("%s;%zu;%zu\n", "GstValidateMonitorClass", sizeof(GstValidateMonitorClass), alignof(GstValidateMonitorClass));
|
||||||
|
printf("%s;%zu;%zu\n", "GstValidateObjectSetPropertyFlags", sizeof(GstValidateObjectSetPropertyFlags), alignof(GstValidateObjectSetPropertyFlags));
|
||||||
printf("%s;%zu;%zu\n", "GstValidateOverride", sizeof(GstValidateOverride), alignof(GstValidateOverride));
|
printf("%s;%zu;%zu\n", "GstValidateOverride", sizeof(GstValidateOverride), alignof(GstValidateOverride));
|
||||||
printf("%s;%zu;%zu\n", "GstValidateOverrideClass", sizeof(GstValidateOverrideClass), alignof(GstValidateOverrideClass));
|
printf("%s;%zu;%zu\n", "GstValidateOverrideClass", sizeof(GstValidateOverrideClass), alignof(GstValidateOverrideClass));
|
||||||
printf("%s;%zu;%zu\n", "GstValidateOverrideRegistry", sizeof(GstValidateOverrideRegistry), alignof(GstValidateOverrideRegistry));
|
printf("%s;%zu;%zu\n", "GstValidateOverrideRegistry", sizeof(GstValidateOverrideRegistry), alignof(GstValidateOverrideRegistry));
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
Generated by gir (https://github.com/gtk-rs/gir @ 719372782330)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 059d2f604836)
|
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||||
|
|
|
@ -6225,7 +6225,7 @@ extern "C" {
|
||||||
) -> *mut GstSample;
|
) -> *mut GstSample;
|
||||||
#[cfg(feature = "v1_18_3")]
|
#[cfg(feature = "v1_18_3")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
||||||
pub fn gst_sample_copy(buf: *const GstSample) -> *mut GstSample;
|
pub fn gst_sample_copy(sample: *const GstSample) -> *mut GstSample;
|
||||||
pub fn gst_sample_get_buffer(sample: *mut GstSample) -> *mut GstBuffer;
|
pub fn gst_sample_get_buffer(sample: *mut GstSample) -> *mut GstBuffer;
|
||||||
pub fn gst_sample_get_buffer_list(sample: *mut GstSample) -> *mut GstBufferList;
|
pub fn gst_sample_get_buffer_list(sample: *mut GstSample) -> *mut GstBufferList;
|
||||||
pub fn gst_sample_get_caps(sample: *mut GstSample) -> *mut GstCaps;
|
pub fn gst_sample_get_caps(sample: *mut GstSample) -> *mut GstCaps;
|
||||||
|
@ -8844,6 +8844,9 @@ extern "C" {
|
||||||
#[cfg(feature = "v1_18_3")]
|
#[cfg(feature = "v1_18_3")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
||||||
pub fn gst_clear_query(query_ptr: *mut *mut GstQuery);
|
pub fn gst_clear_query(query_ptr: *mut *mut GstQuery);
|
||||||
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
pub fn gst_clear_sample(sample_ptr: *mut *mut GstSample);
|
||||||
#[cfg(feature = "v1_16")]
|
#[cfg(feature = "v1_16")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||||
pub fn gst_clear_structure(structure_ptr: *mut *mut GstStructure);
|
pub fn gst_clear_structure(structure_ptr: *mut *mut GstStructure);
|
||||||
|
|
Loading…
Reference in a new issue