diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-allocators/src/auto/versions.txt +++ b/gstreamer-allocators/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index f307e1ef8..da76c1860 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -40,6 +40,12 @@ pub trait AggregatorExt: 'static { #[doc(alias = "get_buffer_pool")] fn buffer_pool(&self) -> Option; + #[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) -> Option; + #[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> 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> 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) { diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index b13b0f562..7a22fce09 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -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; } diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-play/src/auto/versions.txt +++ b/gstreamer-play/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 420cada68..4ef4d344b 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -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 diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 6e40c95d6..e1fa9b8a1 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -870,6 +870,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstVideoTileInfo", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ( "GstVideoTileMode", Layout { diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 1d6610f4b..54528bbde 100644 --- a/gstreamer-video/sys/tests/layout.c +++ b/gstreamer-video/sys/tests/layout.c @@ -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)); diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-webrtc/src/auto/web_rtcice.rs b/gstreamer-webrtc/src/auto/web_rtcice.rs index 0768c66ce..f1865d0c5 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice.rs @@ -55,6 +55,10 @@ pub trait WebRTCICEExt: 'static { #[doc(alias = "gst_webrtc_ice_gather_candidates")] fn gather_candidates(&self, stream: &impl IsA) -> 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> 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> 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( diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index d00cdaf83..351e35056 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -248,6 +248,8 @@ pub struct GstWebRTCICEClass { pub get_stun_server: Option *mut c_char>, pub set_turn_server: Option, pub get_turn_server: Option *mut c_char>, + pub set_http_proxy: Option, + pub get_http_proxy: Option *mut c_char>, pub set_tos: Option, 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")))] diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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) diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index 181f4fdd1..3bc01f868 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ e79806af2905) 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)