Regenerate with latest gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1759>
This commit is contained in:
Sebastian Dröge 2025-08-08 13:50:57 +03:00
parent e9825a39b3
commit cc7bc0f8f8
77 changed files with 292 additions and 69 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -605,10 +605,10 @@ extern "C" {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub fn gst_tensor_check_type(
tensor: *const GstTensor,
data_type: GstTensorDataType,
order: GstTensorDimOrder,
num_dims: size_t,
data_type: GstTensorDataType,
data: *mut gst::GstBuffer,
dims: *const size_t,
) -> gboolean;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
@ -643,10 +643,10 @@ extern "C" {
pub fn gst_tensor_meta_get_typed_tensor(
tmeta: *mut GstTensorMeta,
tensor_id: glib::GQuark,
data_type: GstTensorDataType,
order: GstTensorDimOrder,
num_dims: size_t,
data_type: GstTensorDataType,
data: *mut gst::GstBuffer,
dims: *const size_t,
) -> *const GstTensor;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -4,6 +4,9 @@
// DO NOT EDIT
use crate::ffi;
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
use crate::GLContext;
use glib::{
prelude::*,
signal::{connect_raw, SignalHandlerId},
@ -28,6 +31,18 @@ unsafe impl Send for GLBaseSrc {}
unsafe impl Sync for GLBaseSrc {}
pub trait GLBaseSrcExt: IsA<GLBaseSrc> + 'static {
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(alias = "gst_gl_base_src_get_gl_context")]
#[doc(alias = "get_gl_context")]
fn gl_context(&self) -> Option<GLContext> {
unsafe {
from_glib_full(ffi::gst_gl_base_src_get_gl_context(
self.as_ref().to_glib_none().0,
))
}
}
#[doc(alias = "timestamp-offset")]
fn timestamp_offset(&self) -> i64 {
ObjectExt::property(self.as_ref(), "timestamp-offset")

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -2200,6 +2200,9 @@ extern "C" {
#[cfg(feature = "v1_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
pub fn gst_gl_base_src_get_type() -> GType;
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub fn gst_gl_base_src_get_gl_context(base_src: *mut GstGLBaseSrc) -> *mut GstGLContext;
//=========================================================================
// GstGLBufferAllocator

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -4,6 +4,9 @@
// DO NOT EDIT
use crate::{ffi, RTSPStream};
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
use glib::signal::{connect_raw, SignalHandlerId};
use glib::{prelude::*, translate::*};
use std::boxed::Box as Box_;
@ -64,6 +67,7 @@ pub trait RTSPStreamTransportExt: IsA<RTSPStreamTransport> + 'static {
}
#[doc(alias = "gst_rtsp_stream_transport_is_timed_out")]
#[doc(alias = "timed-out")]
fn is_timed_out(&self) -> bool {
unsafe {
from_glib(ffi::gst_rtsp_stream_transport_is_timed_out(
@ -324,6 +328,34 @@ pub trait RTSPStreamTransportExt: IsA<RTSPStreamTransport> + 'static {
);
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(alias = "timed-out")]
fn connect_timed_out_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
unsafe extern "C" fn notify_timed_out_trampoline<
P: IsA<RTSPStreamTransport>,
F: Fn(&P) + 'static,
>(
this: *mut ffi::GstRTSPStreamTransport,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(RTSPStreamTransport::from_glib_borrow(this).unsafe_cast_ref())
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
c"notify::timed-out".as_ptr() as *const _,
Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>(
notify_timed_out_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
}
}
impl<O: IsA<RTSPStreamTransport>> RTSPStreamTransportExt for O {}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -2595,6 +2595,14 @@ pub enum VideoFormat {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(alias = "GST_VIDEO_FORMAT_NV16_10LE40")]
Nv1610le40,
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(alias = "GST_VIDEO_FORMAT_BGR10x2_LE")]
Bgr10x2Le,
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(alias = "GST_VIDEO_FORMAT_RGB10x2_LE")]
Rgb10x2Le,
#[doc(hidden)]
__Unknown(i32),
}
@ -2837,6 +2845,10 @@ impl IntoGlib for VideoFormat {
Self::Gray10Le16 => ffi::GST_VIDEO_FORMAT_GRAY10_LE16,
#[cfg(feature = "v1_28")]
Self::Nv1610le40 => ffi::GST_VIDEO_FORMAT_NV16_10LE40,
#[cfg(feature = "v1_28")]
Self::Bgr10x2Le => ffi::GST_VIDEO_FORMAT_BGR10x2_LE,
#[cfg(feature = "v1_28")]
Self::Rgb10x2Le => ffi::GST_VIDEO_FORMAT_RGB10x2_LE,
Self::__Unknown(value) => value,
}
}
@ -3047,6 +3059,10 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
ffi::GST_VIDEO_FORMAT_GRAY10_LE16 => Self::Gray10Le16,
#[cfg(feature = "v1_28")]
ffi::GST_VIDEO_FORMAT_NV16_10LE40 => Self::Nv1610le40,
#[cfg(feature = "v1_28")]
ffi::GST_VIDEO_FORMAT_BGR10x2_LE => Self::Bgr10x2Le,
#[cfg(feature = "v1_28")]
ffi::GST_VIDEO_FORMAT_RGB10x2_LE => Self::Rgb10x2Le,
value => Self::__Unknown(value),
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -426,6 +426,12 @@ pub const GST_VIDEO_FORMAT_GRAY10_LE16: GstVideoFormat = 138;
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub const GST_VIDEO_FORMAT_NV16_10LE40: GstVideoFormat = 139;
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub const GST_VIDEO_FORMAT_BGR10x2_LE: GstVideoFormat = 140;
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub const GST_VIDEO_FORMAT_RGB10x2_LE: GstVideoFormat = 141;
pub type GstVideoGLTextureOrientation = c_int;
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0;
@ -613,7 +619,7 @@ pub const GST_VIDEO_DECODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_VIDEO_DECODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_VIDEO_ENCODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_VIDEO_ENCODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_VIDEO_FORMAT_LAST: c_int = 140;
pub const GST_VIDEO_FORMAT_LAST: c_int = 142;
pub const GST_VIDEO_FPS_RANGE: &[u8] = b"(fraction) [ 0, max ]\0";
pub const GST_VIDEO_MAX_COMPONENTS: c_int = 4;
pub const GST_VIDEO_MAX_PLANES: c_int = 4;

View file

@ -1338,6 +1338,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_AYUV64", "40"),
("(gint) GST_VIDEO_FORMAT_BGR", "16"),
("(gint) GST_VIDEO_FORMAT_BGR10A2_LE", "85"),
("(gint) GST_VIDEO_FORMAT_BGR10x2_LE", "140"),
("(gint) GST_VIDEO_FORMAT_BGR15", "32"),
("(gint) GST_VIDEO_FORMAT_BGR16", "30"),
("(gint) GST_VIDEO_FORMAT_BGRA", "12"),
@ -1385,7 +1386,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"),
("(gint) GST_VIDEO_FORMAT_IYU1", "38"),
("(gint) GST_VIDEO_FORMAT_IYU2", "63"),
("GST_VIDEO_FORMAT_LAST", "140"),
("GST_VIDEO_FORMAT_LAST", "142"),
("(gint) GST_VIDEO_FORMAT_MT2110R", "116"),
("(gint) GST_VIDEO_FORMAT_MT2110T", "115"),
("(gint) GST_VIDEO_FORMAT_NV12", "23"),
@ -1413,6 +1414,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_RBGA", "133"),
("(gint) GST_VIDEO_FORMAT_RGB", "15"),
("(gint) GST_VIDEO_FORMAT_RGB10A2_LE", "86"),
("(gint) GST_VIDEO_FORMAT_RGB10x2_LE", "141"),
("(gint) GST_VIDEO_FORMAT_RGB15", "31"),
("(gint) GST_VIDEO_FORMAT_RGB16", "29"),
("(gint) GST_VIDEO_FORMAT_RGB8P", "35"),

View file

@ -288,6 +288,7 @@ int main() {
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_AYUV64);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_BGR);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_BGR10A2_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_BGR10x2_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_BGR15);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_BGR16);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_BGRA);
@ -363,6 +364,7 @@ int main() {
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RBGA);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB10A2_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB10x2_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB15);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB16);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB8P);

