Regenerate with latest GStreamer gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1310>
This commit is contained in:
Sebastian Dröge 2023-10-02 19:44:35 +03:00
parent c0696d872d
commit 44602238d9
59 changed files with 220 additions and 49 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -48,6 +48,22 @@ impl AppSink {
unsafe { ffi::gst_app_sink_get_max_buffers(self.to_glib_none().0) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_get_max_bytes")]
#[doc(alias = "get_max_bytes")]
pub fn max_bytes(&self) -> u64 {
unsafe { ffi::gst_app_sink_get_max_bytes(self.to_glib_none().0) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_get_max_time")]
#[doc(alias = "get_max_time")]
pub fn max_time(&self) -> Option<gst::ClockTime> {
unsafe { from_glib(ffi::gst_app_sink_get_max_time(self.to_glib_none().0)) }
}
#[doc(alias = "gst_app_sink_get_wait_on_eos")]
#[doc(alias = "get_wait_on_eos")]
pub fn is_wait_on_eos(&self) -> bool {
@ -121,6 +137,24 @@ impl AppSink {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_set_max_bytes")]
pub fn set_max_bytes(&self, max: u64) {
unsafe {
ffi::gst_app_sink_set_max_bytes(self.to_glib_none().0, max);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_set_max_time")]
pub fn set_max_time(&self, max: impl Into<Option<gst::ClockTime>>) {
unsafe {
ffi::gst_app_sink_set_max_time(self.to_glib_none().0, max.into().into_glib());
}
}
#[doc(alias = "gst_app_sink_set_wait_on_eos")]
pub fn set_wait_on_eos(&self, wait: bool) {
unsafe {
@ -313,6 +347,64 @@ impl AppSink {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "max-bytes")]
pub fn connect_max_bytes_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_max_bytes_trampoline<
F: Fn(&AppSink) + Send + Sync + 'static,
>(
this: *mut ffi::GstAppSink,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(&from_glib_borrow(this))
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-bytes\0".as_ptr() as *const _,
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
notify_max_bytes_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "max-time")]
pub fn connect_max_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_max_time_trampoline<F: Fn(&AppSink) + Send + Sync + 'static>(
this: *mut ffi::GstAppSink,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(&from_glib_borrow(this))
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-time\0".as_ptr() as *const _,
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
notify_max_time_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[doc(alias = "wait-on-eos")]
pub fn connect_wait_on_eos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -215,6 +215,12 @@ extern "C" {
pub fn gst_app_sink_get_drop(appsink: *mut GstAppSink) -> gboolean;
pub fn gst_app_sink_get_emit_signals(appsink: *mut GstAppSink) -> gboolean;
pub fn gst_app_sink_get_max_buffers(appsink: *mut GstAppSink) -> c_uint;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_get_max_bytes(appsink: *mut GstAppSink) -> u64;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_get_max_time(appsink: *mut GstAppSink) -> gst::GstClockTime;
pub fn gst_app_sink_get_wait_on_eos(appsink: *mut GstAppSink) -> gboolean;
pub fn gst_app_sink_is_eos(appsink: *mut GstAppSink) -> gboolean;
#[cfg(feature = "v1_20")]
@ -233,6 +239,12 @@ extern "C" {
pub fn gst_app_sink_set_drop(appsink: *mut GstAppSink, drop: gboolean);
pub fn gst_app_sink_set_emit_signals(appsink: *mut GstAppSink, emit: gboolean);
pub fn gst_app_sink_set_max_buffers(appsink: *mut GstAppSink, max: c_uint);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_set_max_bytes(appsink: *mut GstAppSink, max: u64);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_set_max_time(appsink: *mut GstAppSink, max: gst::GstClockTime);
pub fn gst_app_sink_set_wait_on_eos(appsink: *mut GstAppSink, wait: gboolean);
#[cfg(feature = "v1_20")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -6,6 +6,24 @@
use crate::{GLDisplay, GLSLProfile, GLSLVersion};
use glib::{prelude::*, translate::*};
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_buffer_pool_config_get_gl_min_free_queue_size")]
pub fn buffer_pool_config_get_gl_min_free_queue_size(config: &gst::Structure) -> u32 {
assert_initialized_main_thread!();
unsafe { ffi::gst_buffer_pool_config_get_gl_min_free_queue_size(config.to_glib_none().0) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_buffer_pool_config_set_gl_min_free_queue_size")]
pub fn buffer_pool_config_set_gl_min_free_queue_size(config: &gst::Structure, queue_size: u32) {
assert_initialized_main_thread!();
unsafe {
ffi::gst_buffer_pool_config_set_gl_min_free_queue_size(config.to_glib_none().0, queue_size);
}
}
#[doc(alias = "gst_gl_check_extension")]
pub fn gl_check_extension(name: &str, ext: &str) -> bool {
assert_initialized_main_thread!();

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -2942,10 +2942,21 @@ extern "C" {
pub fn gst_buffer_pool_config_get_gl_allocation_params(
config: *mut gst::GstStructure,
) -> *mut GstGLAllocationParams;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_buffer_pool_config_get_gl_min_free_queue_size(
config: *mut gst::GstStructure,
) -> c_uint;
pub fn gst_buffer_pool_config_set_gl_allocation_params(
config: *mut gst::GstStructure,
params: *const GstGLAllocationParams,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_buffer_pool_config_set_gl_min_free_queue_size(
config: *mut gst::GstStructure,
queue_size: c_uint,
);
pub fn gst_context_get_gl_display(
context: *mut gst::GstContext,
display: *mut *mut GstGLDisplay,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -793,6 +793,13 @@ extern "C" {
//=========================================================================
// GstRTSPConnection
//=========================================================================
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtsp_connection_add_extra_http_request_header(
conn: *mut GstRTSPConnection,
key: *const c_char,
value: *const c_char,
);
pub fn gst_rtsp_connection_clear_auth_params(conn: *mut GstRTSPConnection);
pub fn gst_rtsp_connection_close(conn: *mut GstRTSPConnection) -> GstRTSPResult;
pub fn gst_rtsp_connection_connect(

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -2144,6 +2144,14 @@ pub enum VideoFormat {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A420_16BE")]
A42016be,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_GBR_16LE")]
Gbr16le,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_GBR_16BE")]
Gbr16be,
#[doc(hidden)]
__Unknown(i32),
}
@ -2368,6 +2376,10 @@ impl IntoGlib for VideoFormat {
Self::A42016le => ffi::GST_VIDEO_FORMAT_A420_16LE,
#[cfg(feature = "v1_24")]
Self::A42016be => ffi::GST_VIDEO_FORMAT_A420_16BE,
#[cfg(feature = "v1_24")]
Self::Gbr16le => ffi::GST_VIDEO_FORMAT_GBR_16LE,
#[cfg(feature = "v1_24")]
Self::Gbr16be => ffi::GST_VIDEO_FORMAT_GBR_16BE,
Self::__Unknown(value) => value,
}
}
@ -2560,6 +2572,10 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
ffi::GST_VIDEO_FORMAT_A420_16LE => Self::A42016le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A420_16BE => Self::A42016be,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_GBR_16LE => Self::Gbr16le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_GBR_16BE => Self::Gbr16be,
value => Self::__Unknown(value),
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -382,6 +382,12 @@ pub const GST_VIDEO_FORMAT_A420_16LE: GstVideoFormat = 129;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A420_16BE: GstVideoFormat = 130;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_GBR_16LE: GstVideoFormat = 131;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_GBR_16BE: GstVideoFormat = 132;
pub type GstVideoGLTextureOrientation = c_int;
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0;

View file

@ -1349,6 +1349,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_GBR_10LE", "50"),
("(gint) GST_VIDEO_FORMAT_GBR_12BE", "68"),
("(gint) GST_VIDEO_FORMAT_GBR_12LE", "69"),
("(gint) GST_VIDEO_FORMAT_GBR_16BE", "132"),
("(gint) GST_VIDEO_FORMAT_GBR_16LE", "131"),
("(gint) GST_VIDEO_FORMAT_GRAY10_LE32", "78"),
("(gint) GST_VIDEO_FORMAT_GRAY16_BE", "26"),
("(gint) GST_VIDEO_FORMAT_GRAY16_LE", "27"),

View file

@ -313,6 +313,8 @@ int main() {
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_10LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_12BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_12LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_16BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_16LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY10_LE32);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY16_BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY16_LE);

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0f2c059e0939)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e23da450405e)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1629,12 +1629,14 @@ impl ::std::fmt::Debug for GstControlSourceClass {
#[repr(C)]
pub struct GstCustomMeta {
pub meta: GstMeta,
pub structure: *mut GstStructure,
}
impl ::std::fmt::Debug for GstCustomMeta {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstCustomMeta @ {self:p}"))
.field("meta", &self.meta)
.field("structure", &self.structure)
.finish()
}
}
@ -5767,6 +5769,9 @@ extern "C" {
user_data: gpointer,
destroy_data: glib::GDestroyNotify,
) -> *const GstMetaInfo;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_meta_register_custom_simple(name: *const c_char) -> *const GstMetaInfo;
//=========================================================================
// GstMetaInfo