Regenerate with latest GStreamer gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1344>
This commit is contained in:
Sebastian Dröge 2023-11-11 11:29:23 +02:00
parent 36f13a8007
commit 01c4151870
71 changed files with 455 additions and 50 deletions

View file

@ -11,6 +11,11 @@ pub static ALLOCATOR_DMABUF: &GStr =
#[doc(alias = "GST_ALLOCATOR_FD")]
pub static ALLOCATOR_FD: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_ALLOCATOR_FD) };
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_ALLOCATOR_SHM")]
pub static ALLOCATOR_SHM: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_ALLOCATOR_SHM) };
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_DMABUF")]
pub static CAPS_FEATURE_MEMORY_DMABUF: &GStr =
unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_MEMORY_DMABUF) };

View file

@ -35,6 +35,9 @@ pub mod functions;
mod constants;
pub use self::constants::ALLOCATOR_DMABUF;
pub use self::constants::ALLOCATOR_FD;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub use self::constants::ALLOCATOR_SHM;
pub use self::constants::CAPS_FEATURE_MEMORY_DMABUF;
#[doc(hidden)]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -24,6 +24,7 @@ use glib::{gboolean, gconstpointer, gpointer, GType};
// Constants
pub const GST_ALLOCATOR_DMABUF: &[u8] = b"dmabuf\0";
pub const GST_ALLOCATOR_FD: &[u8] = b"fd\0";
pub const GST_ALLOCATOR_SHM: &[u8] = b"shm\0";
pub const GST_CAPS_FEATURE_MEMORY_DMABUF: &[u8] = b"memory:DMABuf\0";
// Flags
@ -93,6 +94,20 @@ impl ::std::fmt::Debug for GstPhysMemoryAllocatorInterface {
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GstShmAllocatorClass {
pub parent_class: GstFdAllocatorClass,
}
impl ::std::fmt::Debug for GstShmAllocatorClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstShmAllocatorClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
// Classes
#[repr(C)]
pub struct GstDRMDumbAllocator {
@ -136,6 +151,19 @@ impl ::std::fmt::Debug for GstFdAllocator {
}
}
#[repr(C)]
pub struct GstShmAllocator {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for GstShmAllocator {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstShmAllocator @ {self:p}"))
.finish()
}
}
// Interfaces
#[repr(C)]
pub struct GstPhysMemoryAllocator {
@ -211,6 +239,19 @@ extern "C" {
flags: GstFdMemoryFlags,
) -> *mut gst::GstMemory;
//=========================================================================
// GstShmAllocator
//=========================================================================
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_shm_allocator_get_type() -> GType;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_shm_allocator_get() -> *mut gst::GstAllocator;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_shm_allocator_init_once();
//=========================================================================
// GstPhysMemoryAllocator
//=========================================================================

View file

@ -247,11 +247,19 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
alignment: align_of::<GstPhysMemoryAllocatorInterface>(),
},
),
(
"GstShmAllocatorClass",
Layout {
size: size_of::<GstShmAllocatorClass>(),
alignment: align_of::<GstShmAllocatorClass>(),
},
),
];
const RUST_CONSTANTS: &[(&str, &str)] = &[
("GST_ALLOCATOR_DMABUF", "dmabuf"),
("GST_ALLOCATOR_FD", "fd"),
("GST_ALLOCATOR_SHM", "shm"),
("GST_CAPS_FEATURE_MEMORY_DMABUF", "memory:DMABuf"),
("(guint) GST_FD_MEMORY_FLAG_DONT_CLOSE", "4"),
("(guint) GST_FD_MEMORY_FLAG_KEEP_MAPPED", "1"),

View file

@ -31,6 +31,7 @@
int main() {
PRINT_CONSTANT(GST_ALLOCATOR_DMABUF);
PRINT_CONSTANT(GST_ALLOCATOR_FD);
PRINT_CONSTANT(GST_ALLOCATOR_SHM);
PRINT_CONSTANT(GST_CAPS_FEATURE_MEMORY_DMABUF);
PRINT_CONSTANT((guint) GST_FD_MEMORY_FLAG_DONT_CLOSE);
PRINT_CONSTANT((guint) GST_FD_MEMORY_FLAG_KEEP_MAPPED);

View file

@ -15,5 +15,6 @@ int main() {
printf("%s;%zu;%zu\n", "GstFdAllocatorClass", sizeof(GstFdAllocatorClass), alignof(GstFdAllocatorClass));
printf("%s;%zu;%zu\n", "GstFdMemoryFlags", sizeof(GstFdMemoryFlags), alignof(GstFdMemoryFlags));
printf("%s;%zu;%zu\n", "GstPhysMemoryAllocatorInterface", sizeof(GstPhysMemoryAllocatorInterface), alignof(GstPhysMemoryAllocatorInterface));
printf("%s;%zu;%zu\n", "GstShmAllocatorClass", sizeof(GstShmAllocatorClass), alignof(GstShmAllocatorClass));
return 0;
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -150,6 +150,36 @@ impl DiscovererManager {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "source-setup")]
pub fn connect_source_setup<F: Fn(&Self, &gst::Element) + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn source_setup_trampoline<
F: Fn(&DiscovererManager, &gst::Element) + 'static,
>(
this: *mut ffi::GESDiscovererManager,
source: *mut gst::ffi::GstElement,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(&from_glib_borrow(this), &from_glib_borrow(source))
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"source-setup\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
source_setup_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "timeout")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -26,6 +26,17 @@ impl GLDisplayEGL {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_gl_display_egl_new_surfaceless")]
pub fn new_surfaceless() -> Result<GLDisplayEGL, glib::BoolError> {
assert_initialized_main_thread!();
unsafe {
Option::<_>::from_glib_full(ffi::gst_gl_display_egl_new_surfaceless())
.ok_or_else(|| glib::bool_error!("Failed to create surfaceless EGL display"))
}
}
#[doc(alias = "gst_gl_display_egl_from_gl_display")]
pub fn from_gl_display(display: &impl IsA<gst_gl::GLDisplay>) -> Option<GLDisplayEGL> {
assert_initialized_main_thread!();

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -67,6 +67,9 @@ extern "C" {
//=========================================================================
pub fn gst_gl_display_egl_get_type() -> GType;
pub fn gst_gl_display_egl_new() -> *mut GstGLDisplayEGL;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_gl_display_egl_new_surfaceless() -> *mut GstGLDisplayEGL;
pub fn gst_gl_display_egl_new_with_egl_display(display: gpointer) -> *mut GstGLDisplayEGL;
pub fn gst_gl_display_egl_from_gl_display(
display: *mut gst_gl::GstGLDisplay,

View file

@ -273,6 +273,10 @@ bitflags! {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
#[doc(alias = "GST_GL_DISPLAY_TYPE_ANDROID")]
const ANDROID = ffi::GST_GL_DISPLAY_TYPE_ANDROID as _;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_GL_DISPLAY_TYPE_EGL_SURFACELESS")]
const EGL_SURFACELESS = ffi::GST_GL_DISPLAY_TYPE_EGL_SURFACELESS as _;
}
}

View file

@ -23,6 +23,25 @@ impl GLUpload {
unsafe { from_glib_full(ffi::gst_gl_upload_new(context.as_ref().to_glib_none().0)) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_gl_upload_fixate_caps")]
pub fn fixate_caps(
&self,
direction: gst::PadDirection,
caps: &gst::Caps,
othercaps: gst::Caps,
) -> gst::Caps {
unsafe {
from_glib_full(ffi::gst_gl_upload_fixate_caps(
self.to_glib_none().0,
direction.into_glib(),
caps.to_glib_none().0,
othercaps.into_glib_ptr(),
))
}
}
#[doc(alias = "gst_gl_upload_get_caps")]
#[doc(alias = "get_caps")]
pub fn caps(&self) -> (gst::Caps, gst::Caps) {

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -195,6 +195,9 @@ pub const GST_GL_DISPLAY_TYPE_WINRT: GstGLDisplayType = 1024;
#[cfg(feature = "v1_20")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
pub const GST_GL_DISPLAY_TYPE_ANDROID: GstGLDisplayType = 2048;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_GL_DISPLAY_TYPE_EGL_SURFACELESS: GstGLDisplayType = 4096;
pub const GST_GL_DISPLAY_TYPE_ANY: GstGLDisplayType = 4294967295;
pub type GstGLPlatform = c_uint;
@ -2771,6 +2774,14 @@ extern "C" {
pub fn gst_gl_upload_get_type() -> GType;
pub fn gst_gl_upload_new(context: *mut GstGLContext) -> *mut GstGLUpload;
pub fn gst_gl_upload_get_input_template_caps() -> *mut gst::GstCaps;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_gl_upload_fixate_caps(
upload: *mut GstGLUpload,
direction: gst::GstPadDirection,
caps: *mut gst::GstCaps,
othercaps: *mut gst::GstCaps,
) -> *mut gst::GstCaps;
pub fn gst_gl_upload_get_caps(
upload: *mut GstGLUpload,
in_caps: *mut *mut gst::GstCaps,

View file

@ -825,6 +825,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(guint) GST_GL_DISPLAY_TYPE_EAGL", "512"),
("(guint) GST_GL_DISPLAY_TYPE_EGL", "32"),
("(guint) GST_GL_DISPLAY_TYPE_EGL_DEVICE", "256"),
("(guint) GST_GL_DISPLAY_TYPE_EGL_SURFACELESS", "4096"),
("(guint) GST_GL_DISPLAY_TYPE_GBM", "128"),
("(guint) GST_GL_DISPLAY_TYPE_NONE", "0"),
("(guint) GST_GL_DISPLAY_TYPE_VIV_FB", "64"),

View file

@ -113,6 +113,7 @@ int main() {
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_EAGL);
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_EGL);
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_EGL_DEVICE);
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_EGL_SURFACELESS);
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_GBM);
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_NONE);
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_VIV_FB);

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -159,6 +159,28 @@ pub trait RTSPMediaExt: IsA<RTSPMedia> + sealed::Sealed + 'static {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_get_ensure_keyunit_on_start")]
#[doc(alias = "get_ensure_keyunit_on_start")]
fn is_ensure_keyunit_on_start(&self) -> bool {
unsafe {
from_glib(ffi::gst_rtsp_media_get_ensure_keyunit_on_start(
self.as_ref().to_glib_none().0,
))
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_get_ensure_keyunit_on_start_timeout")]
#[doc(alias = "get_ensure_keyunit_on_start_timeout")]
fn ensure_keyunit_on_start_timeout(&self) -> u32 {
unsafe {
ffi::gst_rtsp_media_get_ensure_keyunit_on_start_timeout(self.as_ref().to_glib_none().0)
}
}
#[doc(alias = "gst_rtsp_media_get_latency")]
#[doc(alias = "get_latency")]
fn latency(&self) -> u32 {
@ -518,6 +540,30 @@ pub trait RTSPMediaExt: IsA<RTSPMedia> + sealed::Sealed + 'static {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_set_ensure_keyunit_on_start")]
fn set_ensure_keyunit_on_start(&self, ensure_keyunit_on_start: bool) {
unsafe {
ffi::gst_rtsp_media_set_ensure_keyunit_on_start(
self.as_ref().to_glib_none().0,
ensure_keyunit_on_start.into_glib(),
);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_set_ensure_keyunit_on_start_timeout")]
fn set_ensure_keyunit_on_start_timeout(&self, timeout: u32) {
unsafe {
ffi::gst_rtsp_media_set_ensure_keyunit_on_start_timeout(
self.as_ref().to_glib_none().0,
timeout,
);
}
}
#[doc(alias = "gst_rtsp_media_set_eos_shutdown")]
fn set_eos_shutdown(&self, eos_shutdown: bool) {
unsafe {
@ -1087,6 +1133,68 @@ pub trait RTSPMediaExt: IsA<RTSPMedia> + sealed::Sealed + 'static {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "ensure-keyunit-on-start")]
fn connect_ensure_keyunit_on_start_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_ensure_keyunit_on_start_trampoline<
P: IsA<RTSPMedia>,
F: Fn(&P) + Send + Sync + 'static,
>(
this: *mut ffi::GstRTSPMedia,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(RTSPMedia::from_glib_borrow(this).unsafe_cast_ref())
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::ensure-keyunit-on-start\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
notify_ensure_keyunit_on_start_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "ensure-keyunit-on-start-timeout")]
fn connect_ensure_keyunit_on_start_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_ensure_keyunit_on_start_timeout_trampoline<
P: IsA<RTSPMedia>,
F: Fn(&P) + Send + Sync + 'static,
>(
this: *mut ffi::GstRTSPMedia,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(RTSPMedia::from_glib_borrow(this).unsafe_cast_ref())
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::ensure-keyunit-on-start-timeout\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
notify_ensure_keyunit_on_start_timeout_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[doc(alias = "eos-shutdown")]
fn connect_eos_shutdown_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,

View file

@ -118,6 +118,30 @@ pub trait RTSPMediaFactoryExt: IsA<RTSPMediaFactory> + sealed::Sealed + 'static
unsafe { ffi::gst_rtsp_media_factory_get_dscp_qos(self.as_ref().to_glib_none().0) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_factory_get_ensure_keyunit_on_start")]
#[doc(alias = "get_ensure_keyunit_on_start")]
fn is_ensure_keyunit_on_start(&self) -> bool {
unsafe {
from_glib(ffi::gst_rtsp_media_factory_get_ensure_keyunit_on_start(
self.as_ref().to_glib_none().0,
))
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_factory_get_ensure_keyunit_on_start_timeout")]
#[doc(alias = "get_ensure_keyunit_on_start_timeout")]
fn ensure_keyunit_on_start_timeout(&self) -> u32 {
unsafe {
ffi::gst_rtsp_media_factory_get_ensure_keyunit_on_start_timeout(
self.as_ref().to_glib_none().0,
)
}
}
#[doc(alias = "gst_rtsp_media_factory_get_latency")]
#[doc(alias = "get_latency")]
fn latency(&self) -> u32 {
@ -349,6 +373,30 @@ pub trait RTSPMediaFactoryExt: IsA<RTSPMediaFactory> + sealed::Sealed + 'static
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_factory_set_ensure_keyunit_on_start")]
fn set_ensure_keyunit_on_start(&self, ensure_keyunit_on_start: bool) {
unsafe {
ffi::gst_rtsp_media_factory_set_ensure_keyunit_on_start(
self.as_ref().to_glib_none().0,
ensure_keyunit_on_start.into_glib(),
);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtsp_media_factory_set_ensure_keyunit_on_start_timeout")]
fn set_ensure_keyunit_on_start_timeout(&self, timeout: u32) {
unsafe {
ffi::gst_rtsp_media_factory_set_ensure_keyunit_on_start_timeout(
self.as_ref().to_glib_none().0,
timeout,
);
}
}
#[doc(alias = "gst_rtsp_media_factory_set_eos_shutdown")]
fn set_eos_shutdown(&self, eos_shutdown: bool) {
unsafe {
@ -736,6 +784,68 @@ pub trait RTSPMediaFactoryExt: IsA<RTSPMediaFactory> + sealed::Sealed + 'static
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "ensure-keyunit-on-start")]
fn connect_ensure_keyunit_on_start_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_ensure_keyunit_on_start_trampoline<
P: IsA<RTSPMediaFactory>,
F: Fn(&P) + Send + Sync + 'static,
>(
this: *mut ffi::GstRTSPMediaFactory,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref())
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::ensure-keyunit-on-start\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
notify_ensure_keyunit_on_start_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "ensure-keyunit-on-start-timeout")]
fn connect_ensure_keyunit_on_start_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_ensure_keyunit_on_start_timeout_trampoline<
P: IsA<RTSPMediaFactory>,
F: Fn(&P) + Send + Sync + 'static,
>(
this: *mut ffi::GstRTSPMediaFactory,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref())
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::ensure-keyunit-on-start-timeout\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
notify_ensure_keyunit_on_start_timeout_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[doc(alias = "eos-shutdown")]
fn connect_eos_shutdown_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1595,6 +1595,12 @@ extern "C" {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
pub fn gst_rtsp_media_get_dscp_qos(media: *mut GstRTSPMedia) -> c_int;
pub fn gst_rtsp_media_get_element(media: *mut GstRTSPMedia) -> *mut gst::GstElement;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_get_ensure_keyunit_on_start(media: *mut GstRTSPMedia) -> gboolean;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_get_ensure_keyunit_on_start_timeout(media: *mut GstRTSPMedia) -> c_uint;
pub fn gst_rtsp_media_get_latency(media: *mut GstRTSPMedia) -> c_uint;
#[cfg(feature = "v1_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
@ -1694,6 +1700,18 @@ extern "C" {
#[cfg(feature = "v1_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
pub fn gst_rtsp_media_set_dscp_qos(media: *mut GstRTSPMedia, dscp_qos: c_int);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_set_ensure_keyunit_on_start(
media: *mut GstRTSPMedia,
ensure_keyunit_on_start: gboolean,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_set_ensure_keyunit_on_start_timeout(
media: *mut GstRTSPMedia,
timeout: c_uint,
);
pub fn gst_rtsp_media_set_eos_shutdown(media: *mut GstRTSPMedia, eos_shutdown: gboolean);
pub fn gst_rtsp_media_set_latency(media: *mut GstRTSPMedia, latency: c_uint);
#[cfg(feature = "v1_16")]
@ -1792,6 +1810,16 @@ extern "C" {
#[cfg(feature = "v1_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
pub fn gst_rtsp_media_factory_get_dscp_qos(factory: *mut GstRTSPMediaFactory) -> c_int;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_factory_get_ensure_keyunit_on_start(
factory: *mut GstRTSPMediaFactory,
) -> gboolean;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_factory_get_ensure_keyunit_on_start_timeout(
factory: *mut GstRTSPMediaFactory,
) -> c_uint;
pub fn gst_rtsp_media_factory_get_latency(factory: *mut GstRTSPMediaFactory) -> c_uint;
pub fn gst_rtsp_media_factory_get_launch(factory: *mut GstRTSPMediaFactory) -> *mut c_char;
#[cfg(feature = "v1_16")]
@ -1865,6 +1893,18 @@ extern "C" {
factory: *mut GstRTSPMediaFactory,
enable: gboolean,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_factory_set_ensure_keyunit_on_start(
factory: *mut GstRTSPMediaFactory,
ensure_keyunit_on_start: gboolean,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_media_factory_set_ensure_keyunit_on_start_timeout(
factory: *mut GstRTSPMediaFactory,
timeout: c_uint,
);
pub fn gst_rtsp_media_factory_set_eos_shutdown(
factory: *mut GstRTSPMediaFactory,
eos_shutdown: gboolean,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -4602,6 +4602,9 @@ extern "C" {
all_headers: *mut gboolean,
count: *mut c_uint,
) -> gboolean;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_video_formats_any(len: *mut c_uint) -> *const GstVideoFormat;
#[cfg(feature = "v1_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
pub fn gst_video_formats_raw(len: *mut c_uint) -> *const GstVideoFormat;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -45,7 +45,7 @@ impl StreamCollection {
//#[doc(alias = "stream-notify")]
//pub fn connect_stream_notify<Unsupported or ignored types>(&self, detail: Option<&str>, f: F) -> SignalHandlerId {
// Ignored p0: GObject.ParamSpec
// Ignored prop: GObject.ParamSpec
//}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ edec6c70b41a)

View file

@ -607,6 +607,9 @@ pub const GST_VALUE_UNORDERED: c_int = 2;
// Flags
pub type GstAllocatorFlags = c_uint;
pub const GST_ALLOCATOR_FLAG_CUSTOM_ALLOC: GstAllocatorFlags = 16;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_ALLOCATOR_FLAG_NO_COPY: GstAllocatorFlags = 32;
pub const GST_ALLOCATOR_FLAG_LAST: GstAllocatorFlags = 1048576;
pub type GstBinFlags = c_uint;

View file

@ -1470,6 +1470,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
const RUST_CONSTANTS: &[(&str, &str)] = &[
("(guint) GST_ALLOCATOR_FLAG_CUSTOM_ALLOC", "16"),
("(guint) GST_ALLOCATOR_FLAG_LAST", "1048576"),
("(guint) GST_ALLOCATOR_FLAG_NO_COPY", "32"),
("GST_ALLOCATOR_SYSMEM", "SystemMemory"),
("(guint) GST_BIN_FLAG_LAST", "524288"),
("(guint) GST_BIN_FLAG_NO_RESYNC", "16384"),

View file

@ -31,6 +31,7 @@
int main() {
PRINT_CONSTANT((guint) GST_ALLOCATOR_FLAG_CUSTOM_ALLOC);
PRINT_CONSTANT((guint) GST_ALLOCATOR_FLAG_LAST);
PRINT_CONSTANT((guint) GST_ALLOCATOR_FLAG_NO_COPY);
PRINT_CONSTANT(GST_ALLOCATOR_SYSMEM);
PRINT_CONSTANT((guint) GST_BIN_FLAG_LAST);
PRINT_CONSTANT((guint) GST_BIN_FLAG_NO_RESYNC);