mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-21 23:56:33 +00:00
Regenerate with latest GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1153>
This commit is contained in:
parent
1ee4845544
commit
cbfc19ccfc
56 changed files with 208 additions and 58 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -40,6 +40,12 @@ pub trait AggregatorExt: 'static {
|
|||
#[doc(alias = "get_buffer_pool")]
|
||||
fn buffer_pool(&self) -> Option<gst::BufferPool>;
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "gst_aggregator_get_force_live")]
|
||||
#[doc(alias = "get_force_live")]
|
||||
fn is_force_live(&self) -> bool;
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "gst_aggregator_get_ignore_inactive_pads")]
|
||||
|
@ -60,6 +66,11 @@ pub trait AggregatorExt: 'static {
|
|||
#[doc(alias = "gst_aggregator_peek_next_sample")]
|
||||
fn peek_next_sample(&self, pad: &impl IsA<AggregatorPad>) -> Option<gst::Sample>;
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "gst_aggregator_set_force_live")]
|
||||
fn set_force_live(&self, force_live: bool);
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "gst_aggregator_set_ignore_inactive_pads")]
|
||||
|
@ -142,6 +153,16 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
fn is_force_live(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_aggregator_get_force_live(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
fn ignores_inactive_pads(&self) -> bool {
|
||||
|
@ -181,6 +202,17 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
fn set_force_live(&self, force_live: bool) {
|
||||
unsafe {
|
||||
ffi::gst_aggregator_set_force_live(
|
||||
self.as_ref().to_glib_none().0,
|
||||
force_live.into_glib(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
fn set_ignore_inactive_pads(&self, ignore: bool) {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1001,6 +1001,14 @@ pub struct _GstQueueArray {
|
|||
|
||||
pub type GstQueueArray = *mut _GstQueueArray;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct _GstTypeFindData {
|
||||
_data: [u8; 0],
|
||||
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
|
||||
}
|
||||
|
||||
pub type GstTypeFindData = *mut _GstTypeFindData;
|
||||
|
||||
// Classes
|
||||
#[repr(C)]
|
||||
pub struct GstAdapter {
|
||||
|
@ -1712,6 +1720,31 @@ extern "C" {
|
|||
initial_size: c_uint,
|
||||
) -> *mut GstQueueArray;
|
||||
|
||||
//=========================================================================
|
||||
// GstTypeFindData
|
||||
//=========================================================================
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_data_free(data: *mut GstTypeFindData);
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_data_get_caps(data: *mut GstTypeFindData) -> *mut gst::GstCaps;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_data_get_probability(
|
||||
data: *mut GstTypeFindData,
|
||||
) -> gst::GstTypeFindProbability;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_data_get_typefind(data: *mut GstTypeFindData) -> *mut gst::GstTypeFind;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_data_new(
|
||||
obj: *mut gst::GstObject,
|
||||
data: *const u8,
|
||||
size: size_t,
|
||||
) -> *mut GstTypeFindData;
|
||||
|
||||
//=========================================================================
|
||||
// GstAdapter
|
||||
//=========================================================================
|
||||
|
@ -1805,6 +1838,9 @@ extern "C" {
|
|||
params: *mut gst::GstAllocationParams,
|
||||
);
|
||||
pub fn gst_aggregator_get_buffer_pool(self_: *mut GstAggregator) -> *mut gst::GstBufferPool;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_aggregator_get_force_live(self_: *mut GstAggregator) -> gboolean;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_aggregator_get_ignore_inactive_pads(self_: *mut GstAggregator) -> gboolean;
|
||||
|
@ -1827,6 +1863,9 @@ extern "C" {
|
|||
duration: gst::GstClockTime,
|
||||
info: *mut gst::GstStructure,
|
||||
);
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_aggregator_set_force_live(self_: *mut GstAggregator, force_live: gboolean);
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_aggregator_set_ignore_inactive_pads(self_: *mut GstAggregator, ignore: gboolean);
|
||||
|
@ -2233,6 +2272,14 @@ extern "C" {
|
|||
buf: *mut gst::GstBuffer,
|
||||
prob: *mut gst::GstTypeFindProbability,
|
||||
) -> *mut gst::GstCaps;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_helper_for_buffer_with_caps(
|
||||
obj: *mut gst::GstObject,
|
||||
buf: *mut gst::GstBuffer,
|
||||
caps: *mut gst::GstCaps,
|
||||
prob: *mut gst::GstTypeFindProbability,
|
||||
) -> *mut gst::GstCaps;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn gst_type_find_helper_for_buffer_with_extension(
|
||||
|
@ -2247,6 +2294,15 @@ extern "C" {
|
|||
size: size_t,
|
||||
prob: *mut gst::GstTypeFindProbability,
|
||||
) -> *mut gst::GstCaps;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_helper_for_data_with_caps(
|
||||
obj: *mut gst::GstObject,
|
||||
data: *const u8,
|
||||
size: size_t,
|
||||
caps: *mut gst::GstCaps,
|
||||
prob: *mut gst::GstTypeFindProbability,
|
||||
) -> *mut gst::GstCaps;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn gst_type_find_helper_for_data_with_extension(
|
||||
|
@ -2279,5 +2335,11 @@ extern "C" {
|
|||
caps: *mut *mut gst::GstCaps,
|
||||
prob: *mut gst::GstTypeFindProbability,
|
||||
) -> gst::GstFlowReturn;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_type_find_list_factories_for_caps(
|
||||
obj: *mut gst::GstObject,
|
||||
caps: *mut gst::GstCaps,
|
||||
) -> *mut glib::GList;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1584,7 +1584,7 @@ pub struct GstVideoFormatInfo {
|
|||
pub tile_mode: GstVideoTileMode,
|
||||
pub tile_ws: c_uint,
|
||||
pub tile_hs: c_uint,
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
pub tile_info: [GstVideoTileInfo; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstVideoFormatInfo {
|
||||
|
@ -1611,6 +1611,7 @@ impl ::std::fmt::Debug for GstVideoFormatInfo {
|
|||
.field("tile_mode", &self.tile_mode)
|
||||
.field("tile_ws", &self.tile_ws)
|
||||
.field("tile_hs", &self.tile_hs)
|
||||
.field("tile_info", &self.tile_info)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -2070,6 +2071,27 @@ pub struct _GstVideoSinkPrivate {
|
|||
|
||||
pub type GstVideoSinkPrivate = *mut _GstVideoSinkPrivate;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstVideoTileInfo {
|
||||
pub width: c_uint,
|
||||
pub height: c_uint,
|
||||
pub stride: c_uint,
|
||||
pub size: c_uint,
|
||||
pub padding: [u32; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstVideoTileInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstVideoTileInfo @ {self:p}"))
|
||||
.field("width", &self.width)
|
||||
.field("height", &self.height)
|
||||
.field("stride", &self.stride)
|
||||
.field("size", &self.size)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstVideoTimeCode {
|
||||
|
@ -3031,14 +3053,6 @@ extern "C" {
|
|||
plane: c_int,
|
||||
stride: c_int,
|
||||
) -> c_int;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_video_format_info_get_tile_sizes(
|
||||
finfo: *const GstVideoFormatInfo,
|
||||
plane: c_uint,
|
||||
out_ws: *mut c_uint,
|
||||
out_hs: *mut c_uint,
|
||||
) -> c_uint;
|
||||
|
||||
//=========================================================================
|
||||
// GstVideoFrame
|
||||
|
|
|
@ -870,6 +870,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
|||
alignment: align_of::<GstVideoSinkClass>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstVideoTileInfo",
|
||||
Layout {
|
||||
size: size_of::<GstVideoTileInfo>(),
|
||||
alignment: align_of::<GstVideoTileInfo>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstVideoTileMode",
|
||||
Layout {
|
||||
|
|
|
@ -104,6 +104,7 @@ int main() {
|
|||
printf("%s;%zu;%zu\n", "GstVideoScalerFlags", sizeof(GstVideoScalerFlags), alignof(GstVideoScalerFlags));
|
||||
printf("%s;%zu;%zu\n", "GstVideoSink", sizeof(GstVideoSink), alignof(GstVideoSink));
|
||||
printf("%s;%zu;%zu\n", "GstVideoSinkClass", sizeof(GstVideoSinkClass), alignof(GstVideoSinkClass));
|
||||
printf("%s;%zu;%zu\n", "GstVideoTileInfo", sizeof(GstVideoTileInfo), alignof(GstVideoTileInfo));
|
||||
printf("%s;%zu;%zu\n", "GstVideoTileMode", sizeof(GstVideoTileMode), alignof(GstVideoTileMode));
|
||||
printf("%s;%zu;%zu\n", "GstVideoTileType", sizeof(GstVideoTileType), alignof(GstVideoTileType));
|
||||
printf("%s;%zu;%zu\n", "GstVideoTimeCode", sizeof(GstVideoTimeCode), alignof(GstVideoTimeCode));
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -55,6 +55,10 @@ pub trait WebRTCICEExt: 'static {
|
|||
#[doc(alias = "gst_webrtc_ice_gather_candidates")]
|
||||
fn gather_candidates(&self, stream: &impl IsA<WebRTCICEStream>) -> bool;
|
||||
|
||||
#[doc(alias = "gst_webrtc_ice_get_http_proxy")]
|
||||
#[doc(alias = "get_http_proxy")]
|
||||
fn http_proxy(&self) -> glib::GString;
|
||||
|
||||
#[doc(alias = "gst_webrtc_ice_get_is_controller")]
|
||||
#[doc(alias = "get_is_controller")]
|
||||
fn is_controller(&self) -> bool;
|
||||
|
@ -86,6 +90,9 @@ pub trait WebRTCICEExt: 'static {
|
|||
#[doc(alias = "gst_webrtc_ice_set_force_relay")]
|
||||
fn set_force_relay(&self, force_relay: bool);
|
||||
|
||||
#[doc(alias = "gst_webrtc_ice_set_http_proxy")]
|
||||
fn set_http_proxy(&self, uri: &str);
|
||||
|
||||
#[doc(alias = "gst_webrtc_ice_set_is_controller")]
|
||||
fn set_is_controller(&self, controller: bool);
|
||||
|
||||
|
@ -214,6 +221,14 @@ impl<O: IsA<WebRTCICE>> WebRTCICEExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn http_proxy(&self) -> glib::GString {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_webrtc_ice_get_http_proxy(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
fn is_controller(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_webrtc_ice_get_is_controller(
|
||||
|
@ -289,6 +304,15 @@ impl<O: IsA<WebRTCICE>> WebRTCICEExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_http_proxy(&self, uri: &str) {
|
||||
unsafe {
|
||||
ffi::gst_webrtc_ice_set_http_proxy(
|
||||
self.as_ref().to_glib_none().0,
|
||||
uri.to_glib_none().0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
fn set_is_controller(&self, controller: bool) {
|
||||
unsafe {
|
||||
ffi::gst_webrtc_ice_set_is_controller(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -248,6 +248,8 @@ pub struct GstWebRTCICEClass {
|
|||
pub get_stun_server: Option<unsafe extern "C" fn(*mut GstWebRTCICE) -> *mut c_char>,
|
||||
pub set_turn_server: Option<unsafe extern "C" fn(*mut GstWebRTCICE, *const c_char)>,
|
||||
pub get_turn_server: Option<unsafe extern "C" fn(*mut GstWebRTCICE) -> *mut c_char>,
|
||||
pub set_http_proxy: Option<unsafe extern "C" fn(*mut GstWebRTCICE, *const c_char)>,
|
||||
pub get_http_proxy: Option<unsafe extern "C" fn(*mut GstWebRTCICE) -> *mut c_char>,
|
||||
pub set_tos: Option<unsafe extern "C" fn(*mut GstWebRTCICE, *mut GstWebRTCICEStream, c_uint)>,
|
||||
pub set_on_ice_candidate: Option<
|
||||
unsafe extern "C" fn(
|
||||
|
@ -298,6 +300,8 @@ impl ::std::fmt::Debug for GstWebRTCICEClass {
|
|||
.field("get_stun_server", &self.get_stun_server)
|
||||
.field("set_turn_server", &self.set_turn_server)
|
||||
.field("get_turn_server", &self.get_turn_server)
|
||||
.field("set_http_proxy", &self.set_http_proxy)
|
||||
.field("get_http_proxy", &self.get_http_proxy)
|
||||
.field("set_tos", &self.set_tos)
|
||||
.field("set_on_ice_candidate", &self.set_on_ice_candidate)
|
||||
.field("get_local_candidates", &self.get_local_candidates)
|
||||
|
@ -768,6 +772,9 @@ extern "C" {
|
|||
) -> gboolean;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_webrtc_ice_get_http_proxy(ice: *mut GstWebRTCICE) -> *mut c_char;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_webrtc_ice_get_is_controller(ice: *mut GstWebRTCICE) -> gboolean;
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
|
@ -800,6 +807,9 @@ extern "C" {
|
|||
pub fn gst_webrtc_ice_set_force_relay(ice: *mut GstWebRTCICE, force_relay: gboolean);
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_webrtc_ice_set_http_proxy(ice: *mut GstWebRTCICE, uri: *const c_char);
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_webrtc_ice_set_is_controller(ice: *mut GstWebRTCICE, controller: gboolean);
|
||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51)
|
||||
|
|
Loading…
Reference in a new issue