View file

@ -128,6 +128,124 @@ impl From<WebRTCBundlePolicy> for glib::Value {
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstWebRTCDTLSRole")]
pub enum WebRTCDTLSRole {
#[doc(alias = "GST_WEBRTC_DTLS_ROLE_CLIENT")]
Client,
#[doc(alias = "GST_WEBRTC_DTLS_ROLE_SERVER")]
Server,
#[doc(alias = "GST_WEBRTC_DTLS_ROLE_UNKNOWN")]
Unknown,
#[doc(hidden)]
__Unknown(i32),
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(hidden)]
impl IntoGlib for WebRTCDTLSRole {
type GlibType = ffi::GstWebRTCDTLSRole;
#[inline]
fn into_glib(self) -> ffi::GstWebRTCDTLSRole {
match self {
Self::Client => ffi::GST_WEBRTC_DTLS_ROLE_CLIENT,
Self::Server => ffi::GST_WEBRTC_DTLS_ROLE_SERVER,
Self::Unknown => ffi::GST_WEBRTC_DTLS_ROLE_UNKNOWN,
Self::__Unknown(value) => value,
}
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
#[doc(hidden)]
impl FromGlib<ffi::GstWebRTCDTLSRole> for WebRTCDTLSRole {
#[inline]
unsafe fn from_glib(value: ffi::GstWebRTCDTLSRole) -> Self {
skip_assert_initialized!();
match value {
ffi::GST_WEBRTC_DTLS_ROLE_CLIENT => Self::Client,
ffi::GST_WEBRTC_DTLS_ROLE_SERVER => Self::Server,
ffi::GST_WEBRTC_DTLS_ROLE_UNKNOWN => Self::Unknown,
value => Self::__Unknown(value),
}
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
impl StaticType for WebRTCDTLSRole {
#[inline]
#[doc(alias = "gst_webrtc_dtls_role_get_type")]
fn static_type() -> glib::Type {
unsafe { from_glib(ffi::gst_webrtc_dtls_role_get_type()) }
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
impl glib::HasParamSpec for WebRTCDTLSRole {
type ParamSpec = glib::ParamSpecEnum;
type SetValue = Self;
type BuilderFn = fn(&str, Self) -> glib::ParamSpecEnumBuilder<Self>;
fn param_spec_builder() -> Self::BuilderFn {
Self::ParamSpec::builder_with_default
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
impl glib::value::ValueType for WebRTCDTLSRole {
type Type = Self;
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
unsafe impl<'a> glib::value::FromValue<'a> for WebRTCDTLSRole {
type Checker = glib::value::GenericValueTypeChecker<Self>;
#[inline]
unsafe fn from_value(value: &'a glib::Value) -> Self {
skip_assert_initialized!();
from_glib(glib::gobject_ffi::g_value_get_enum(value.to_glib_none().0))
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
impl ToValue for WebRTCDTLSRole {
#[inline]
fn to_value(&self) -> glib::Value {
let mut value = glib::Value::for_value_type::<Self>();
unsafe {
glib::gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, self.into_glib());
}
value
}
#[inline]
fn value_type(&self) -> glib::Type {
Self::static_type()
}
}
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
impl From<WebRTCDTLSRole> for glib::Value {
#[inline]
fn from(v: WebRTCDTLSRole) -> Self {
skip_assert_initialized!();
ToValue::to_value(&v)
}
}
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
#[non_exhaustive]
#[doc(alias = "GstWebRTCDTLSSetup")]

View file

@ -60,6 +60,9 @@ mod enums;
#[cfg(feature = "v1_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
pub use self::enums::WebRTCBundlePolicy;
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub use self::enums::WebRTCDTLSRole;
pub use self::enums::WebRTCDTLSSetup;
pub use self::enums::WebRTCDTLSTransportState;
#[cfg(feature = "v1_16")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -13,7 +13,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCDTLSTransport")]
pub struct WebRTCDTLSTransport(Object<ffi::GstWebRTCDTLSTransport, ffi::GstWebRTCDTLSTransportClass>);
pub struct WebRTCDTLSTransport(Object<ffi::GstWebRTCDTLSTransport, ffi::GstWebRTCDTLSTransportClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_dtls_transport_get_type(),

View file

@ -16,7 +16,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCICE")]
pub struct WebRTCICE(Object<ffi::GstWebRTCICE, ffi::GstWebRTCICEClass>);
pub struct WebRTCICE(Object<ffi::GstWebRTCICE, ffi::GstWebRTCICEClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_ice_get_type(),

View file

@ -8,7 +8,7 @@ use glib::{prelude::*, translate::*};
glib::wrapper! {
#[doc(alias = "GstWebRTCICEStream")]
pub struct WebRTCICEStream(Object<ffi::GstWebRTCICEStream, ffi::GstWebRTCICEStreamClass>);
pub struct WebRTCICEStream(Object<ffi::GstWebRTCICEStream, ffi::GstWebRTCICEStreamClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_ice_stream_get_type(),

View file

@ -14,7 +14,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCICETransport")]
pub struct WebRTCICETransport(Object<ffi::GstWebRTCICETransport, ffi::GstWebRTCICETransportClass>);
pub struct WebRTCICETransport(Object<ffi::GstWebRTCICETransport, ffi::GstWebRTCICETransportClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_ice_transport_get_type(),

View file

@ -20,7 +20,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCRTPReceiver")]
pub struct WebRTCRTPReceiver(Object<ffi::GstWebRTCRTPReceiver, ffi::GstWebRTCRTPReceiverClass>);
pub struct WebRTCRTPReceiver(Object<ffi::GstWebRTCRTPReceiver, ffi::GstWebRTCRTPReceiverClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_rtp_receiver_get_type(),

View file

@ -20,7 +20,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCRTPSender")]
pub struct WebRTCRTPSender(Object<ffi::GstWebRTCRTPSender, ffi::GstWebRTCRTPSenderClass>);
pub struct WebRTCRTPSender(Object<ffi::GstWebRTCRTPSender, ffi::GstWebRTCRTPSenderClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_rtp_sender_get_type(),

View file

@ -20,7 +20,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCRTPTransceiver")]
pub struct WebRTCRTPTransceiver(Object<ffi::GstWebRTCRTPTransceiver, ffi::GstWebRTCRTPTransceiverClass>);
pub struct WebRTCRTPTransceiver(Object<ffi::GstWebRTCRTPTransceiver, ffi::GstWebRTCRTPTransceiverClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_rtp_transceiver_get_type(),

View file

@ -13,7 +13,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstWebRTCSCTPTransport")]
pub struct WebRTCSCTPTransport(Object<ffi::GstWebRTCSCTPTransport, ffi::GstWebRTCSCTPTransportClass>);
pub struct WebRTCSCTPTransport(Object<ffi::GstWebRTCSCTPTransport, ffi::GstWebRTCSCTPTransportClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_webrtc_sctp_transport_get_type(),

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -36,6 +36,11 @@ pub const GST_WEBRTC_BUNDLE_POLICY_BALANCED: GstWebRTCBundlePolicy = 1;
pub const GST_WEBRTC_BUNDLE_POLICY_MAX_COMPAT: GstWebRTCBundlePolicy = 2;
pub const GST_WEBRTC_BUNDLE_POLICY_MAX_BUNDLE: GstWebRTCBundlePolicy = 3;
pub type GstWebRTCDTLSRole = c_int;
pub const GST_WEBRTC_DTLS_ROLE_CLIENT: GstWebRTCDTLSRole = 0;
pub const GST_WEBRTC_DTLS_ROLE_SERVER: GstWebRTCDTLSRole = 1;
pub const GST_WEBRTC_DTLS_ROLE_UNKNOWN: GstWebRTCDTLSRole = 2;
pub type GstWebRTCDTLSSetup = c_int;
pub const GST_WEBRTC_DTLS_SETUP_NONE: GstWebRTCDTLSSetup = 0;
pub const GST_WEBRTC_DTLS_SETUP_ACTPASS: GstWebRTCDTLSSetup = 1;
@ -627,6 +632,13 @@ extern "C" {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
pub fn gst_webrtc_bundle_policy_get_type() -> GType;
//=========================================================================
// GstWebRTCDTLSRole
//=========================================================================
#[cfg(feature = "v1_28")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
pub fn gst_webrtc_dtls_role_get_type() -> GType;
//=========================================================================
// GstWebRTCDTLSSetup
//=========================================================================

View file

@ -209,6 +209,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
alignment: align_of::<GstWebRTCBundlePolicy>(),
},
),
(
"GstWebRTCDTLSRole",
Layout {
size: size_of::<GstWebRTCDTLSRole>(),
alignment: align_of::<GstWebRTCDTLSRole>(),
},
),
(
"GstWebRTCDTLSSetup",
Layout {
@ -409,6 +416,9 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING", "3"),
("(gint) GST_WEBRTC_DATA_CHANNEL_STATE_CONNECTING", "1"),
("(gint) GST_WEBRTC_DATA_CHANNEL_STATE_OPEN", "2"),
("(gint) GST_WEBRTC_DTLS_ROLE_CLIENT", "0"),
("(gint) GST_WEBRTC_DTLS_ROLE_SERVER", "1"),
("(gint) GST_WEBRTC_DTLS_ROLE_UNKNOWN", "2"),
("(gint) GST_WEBRTC_DTLS_SETUP_ACTIVE", "2"),
("(gint) GST_WEBRTC_DTLS_SETUP_ACTPASS", "1"),
("(gint) GST_WEBRTC_DTLS_SETUP_NONE", "0"),

View file

@ -37,6 +37,9 @@ int main() {
PRINT_CONSTANT((gint) GST_WEBRTC_DATA_CHANNEL_STATE_CLOSING);
PRINT_CONSTANT((gint) GST_WEBRTC_DATA_CHANNEL_STATE_CONNECTING);
PRINT_CONSTANT((gint) GST_WEBRTC_DATA_CHANNEL_STATE_OPEN);
PRINT_CONSTANT((gint) GST_WEBRTC_DTLS_ROLE_CLIENT);
PRINT_CONSTANT((gint) GST_WEBRTC_DTLS_ROLE_SERVER);
PRINT_CONSTANT((gint) GST_WEBRTC_DTLS_ROLE_UNKNOWN);
PRINT_CONSTANT((gint) GST_WEBRTC_DTLS_SETUP_ACTIVE);
PRINT_CONSTANT((gint) GST_WEBRTC_DTLS_SETUP_ACTPASS);
PRINT_CONSTANT((gint) GST_WEBRTC_DTLS_SETUP_NONE);

View file

@ -9,6 +9,7 @@
int main() {
printf("%s;%zu;%zu\n", "GstWebRTCBundlePolicy", sizeof(GstWebRTCBundlePolicy), alignof(GstWebRTCBundlePolicy));
printf("%s;%zu;%zu\n", "GstWebRTCDTLSRole", sizeof(GstWebRTCDTLSRole), alignof(GstWebRTCDTLSRole));
printf("%s;%zu;%zu\n", "GstWebRTCDTLSSetup", sizeof(GstWebRTCDTLSSetup), alignof(GstWebRTCDTLSSetup));
printf("%s;%zu;%zu\n", "GstWebRTCDTLSTransportState", sizeof(GstWebRTCDTLSTransportState), alignof(GstWebRTCDTLSTransportState));
printf("%s;%zu;%zu\n", "GstWebRTCDataChannelState", sizeof(GstWebRTCDataChannelState), alignof(GstWebRTCDataChannelState));

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 787cf49008c2)