Regenerate with latest gir / gir files

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1480>
This commit is contained in:
Sebastian Dröge 2024-07-08 09:37:34 +03:00
parent c55daa88ca
commit 9b76ef35cf
56 changed files with 293 additions and 159 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -12,7 +12,7 @@ use glib::{
signal::{connect_raw, SignalHandlerId},
translate::*,
};
use std::boxed::Box as Box_;
use std::{boxed::Box as Box_, pin::Pin};
#[cfg(feature = "v1_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
@ -45,10 +45,68 @@ impl UriClipAsset {
// unsafe { TODO: call ffi:ges_uri_clip_asset_finish() }
//}
//#[doc(alias = "ges_uri_clip_asset_new")]
//pub fn new<P: FnOnce(Result<(), glib::Error>) + 'static>(uri: &str, cancellable: Option<&impl IsA<gio::Cancellable>>, callback: P) {
// unsafe { TODO: call ffi:ges_uri_clip_asset_new() }
//}
#[doc(alias = "ges_uri_clip_asset_new")]
pub fn new<P: FnOnce(Result<UriClipAsset, glib::Error>) + 'static>(
uri: &str,
cancellable: Option<&impl IsA<gio::Cancellable>>,
callback: P,
) {
assert_initialized_main_thread!();
let main_context = glib::MainContext::ref_thread_default();
let is_main_context_owner = main_context.is_owner();
let has_acquired_main_context = (!is_main_context_owner)
.then(|| main_context.acquire().ok())
.flatten();
assert!(
is_main_context_owner || has_acquired_main_context.is_some(),
"Async operations only allowed if the thread is owning the MainContext"
);
let user_data: Box_<glib::thread_guard::ThreadGuard<P>> =
Box_::new(glib::thread_guard::ThreadGuard::new(callback));
unsafe extern "C" fn new_trampoline<
P: FnOnce(Result<UriClipAsset, glib::Error>) + 'static,
>(
_source_object: *mut glib::gobject_ffi::GObject,
res: *mut gio::ffi::GAsyncResult,
user_data: glib::ffi::gpointer,
) {
let mut error = std::ptr::null_mut();
let ret = ffi::ges_uri_clip_asset_finish(res, &mut error);
let result = if error.is_null() {
Ok(from_glib_full(ret))
} else {
Err(from_glib_full(error))
};
let callback: Box_<glib::thread_guard::ThreadGuard<P>> =
Box_::from_raw(user_data as *mut _);
let callback: P = callback.into_inner();
callback(result);
}
let callback = new_trampoline::<P>;
unsafe {
ffi::ges_uri_clip_asset_new(
uri.to_glib_none().0,
cancellable.map(|p| p.as_ref()).to_glib_none().0,
Some(callback),
Box_::into_raw(user_data) as *mut _,
);
}
}
pub fn new_future(
uri: &str,
) -> Pin<Box_<dyn std::future::Future<Output = Result<UriClipAsset, glib::Error>> + 'static>>
{
skip_assert_initialized!();
let uri = String::from(uri);
Box_::pin(gio::GioFuture::new(&(), move |_obj, cancellable, send| {
Self::new(&uri, Some(cancellable), move |res| {
send.resolve(res);
});
}))
}
#[doc(alias = "ges_uri_clip_asset_request_sync")]
pub fn request_sync(uri: &str) -> Result<UriClipAsset, glib::Error> {

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -383,6 +383,12 @@ pub const GST_MPEGTS_AUDIO_TYPE_CLEAN_EFFECTS: GstMpegtsIso639AudioType = 1;
pub const GST_MPEGTS_AUDIO_TYPE_HEARING_IMPAIRED: GstMpegtsIso639AudioType = 2;
pub const GST_MPEGTS_AUDIO_TYPE_VISUAL_IMPAIRED_COMMENTARY: GstMpegtsIso639AudioType = 3;
pub type GstMpegtsMetadataApplicationFormat = c_int;
pub const GST_MPEGTS_METADATA_APPLICATION_FORMAT_ISAN: GstMpegtsMetadataApplicationFormat = 16;
pub const GST_MPEGTS_METADATA_APPLICATION_FORMAT_VSAN: GstMpegtsMetadataApplicationFormat = 17;
pub const GST_MPEGTS_METADATA_APPLICATION_FORMAT_IDENTIFIER_FIELD:
GstMpegtsMetadataApplicationFormat = 65535;
pub type GstMpegtsMetadataFormat = c_int;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
@ -1527,7 +1533,7 @@ impl ::std::fmt::Debug for GstMpegtsLogicalChannelDescriptor {
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GstMpegtsMetadataDescriptor {
pub metadata_application_format: u16,
pub metadata_application_format: GstMpegtsMetadataApplicationFormat,
pub metadata_format: GstMpegtsMetadataFormat,
pub metadata_format_identifier: u32,
pub metadata_service_id: u8,
@ -1554,6 +1560,34 @@ impl ::std::fmt::Debug for GstMpegtsMetadataDescriptor {
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GstMpegtsMetadataPointerDescriptor {
pub metadata_application_format: GstMpegtsMetadataApplicationFormat,
pub metadata_format: GstMpegtsMetadataFormat,
pub metadata_format_identifier: u32,
pub metadata_service_id: u8,
pub program_number: u16,
}
impl ::std::fmt::Debug for GstMpegtsMetadataPointerDescriptor {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstMpegtsMetadataPointerDescriptor @ {self:p}"))
.field(
"metadata_application_format",
&self.metadata_application_format,
)
.field("metadata_format", &self.metadata_format)
.field(
"metadata_format_identifier",
&self.metadata_format_identifier,
)
.field("metadata_service_id", &self.metadata_service_id)
.field("program_number", &self.program_number)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GstMpegtsNIT {
@ -2446,6 +2480,16 @@ extern "C" {
pub fn gst_mpegts_descriptor_from_iso_639_language(
language: *const c_char,
) -> *mut GstMpegtsDescriptor;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_mpegts_descriptor_from_metadata(
metadata_descriptor: *const GstMpegtsMetadataDescriptor,
) -> *mut GstMpegtsDescriptor;
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_mpegts_descriptor_from_metadata_pointer(
metadata_pointer_descriptor: *const GstMpegtsMetadataPointerDescriptor,
) -> *mut GstMpegtsDescriptor;
pub fn gst_mpegts_descriptor_from_registration(
format_identifier: *const c_char,
additional_info: *mut u8,
@ -2528,6 +2572,13 @@ extern "C" {
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_mpegts_metadata_descriptor_get_type() -> GType;
//=========================================================================
// GstMpegtsMetadataPointerDescriptor
//=========================================================================
#[cfg(feature = "v1_26")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
pub fn gst_mpegts_metadata_pointer_descriptor_get_type() -> GType;
//=========================================================================
// GstMpegtsNIT
//=========================================================================

View file

@ -594,6 +594,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
alignment: align_of::<GstMpegtsLogicalChannelDescriptor>(),
},
),
(
"GstMpegtsMetadataApplicationFormat",
Layout {
size: size_of::<GstMpegtsMetadataApplicationFormat>(),
alignment: align_of::<GstMpegtsMetadataApplicationFormat>(),
},
),
(
"GstMpegtsMetadataDescriptor",
Layout {
@ -608,6 +615,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
alignment: align_of::<GstMpegtsMetadataFormat>(),
},
),
(
"GstMpegtsMetadataPointerDescriptor",
Layout {
size: size_of::<GstMpegtsMetadataPointerDescriptor>(),
alignment: align_of::<GstMpegtsMetadataPointerDescriptor>(),
},
),
(
"GstMpegtsMiscDescriptorType",
Layout {
@ -1037,6 +1051,12 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(gint) GST_MPEGTS_HIERARCHY_4", "3"),
("(gint) GST_MPEGTS_HIERARCHY_AUTO", "4"),
("(gint) GST_MPEGTS_HIERARCHY_NONE", "0"),
(
"(gint) GST_MPEGTS_METADATA_APPLICATION_FORMAT_IDENTIFIER_FIELD",
"65535",
),
("(gint) GST_MPEGTS_METADATA_APPLICATION_FORMAT_ISAN", "16"),
("(gint) GST_MPEGTS_METADATA_APPLICATION_FORMAT_VSAN", "17"),
("(gint) GST_MPEGTS_METADATA_FORMAT_APPLICATION_FORMAT", "63"),
("(gint) GST_MPEGTS_METADATA_FORMAT_BIM", "17"),
("(gint) GST_MPEGTS_METADATA_FORMAT_IDENTIFIER_FIELD", "255"),

View file

@ -137,6 +137,9 @@ int main() {
PRINT_CONSTANT((gint) GST_MPEGTS_HIERARCHY_4);
PRINT_CONSTANT((gint) GST_MPEGTS_HIERARCHY_AUTO);
PRINT_CONSTANT((gint) GST_MPEGTS_HIERARCHY_NONE);
PRINT_CONSTANT((gint) GST_MPEGTS_METADATA_APPLICATION_FORMAT_IDENTIFIER_FIELD);
PRINT_CONSTANT((gint) GST_MPEGTS_METADATA_APPLICATION_FORMAT_ISAN);
PRINT_CONSTANT((gint) GST_MPEGTS_METADATA_APPLICATION_FORMAT_VSAN);
PRINT_CONSTANT((gint) GST_MPEGTS_METADATA_FORMAT_APPLICATION_FORMAT);
PRINT_CONSTANT((gint) GST_MPEGTS_METADATA_FORMAT_BIM);
PRINT_CONSTANT((gint) GST_MPEGTS_METADATA_FORMAT_IDENTIFIER_FIELD);

View file

@ -64,8 +64,10 @@ int main() {
printf("%s;%zu;%zu\n", "GstMpegtsIso639AudioType", sizeof(GstMpegtsIso639AudioType), alignof(GstMpegtsIso639AudioType));
printf("%s;%zu;%zu\n", "GstMpegtsLogicalChannel", sizeof(GstMpegtsLogicalChannel), alignof(GstMpegtsLogicalChannel));
printf("%s;%zu;%zu\n", "GstMpegtsLogicalChannelDescriptor", sizeof(GstMpegtsLogicalChannelDescriptor), alignof(GstMpegtsLogicalChannelDescriptor));
printf("%s;%zu;%zu\n", "GstMpegtsMetadataApplicationFormat", sizeof(GstMpegtsMetadataApplicationFormat), alignof(GstMpegtsMetadataApplicationFormat));
printf("%s;%zu;%zu\n", "GstMpegtsMetadataDescriptor", sizeof(GstMpegtsMetadataDescriptor), alignof(GstMpegtsMetadataDescriptor));
printf("%s;%zu;%zu\n", "GstMpegtsMetadataFormat", sizeof(GstMpegtsMetadataFormat), alignof(GstMpegtsMetadataFormat));
printf("%s;%zu;%zu\n", "GstMpegtsMetadataPointerDescriptor", sizeof(GstMpegtsMetadataPointerDescriptor), alignof(GstMpegtsMetadataPointerDescriptor));
printf("%s;%zu;%zu\n", "GstMpegtsMiscDescriptorType", sizeof(GstMpegtsMiscDescriptorType), alignof(GstMpegtsMiscDescriptorType));
printf("%s;%zu;%zu\n", "GstMpegtsModulationType", sizeof(GstMpegtsModulationType), alignof(GstMpegtsModulationType));
printf("%s;%zu;%zu\n", "GstMpegtsNIT", sizeof(GstMpegtsNIT), alignof(GstMpegtsNIT));

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 5c9e1bfc9b1f)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 9f1ba4654f7b)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5)