Regenerate with latest GStreamer gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1440>
This commit is contained in:
Sebastian Dröge 2024-05-10 09:52:12 +03:00
parent b8dbfc66ca
commit 5af4a262b8
58 changed files with 293 additions and 104 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -58,6 +58,25 @@ pub fn codec_utils_aac_get_sample_rate_from_index(sr_idx: u32) -> u32 {
unsafe { ffi::gst_codec_utils_aac_get_sample_rate_from_index(sr_idx) }
}
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
#[doc(alias = "gst_codec_utils_av1_get_level")]
pub fn codec_utils_av1_get_level(seq_level_idx: u8) -> Result<glib::GString, glib::BoolError> {
assert_initialized_main_thread!();
unsafe {
Option::<_>::from_glib_none(ffi::gst_codec_utils_av1_get_level(seq_level_idx))
.ok_or_else(|| glib::bool_error!("Failed to get AV1 level"))
}
}
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
#[doc(alias = "gst_codec_utils_av1_get_seq_level_idx")]
pub fn codec_utils_av1_get_seq_level_idx(level: &str) -> u8 {
assert_initialized_main_thread!();
unsafe { ffi::gst_codec_utils_av1_get_seq_level_idx(level.to_glib_none().0) }
}
#[cfg(feature = "v1_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
#[doc(alias = "gst_codec_utils_caps_from_mime_codec")]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -821,6 +821,12 @@ extern "C" {
pub fn gst_codec_utils_aac_get_profile(audio_config: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_aac_get_sample_rate(audio_config: *const u8, len: c_uint) -> c_uint;
pub fn gst_codec_utils_aac_get_sample_rate_from_index(sr_idx: c_uint) -> c_uint;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_codec_utils_av1_get_level(seq_level_idx: u8) -> *const c_char;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_codec_utils_av1_get_seq_level_idx(level: *const c_char) -> u8;
#[cfg(feature = "v1_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
pub fn gst_codec_utils_caps_from_mime_codec(codecs_field: *const c_char) -> *mut gst::GstCaps;

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -2570,6 +2570,22 @@ pub enum VideoFormat {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "GST_VIDEO_FORMAT_RBGA")]
Rbga,
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
#[doc(alias = "GST_VIDEO_FORMAT_Y216_LE")]
Y216Le,
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
#[doc(alias = "GST_VIDEO_FORMAT_Y216_BE")]
Y216Be,
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
#[doc(alias = "GST_VIDEO_FORMAT_Y416_LE")]
Y416Le,
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
#[doc(alias = "GST_VIDEO_FORMAT_Y416_BE")]
Y416Be,
#[doc(hidden)]
__Unknown(i32),
}
@ -2800,6 +2816,14 @@ impl IntoGlib for VideoFormat {
Self::Gbr16be => ffi::GST_VIDEO_FORMAT_GBR_16BE,
#[cfg(feature = "v1_24")]
Self::Rbga => ffi::GST_VIDEO_FORMAT_RBGA,
#[cfg(feature = "v1_26")]
Self::Y216Le => ffi::GST_VIDEO_FORMAT_Y216_LE,
#[cfg(feature = "v1_26")]
Self::Y216Be => ffi::GST_VIDEO_FORMAT_Y216_BE,
#[cfg(feature = "v1_26")]
Self::Y416Le => ffi::GST_VIDEO_FORMAT_Y416_LE,
#[cfg(feature = "v1_26")]
Self::Y416Be => ffi::GST_VIDEO_FORMAT_Y416_BE,
Self::__Unknown(value) => value,
}
}
@ -2998,6 +3022,14 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
ffi::GST_VIDEO_FORMAT_GBR_16BE => Self::Gbr16be,
#[cfg(feature = "v1_24")]
ffi::GST_VIDEO_FORMAT_RBGA => Self::Rbga,
#[cfg(feature = "v1_26")]
ffi::GST_VIDEO_FORMAT_Y216_LE => Self::Y216Le,
#[cfg(feature = "v1_26")]
ffi::GST_VIDEO_FORMAT_Y216_BE => Self::Y216Be,
#[cfg(feature = "v1_26")]
ffi::GST_VIDEO_FORMAT_Y416_LE => Self::Y416Le,
#[cfg(feature = "v1_26")]
ffi::GST_VIDEO_FORMAT_Y416_BE => Self::Y416Be,
value => Self::__Unknown(value),
}
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -407,6 +407,18 @@ pub const GST_VIDEO_FORMAT_GBR_16BE: GstVideoFormat = 132;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub const GST_VIDEO_FORMAT_RBGA: GstVideoFormat = 133;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub const GST_VIDEO_FORMAT_Y216_LE: GstVideoFormat = 134;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub const GST_VIDEO_FORMAT_Y216_BE: GstVideoFormat = 135;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub const GST_VIDEO_FORMAT_Y416_LE: GstVideoFormat = 136;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub const GST_VIDEO_FORMAT_Y416_BE: GstVideoFormat = 137;
pub type GstVideoGLTextureOrientation = c_int;
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0;
@ -594,7 +606,7 @@ pub const GST_VIDEO_DECODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_VIDEO_DECODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_VIDEO_ENCODER_SINK_NAME: &[u8] = b"sink\0";
pub const GST_VIDEO_ENCODER_SRC_NAME: &[u8] = b"src\0";
pub const GST_VIDEO_FORMAT_LAST: c_int = 134;
pub const GST_VIDEO_FORMAT_LAST: c_int = 138;
pub const GST_VIDEO_FPS_RANGE: &[u8] = b"(fraction) [ 0, max ]\0";
pub const GST_VIDEO_MAX_COMPONENTS: c_int = 4;
pub const GST_VIDEO_MAX_PLANES: c_int = 4;

