mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
Regenerate with latest GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1368>
This commit is contained in:
parent
003ebbdf1c
commit
26611a66bd
60 changed files with 185 additions and 52 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -206,6 +206,13 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "automatic-eos")]
|
||||
fn is_automatic_eos(&self) -> bool {
|
||||
ObjectExt::property(self.as_ref(), "automatic-eos")
|
||||
}
|
||||
|
||||
#[doc(alias = "num-buffers")]
|
||||
fn num_buffers(&self) -> i32 {
|
||||
ObjectExt::property(self.as_ref(), "num-buffers")
|
||||
|
@ -224,6 +231,37 @@ pub trait BaseSrcExt: IsA<BaseSrc> + sealed::Sealed + 'static {
|
|||
ObjectExt::set_property(self.as_ref(), "typefind", typefind)
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "automatic-eos")]
|
||||
fn connect_automatic_eos_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_automatic_eos_trampoline<
|
||||
P: IsA<BaseSrc>,
|
||||
F: Fn(&P) + Send + Sync + 'static,
|
||||
>(
|
||||
this: *mut ffi::GstBaseSrc,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(BaseSrc::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::automatic-eos\0".as_ptr() as *const _,
|
||||
Some(std::mem::transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_automatic_eos_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "blocksize")]
|
||||
fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -88,7 +88,7 @@ pub trait TrackElementExt: IsA<TrackElement> + sealed::Sealed + 'static {
|
|||
|
||||
//#[doc(alias = "ges_track_element_get_all_control_bindings")]
|
||||
//#[doc(alias = "get_all_control_bindings")]
|
||||
//fn all_control_bindings(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 6, id: 87 } {
|
||||
//fn all_control_bindings(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 6, id: 88 } {
|
||||
// unsafe { TODO: call ffi:ges_track_element_get_all_control_bindings() }
|
||||
//}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -355,10 +355,21 @@ extern "C" {
|
|||
//=========================================================================
|
||||
pub fn gst_play_get_type() -> GType;
|
||||
pub fn gst_play_new(video_renderer: *mut GstPlayVideoRenderer) -> *mut GstPlay;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_play_config_get_pipeline_dump_in_error_details(
|
||||
config: *const gst::GstStructure,
|
||||
) -> gboolean;
|
||||
pub fn gst_play_config_get_position_update_interval(config: *const gst::GstStructure)
|
||||
-> c_uint;
|
||||
pub fn gst_play_config_get_seek_accurate(config: *const gst::GstStructure) -> gboolean;
|
||||
pub fn gst_play_config_get_user_agent(config: *const gst::GstStructure) -> *mut c_char;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_play_config_set_pipeline_dump_in_error_details(
|
||||
config: *mut gst::GstStructure,
|
||||
value: gboolean,
|
||||
);
|
||||
pub fn gst_play_config_set_position_update_interval(
|
||||
config: *mut gst::GstStructure,
|
||||
interval: c_uint,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -2440,6 +2440,10 @@ pub enum VideoFormat {
|
|||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "GST_VIDEO_FORMAT_GBR_16BE")]
|
||||
Gbr16be,
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "GST_VIDEO_FORMAT_RBGA")]
|
||||
Rbga,
|
||||
#[doc(hidden)]
|
||||
__Unknown(i32),
|
||||
}
|
||||
|
@ -2668,6 +2672,8 @@ impl IntoGlib for VideoFormat {
|
|||
Self::Gbr16le => ffi::GST_VIDEO_FORMAT_GBR_16LE,
|
||||
#[cfg(feature = "v1_24")]
|
||||
Self::Gbr16be => ffi::GST_VIDEO_FORMAT_GBR_16BE,
|
||||
#[cfg(feature = "v1_24")]
|
||||
Self::Rbga => ffi::GST_VIDEO_FORMAT_RBGA,
|
||||
Self::__Unknown(value) => value,
|
||||
}
|
||||
}
|
||||
|
@ -2864,6 +2870,8 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
|
|||
ffi::GST_VIDEO_FORMAT_GBR_16LE => Self::Gbr16le,
|
||||
#[cfg(feature = "v1_24")]
|
||||
ffi::GST_VIDEO_FORMAT_GBR_16BE => Self::Gbr16be,
|
||||
#[cfg(feature = "v1_24")]
|
||||
ffi::GST_VIDEO_FORMAT_RBGA => Self::Rbga,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -388,6 +388,9 @@ pub const GST_VIDEO_FORMAT_GBR_16LE: GstVideoFormat = 131;
|
|||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub const GST_VIDEO_FORMAT_GBR_16BE: GstVideoFormat = 132;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub const GST_VIDEO_FORMAT_RBGA: GstVideoFormat = 133;
|
||||
|
||||
pub type GstVideoGLTextureOrientation = c_int;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0;
|
||||
|
@ -4412,8 +4415,8 @@ extern "C" {
|
|||
width: c_uint,
|
||||
height: c_uint,
|
||||
n_planes: c_uint,
|
||||
offset: *mut [size_t; 4],
|
||||
stride: *mut [c_int; 4],
|
||||
offset: *const [size_t; 4],
|
||||
stride: *const [c_int; 4],
|
||||
) -> *mut GstVideoMeta;
|
||||
pub fn gst_buffer_add_video_overlay_composition_meta(
|
||||
buf: *mut gst::GstBuffer,
|
||||
|
|
|
@ -1389,6 +1389,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_VIDEO_FORMAT_P012_LE", "92"),
|
||||
("(gint) GST_VIDEO_FORMAT_P016_BE", "89"),
|
||||
("(gint) GST_VIDEO_FORMAT_P016_LE", "90"),
|
||||
("(gint) GST_VIDEO_FORMAT_RBGA", "133"),
|
||||
("(gint) GST_VIDEO_FORMAT_RGB", "15"),
|
||||
("(gint) GST_VIDEO_FORMAT_RGB10A2_LE", "86"),
|
||||
("(gint) GST_VIDEO_FORMAT_RGB15", "31"),
|
||||
|
|
|
@ -353,6 +353,7 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_P012_LE);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_P016_BE);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_P016_LE);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RBGA);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB10A2_LE);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB15);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62)
|
||||
|
|
|
@ -910,6 +910,9 @@ pub const GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO: GstSegmentFlags = 256;
|
|||
pub type GstSerializeFlags = c_uint;
|
||||
pub const GST_SERIALIZE_FLAG_NONE: GstSerializeFlags = 0;
|
||||
pub const GST_SERIALIZE_FLAG_BACKWARD_COMPAT: GstSerializeFlags = 1;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub const GST_SERIALIZE_FLAG_STRICT: GstSerializeFlags = 2;
|
||||
|
||||
pub type GstStackTraceFlags = c_uint;
|
||||
pub const GST_STACK_TRACE_SHOW_NONE: GstStackTraceFlags = 0;
|
||||
|
@ -1078,9 +1081,15 @@ pub type GstMemoryShareFunction =
|
|||
Option<unsafe extern "C" fn(*mut GstMemory, ssize_t, ssize_t) -> *mut GstMemory>;
|
||||
pub type GstMemoryUnmapFullFunction = Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMapInfo)>;
|
||||
pub type GstMemoryUnmapFunction = Option<unsafe extern "C" fn(*mut GstMemory)>;
|
||||
pub type GstMetaClearFunction = Option<unsafe extern "C" fn(*mut GstBuffer, *mut GstMeta)>;
|
||||
pub type GstMetaDeserializeFunction = Option<
|
||||
unsafe extern "C" fn(*const GstMetaInfo, *mut GstBuffer, *const u8, size_t, u8) -> *mut GstMeta,
|
||||
>;
|
||||
pub type GstMetaFreeFunction = Option<unsafe extern "C" fn(*mut GstMeta, *mut GstBuffer)>;
|
||||
pub type GstMetaInitFunction =
|
||||
Option<unsafe extern "C" fn(*mut GstMeta, gpointer, *mut GstBuffer) -> gboolean>;
|
||||
pub type GstMetaSerializeFunction =
|
||||
Option<unsafe extern "C" fn(*const GstMeta, *mut GstByteArrayInterface, *mut u8) -> gboolean>;
|
||||
pub type GstMetaTransformFunction = Option<
|
||||
unsafe extern "C" fn(
|
||||
*mut GstBuffer,
|
||||
|
@ -1409,6 +1418,25 @@ pub struct _GstBusPrivate {
|
|||
|
||||
pub type GstBusPrivate = *mut _GstBusPrivate;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstByteArrayInterface {
|
||||
pub data: *mut u8,
|
||||
pub len: size_t,
|
||||
pub resize: Option<unsafe extern "C" fn(*mut GstByteArrayInterface, size_t) -> gboolean>,
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstByteArrayInterface {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstByteArrayInterface @ {self:p}"))
|
||||
.field("data", &self.data)
|
||||
.field("len", &self.len)
|
||||
.field("resize", &self.resize)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstCaps {
|
||||
|
@ -2058,6 +2086,9 @@ pub struct GstMetaInfo {
|
|||
pub init_func: GstMetaInitFunction,
|
||||
pub free_func: GstMetaFreeFunction,
|
||||
pub transform_func: GstMetaTransformFunction,
|
||||
pub serialize_func: GstMetaSerializeFunction,
|
||||
pub deserialize_func: GstMetaDeserializeFunction,
|
||||
pub clear_func: GstMetaClearFunction,
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstMetaInfo {
|
||||
|
@ -2069,6 +2100,9 @@ impl ::std::fmt::Debug for GstMetaInfo {
|
|||
.field("init_func", &self.init_func)
|
||||
.field("free_func", &self.free_func)
|
||||
.field("transform_func", &self.transform_func)
|
||||
.field("serialize_func", &self.serialize_func)
|
||||
.field("deserialize_func", &self.deserialize_func)
|
||||
.field("clear_func", &self.clear_func)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -5751,9 +5785,24 @@ extern "C" {
|
|||
#[cfg(feature = "v1_16")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||
pub fn gst_meta_get_seqnum(meta: *const GstMeta) -> u64;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_meta_serialize(meta: *const GstMeta, data: *mut GstByteArrayInterface) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_meta_serialize_simple(meta: *const GstMeta, data: *mut glib::GByteArray)
|
||||
-> gboolean;
|
||||
pub fn gst_meta_api_type_get_tags(api: GType) -> *const *const c_char;
|
||||
pub fn gst_meta_api_type_has_tag(api: GType, tag: glib::GQuark) -> gboolean;
|
||||
pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *const c_char) -> GType;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_meta_deserialize(
|
||||
buffer: *mut GstBuffer,
|
||||
data: *const u8,
|
||||
size: size_t,
|
||||
consumed: *mut u32,
|
||||
) -> *mut GstMeta;
|
||||
pub fn gst_meta_get_info(impl_: *const c_char) -> *const GstMetaInfo;
|
||||
pub fn gst_meta_register(
|
||||
api: GType,
|
||||
|
@ -5782,6 +5831,12 @@ extern "C" {
|
|||
#[cfg(feature = "v1_20")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_meta_info_is_custom(info: *const GstMetaInfo) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_meta_info_register(info: *mut GstMetaInfo) -> *const GstMetaInfo;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_meta_info_new(api: GType, impl_: *const c_char, size: size_t) -> *mut GstMetaInfo;
|
||||
|
||||
//=========================================================================
|
||||
// GstMiniObject
|
||||
|
@ -8837,6 +8892,9 @@ extern "C" {
|
|||
#[cfg(feature = "v1_18_3")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
||||
pub fn gst_clear_caps(caps_ptr: *mut *mut GstCaps);
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_clear_context(context_ptr: *mut *mut GstContext);
|
||||
#[cfg(feature = "v1_18_3")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
||||
pub fn gst_clear_event(event_ptr: *mut *mut GstEvent);
|
||||
|
@ -8849,6 +8907,9 @@ extern "C" {
|
|||
#[cfg(feature = "v1_16")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
|
||||
pub fn gst_clear_object(object_ptr: *mut *mut GstObject);
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_clear_promise(promise_ptr: *mut *mut GstPromise);
|
||||
#[cfg(feature = "v1_18_3")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
|
||||
pub fn gst_clear_query(query_ptr: *mut *mut GstQuery);
|
||||
|
|
|
@ -342,6 +342,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
|||
alignment: align_of::<GstBusSyncReply>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstByteArrayInterface",
|
||||
Layout {
|
||||
size: size_of::<GstByteArrayInterface>(),
|
||||
alignment: align_of::<GstByteArrayInterface>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstCaps",
|
||||
Layout {
|
||||
|
@ -2032,6 +2039,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("GST_SEQNUM_INVALID", "0"),
|
||||
("(guint) GST_SERIALIZE_FLAG_BACKWARD_COMPAT", "1"),
|
||||
("(guint) GST_SERIALIZE_FLAG_NONE", "0"),
|
||||
("(guint) GST_SERIALIZE_FLAG_STRICT", "2"),
|
||||
("(guint) GST_STACK_TRACE_SHOW_FULL", "1"),
|
||||
("(guint) GST_STACK_TRACE_SHOW_NONE", "0"),
|
||||
("(gint) GST_STATE_CHANGE_ASYNC", "2"),
|
||||
|
|
|
@ -559,6 +559,7 @@ int main() {
|
|||
PRINT_CONSTANT(GST_SEQNUM_INVALID);
|
||||
PRINT_CONSTANT((guint) GST_SERIALIZE_FLAG_BACKWARD_COMPAT);
|
||||
PRINT_CONSTANT((guint) GST_SERIALIZE_FLAG_NONE);
|
||||
PRINT_CONSTANT((guint) GST_SERIALIZE_FLAG_STRICT);
|
||||
PRINT_CONSTANT((guint) GST_STACK_TRACE_SHOW_FULL);
|
||||
PRINT_CONSTANT((guint) GST_STACK_TRACE_SHOW_NONE);
|
||||
PRINT_CONSTANT((gint) GST_STATE_CHANGE_ASYNC);
|
||||
|
|
|
@ -28,6 +28,7 @@ int main() {
|
|||
printf("%s;%zu;%zu\n", "GstBusClass", sizeof(GstBusClass), alignof(GstBusClass));
|
||||
printf("%s;%zu;%zu\n", "GstBusFlags", sizeof(GstBusFlags), alignof(GstBusFlags));
|
||||
printf("%s;%zu;%zu\n", "GstBusSyncReply", sizeof(GstBusSyncReply), alignof(GstBusSyncReply));
|
||||
printf("%s;%zu;%zu\n", "GstByteArrayInterface", sizeof(GstByteArrayInterface), alignof(GstByteArrayInterface));
|
||||
printf("%s;%zu;%zu\n", "GstCaps", sizeof(GstCaps), alignof(GstCaps));
|
||||
printf("%s;%zu;%zu\n", "GstCapsFlags", sizeof(GstCapsFlags), alignof(GstCapsFlags));
|
||||
printf("%s;%zu;%zu\n", "GstCapsIntersectMode", sizeof(GstCapsIntersectMode), alignof(GstCapsIntersectMode));
|
||||
|
|
Loading…
Reference in a new issue