Regenerate with latest gir / gir-files / gst-gir-files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
This commit is contained in:
Sebastian Dröge 2023-10-03 19:42:05 +03:00
parent 1a4a725793
commit 44facc5a82
63 changed files with 628 additions and 147 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

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(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(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 @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

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 @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -2317,6 +2317,9 @@ extern "C" {
buf: *mut GstAudioRingBuffer,
position: *const GstAudioChannelPosition,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_audio_ring_buffer_set_errored(buf: *mut GstAudioRingBuffer);
pub fn gst_audio_ring_buffer_set_flushing(buf: *mut GstAudioRingBuffer, flushing: gboolean);
pub fn gst_audio_ring_buffer_set_sample(buf: *mut GstAudioRingBuffer, sample: u64);
pub fn gst_audio_ring_buffer_set_timestamp(

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1706,6 +1706,22 @@ extern "C" {
pub fn gst_queue_array_pop_head_struct(array: *mut GstQueueArray) -> gpointer;
pub fn gst_queue_array_pop_tail(array: *mut GstQueueArray) -> gpointer;
pub fn gst_queue_array_pop_tail_struct(array: *mut GstQueueArray) -> gpointer;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_queue_array_push_sorted(
array: *mut GstQueueArray,
data: gpointer,
func: glib::GCompareDataFunc,
user_data: gpointer,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_queue_array_push_sorted_struct(
array: *mut GstQueueArray,
p_struct: gpointer,
func: glib::GCompareDataFunc,
user_data: gpointer,
);
pub fn gst_queue_array_push_tail(array: *mut GstQueueArray, data: gpointer);
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
#[cfg(feature = "v1_16")]
@ -1714,6 +1730,13 @@ extern "C" {
array: *mut GstQueueArray,
clear_func: glib::GDestroyNotify,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_queue_array_sort(
array: *mut GstQueueArray,
compare_func: glib::GCompareDataFunc,
user_data: gpointer,
);
pub fn gst_queue_array_new(initial_size: c_uint) -> *mut GstQueueArray;
pub fn gst_queue_array_new_for_struct(
struct_size: size_t,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -7,6 +7,24 @@ use crate::{GLDisplay, GLSLProfile, GLSLVersion};
use glib::{prelude::*, translate::*};
use std::mem;
#[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 @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

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 @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -35,6 +35,47 @@ mod sealed {
}
pub trait RTPBaseDepayloadExt: IsA<RTPBaseDepayload> + sealed::Sealed + 'static {
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtp_base_depayload_delayed")]
fn delayed(&self) {
unsafe {
ffi::gst_rtp_base_depayload_delayed(self.as_ref().to_glib_none().0);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtp_base_depayload_dropped")]
fn dropped(&self) {
unsafe {
ffi::gst_rtp_base_depayload_dropped(self.as_ref().to_glib_none().0);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtp_base_depayload_flush")]
fn flush(&self, keep_current: bool) {
unsafe {
ffi::gst_rtp_base_depayload_flush(
self.as_ref().to_glib_none().0,
keep_current.into_glib(),
);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtp_base_depayload_is_aggregate_hdrext_enabled")]
fn is_aggregate_hdrext_enabled(&self) -> bool {
unsafe {
from_glib(ffi::gst_rtp_base_depayload_is_aggregate_hdrext_enabled(
self.as_ref().to_glib_none().0,
))
}
}
#[cfg(feature = "v1_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
#[doc(alias = "gst_rtp_base_depayload_is_source_info_enabled")]
@ -66,6 +107,18 @@ pub trait RTPBaseDepayloadExt: IsA<RTPBaseDepayload> + sealed::Sealed + 'static
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_rtp_base_depayload_set_aggregate_hdrext_enabled")]
fn set_aggregate_hdrext_enabled(&self, enable: bool) {
unsafe {
ffi::gst_rtp_base_depayload_set_aggregate_hdrext_enabled(
self.as_ref().to_glib_none().0,
enable.into_glib(),
);
}
}
#[cfg(feature = "v1_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
#[doc(alias = "gst_rtp_base_depayload_set_source_info_enabled")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1179,6 +1179,23 @@ extern "C" {
// GstRTPBaseDepayload
//=========================================================================
pub fn gst_rtp_base_depayload_get_type() -> GType;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtp_base_depayload_delayed(depayload: *mut GstRTPBaseDepayload);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtp_base_depayload_dropped(depayload: *mut GstRTPBaseDepayload);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtp_base_depayload_flush(
depayload: *mut GstRTPBaseDepayload,
keep_current: gboolean,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtp_base_depayload_is_aggregate_hdrext_enabled(
depayload: *mut GstRTPBaseDepayload,
) -> gboolean;
#[cfg(feature = "v1_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
pub fn gst_rtp_base_depayload_is_source_info_enabled(
@ -1192,6 +1209,12 @@ extern "C" {
filter: *mut GstRTPBaseDepayload,
out_list: *mut gst::GstBufferList,
) -> gst::GstFlowReturn;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_rtp_base_depayload_set_aggregate_hdrext_enabled(
depayload: *mut GstRTPBaseDepayload,
enable: gboolean,
);
#[cfg(feature = "v1_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
pub fn gst_rtp_base_depayload_set_source_info_enabled(

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

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 @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -2067,6 +2067,78 @@ pub enum VideoFormat {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_DMA_DRM")]
DmaDrm,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_MT2110T")]
Mt2110t,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_MT2110R")]
Mt2110r,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A422")]
A422,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A444")]
A444,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A444_12LE")]
A44412le,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A444_12BE")]
A44412be,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A422_12LE")]
A42212le,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A422_12BE")]
A42212be,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A420_12LE")]
A42012le,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A420_12BE")]
A42012be,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A444_16LE")]
A44416le,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A444_16BE")]
A44416be,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A422_16LE")]
A42216le,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A422_16BE")]
A42216be,
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_A420_16LE")]
A42016le,
#[cfg(feature = "v1_24")]
#[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),
}
@ -2259,6 +2331,42 @@ impl IntoGlib for VideoFormat {
Self::Nv1210le404l4 => ffi::GST_VIDEO_FORMAT_NV12_10LE40_4L4,
#[cfg(feature = "v1_24")]
Self::DmaDrm => ffi::GST_VIDEO_FORMAT_DMA_DRM,
#[cfg(feature = "v1_24")]
Self::Mt2110t => ffi::GST_VIDEO_FORMAT_MT2110T,
#[cfg(feature = "v1_24")]
Self::Mt2110r => ffi::GST_VIDEO_FORMAT_MT2110R,
#[cfg(feature = "v1_24")]
Self::A422 => ffi::GST_VIDEO_FORMAT_A422,
#[cfg(feature = "v1_24")]
Self::A444 => ffi::GST_VIDEO_FORMAT_A444,
#[cfg(feature = "v1_24")]
Self::A44412le => ffi::GST_VIDEO_FORMAT_A444_12LE,
#[cfg(feature = "v1_24")]
Self::A44412be => ffi::GST_VIDEO_FORMAT_A444_12BE,
#[cfg(feature = "v1_24")]
Self::A42212le => ffi::GST_VIDEO_FORMAT_A422_12LE,
#[cfg(feature = "v1_24")]
Self::A42212be => ffi::GST_VIDEO_FORMAT_A422_12BE,
#[cfg(feature = "v1_24")]
Self::A42012le => ffi::GST_VIDEO_FORMAT_A420_12LE,
#[cfg(feature = "v1_24")]
Self::A42012be => ffi::GST_VIDEO_FORMAT_A420_12BE,
#[cfg(feature = "v1_24")]
Self::A44416le => ffi::GST_VIDEO_FORMAT_A444_16LE,
#[cfg(feature = "v1_24")]
Self::A44416be => ffi::GST_VIDEO_FORMAT_A444_16BE,
#[cfg(feature = "v1_24")]
Self::A42216le => ffi::GST_VIDEO_FORMAT_A422_16LE,
#[cfg(feature = "v1_24")]
Self::A42216be => ffi::GST_VIDEO_FORMAT_A422_16BE,
#[cfg(feature = "v1_24")]
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,
}
}
@ -2419,6 +2527,42 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
ffi::GST_VIDEO_FORMAT_NV12_10LE40_4L4 => Self::Nv1210le404l4,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_DMA_DRM => Self::DmaDrm,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_MT2110T => Self::Mt2110t,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_MT2110R => Self::Mt2110r,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A422 => Self::A422,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A444 => Self::A444,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A444_12LE => Self::A44412le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A444_12BE => Self::A44412be,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A422_12LE => Self::A42212le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A422_12BE => Self::A42212be,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A420_12LE => Self::A42012le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A420_12BE => Self::A42012be,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A444_16LE => Self::A44416le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A444_16BE => Self::A44416be,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A422_16LE => Self::A42216le,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_A422_16BE => Self::A42216be,
#[cfg(feature = "v1_24")]
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 @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -334,6 +334,60 @@ pub const GST_VIDEO_FORMAT_NV12_10LE40_4L4: GstVideoFormat = 113;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_DMA_DRM: GstVideoFormat = 114;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_MT2110T: GstVideoFormat = 115;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_MT2110R: GstVideoFormat = 116;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A422: GstVideoFormat = 117;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A444: GstVideoFormat = 118;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A444_12LE: GstVideoFormat = 119;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A444_12BE: GstVideoFormat = 120;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A422_12LE: GstVideoFormat = 121;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A422_12BE: GstVideoFormat = 122;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A420_12LE: GstVideoFormat = 123;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A420_12BE: GstVideoFormat = 124;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A444_16LE: GstVideoFormat = 125;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A444_16BE: GstVideoFormat = 126;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A422_16LE: GstVideoFormat = 127;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_A422_16BE: GstVideoFormat = 128;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
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

@ -1286,10 +1286,24 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_A420", "34"),
("(gint) GST_VIDEO_FORMAT_A420_10BE", "54"),
("(gint) GST_VIDEO_FORMAT_A420_10LE", "55"),
("(gint) GST_VIDEO_FORMAT_A420_12BE", "124"),
("(gint) GST_VIDEO_FORMAT_A420_12LE", "123"),
("(gint) GST_VIDEO_FORMAT_A420_16BE", "130"),
("(gint) GST_VIDEO_FORMAT_A420_16LE", "129"),
("(gint) GST_VIDEO_FORMAT_A422", "117"),
("(gint) GST_VIDEO_FORMAT_A422_10BE", "56"),
("(gint) GST_VIDEO_FORMAT_A422_10LE", "57"),
("(gint) GST_VIDEO_FORMAT_A422_12BE", "122"),
("(gint) GST_VIDEO_FORMAT_A422_12LE", "121"),
("(gint) GST_VIDEO_FORMAT_A422_16BE", "128"),
("(gint) GST_VIDEO_FORMAT_A422_16LE", "127"),
("(gint) GST_VIDEO_FORMAT_A444", "118"),
("(gint) GST_VIDEO_FORMAT_A444_10BE", "58"),
("(gint) GST_VIDEO_FORMAT_A444_10LE", "59"),
("(gint) GST_VIDEO_FORMAT_A444_12BE", "120"),
("(gint) GST_VIDEO_FORMAT_A444_12LE", "119"),
("(gint) GST_VIDEO_FORMAT_A444_16BE", "126"),
("(gint) GST_VIDEO_FORMAT_A444_16LE", "125"),
("(gint) GST_VIDEO_FORMAT_ABGR", "14"),
("(gint) GST_VIDEO_FORMAT_ABGR64_BE", "109"),
("(gint) GST_VIDEO_FORMAT_ABGR64_LE", "108"),
@ -1331,6 +1345,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"),
@ -1346,6 +1362,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"),
("(gint) GST_VIDEO_FORMAT_IYU1", "38"),
("(gint) GST_VIDEO_FORMAT_IYU2", "63"),
("(gint) GST_VIDEO_FORMAT_MT2110R", "116"),
("(gint) GST_VIDEO_FORMAT_MT2110T", "115"),
("(gint) GST_VIDEO_FORMAT_NV12", "23"),
("(gint) GST_VIDEO_FORMAT_NV12_10BE_8L128", "112"),
("(gint) GST_VIDEO_FORMAT_NV12_10LE32", "79"),

View file

@ -254,10 +254,24 @@ int main() {
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420_10BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420_10LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420_12BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420_12LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420_16BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A420_16LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422_10BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422_10LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422_12BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422_12LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422_16BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A422_16LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444_10BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444_10LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444_12BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444_12LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444_16BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_A444_16LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_ABGR);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_ABGR64_BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_ABGR64_LE);
@ -299,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);
@ -314,6 +330,8 @@ int main() {
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_I422_12LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_IYU1);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_IYU2);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_MT2110R);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_MT2110T);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_10BE_8L128);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_10LE32);

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 670d50ca926f)
from gir-files (https://github.com/gtk-rs/gir-files @ fe2e443df809)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
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)

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