View file

@ -1384,7 +1384,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"),
("(gint) GST_VIDEO_FORMAT_IYU1", "38"),
("(gint) GST_VIDEO_FORMAT_IYU2", "63"),
("GST_VIDEO_FORMAT_LAST", "134"),
("GST_VIDEO_FORMAT_LAST", "138"),
("(gint) GST_VIDEO_FORMAT_MT2110R", "116"),
("(gint) GST_VIDEO_FORMAT_MT2110T", "115"),
("(gint) GST_VIDEO_FORMAT_NV12", "23"),
@ -1427,9 +1427,13 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_VIDEO_FORMAT_Y210", "82"),
("(gint) GST_VIDEO_FORMAT_Y212_BE", "93"),
("(gint) GST_VIDEO_FORMAT_Y212_LE", "94"),
("(gint) GST_VIDEO_FORMAT_Y216_BE", "135"),
("(gint) GST_VIDEO_FORMAT_Y216_LE", "134"),
("(gint) GST_VIDEO_FORMAT_Y410", "83"),
("(gint) GST_VIDEO_FORMAT_Y412_BE", "95"),
("(gint) GST_VIDEO_FORMAT_Y412_LE", "96"),
("(gint) GST_VIDEO_FORMAT_Y416_BE", "137"),
("(gint) GST_VIDEO_FORMAT_Y416_LE", "136"),
("(gint) GST_VIDEO_FORMAT_Y41B", "17"),
("(gint) GST_VIDEO_FORMAT_Y42B", "18"),
("(gint) GST_VIDEO_FORMAT_Y444", "20"),

View file

@ -377,9 +377,13 @@ int main() {
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y210);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y212_BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y212_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y216_BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y216_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y410);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y412_BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y412_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y416_BE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y416_LE);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y41B);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y42B);
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_Y444);

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)

View file

@ -3082,6 +3082,14 @@ impl ::std::fmt::Debug for GstValueTable {
}
}
#[repr(C)]
pub struct _GstVecDeque {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
pub type GstVecDeque = _GstVecDeque;
// Classes
#[derive(Copy, Clone)]
#[repr(C)]
@ -7109,6 +7117,110 @@ extern "C" {
pub fn gst_uri_protocol_is_supported(type_: GstURIType, protocol: *const c_char) -> gboolean;
pub fn gst_uri_protocol_is_valid(protocol: *const c_char) -> gboolean;
//=========================================================================
// GstVecDeque
//=========================================================================
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_clear(array: *mut GstVecDeque);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_drop_element(array: *mut GstVecDeque, idx: size_t) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_drop_struct(
array: *mut GstVecDeque,
idx: size_t,
p_struct: gpointer,
) -> gboolean;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_find(
array: *mut GstVecDeque,
func: glib::GCompareFunc,
data: gpointer,
) -> size_t;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_free(array: *mut GstVecDeque);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_get_length(array: *mut GstVecDeque) -> size_t;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_is_empty(array: *mut GstVecDeque) -> gboolean;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_peek_head(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_peek_head_struct(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_peek_nth(array: *mut GstVecDeque, idx: size_t) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_peek_nth_struct(array: *mut GstVecDeque, idx: size_t) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_peek_tail(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_peek_tail_struct(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_pop_head(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_pop_head_struct(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_pop_tail(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_pop_tail_struct(array: *mut GstVecDeque) -> gpointer;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_push_sorted(
array: *mut GstVecDeque,
data: gpointer,
func: glib::GCompareDataFunc,
user_data: gpointer,
);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_push_sorted_struct(
array: *mut GstVecDeque,
p_struct: gpointer,
func: glib::GCompareDataFunc,
user_data: gpointer,
);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_push_tail(array: *mut GstVecDeque, data: gpointer);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_push_tail_struct(array: *mut GstVecDeque, p_struct: gpointer);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_set_clear_func(array: *mut GstVecDeque, clear_func: glib::GDestroyNotify);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_sort(
array: *mut GstVecDeque,
compare_func: glib::GCompareDataFunc,
user_data: gpointer,
);
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_new(initial_size: size_t) -> *mut GstVecDeque;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_vec_deque_new_for_struct(
struct_size: size_t,
initial_size: size_t,
) -> *mut GstVecDeque;
//=========================================================================
// GstAllocator
//=========================================================================