Regenerate with latest GStreamer gir files

This commit is contained in:
Sebastian Dröge 2022-11-08 18:15:34 +02:00
parent 220da7f1e0
commit 32c432655f
55 changed files with 84 additions and 57 deletions

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -192,7 +192,7 @@ pub const GES_PADDING: c_int = 4;
pub const GES_PADDING_LARGE: c_int = 20;
pub const GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY: u32 = 4294967295;
pub const GES_VERSION_MAJOR: c_int = 1;
pub const GES_VERSION_MICRO: c_int = 1;
pub const GES_VERSION_MICRO: c_int = 2;
pub const GES_VERSION_MINOR: c_int = 21;
pub const GES_VERSION_NANO: c_int = 1;

View file

@ -1126,7 +1126,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(guint) GES_TRACK_TYPE_UNKNOWN", "1"),
("(guint) GES_TRACK_TYPE_VIDEO", "4"),
("GES_VERSION_MAJOR", "1"),
("GES_VERSION_MICRO", "1"),
("GES_VERSION_MICRO", "2"),
("GES_VERSION_MINOR", "21"),
("GES_VERSION_NANO", "1"),
(

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -253,7 +253,7 @@ extern "C" {
// GstNetTimePacket
//=========================================================================
pub fn gst_net_time_packet_get_type() -> GType;
pub fn gst_net_time_packet_new(buffer: *const u8) -> *mut GstNetTimePacket;
pub fn gst_net_time_packet_new(buffer: *const [u8; 16]) -> *mut GstNetTimePacket;
pub fn gst_net_time_packet_copy(packet: *const GstNetTimePacket) -> *mut GstNetTimePacket;
pub fn gst_net_time_packet_free(packet: *mut GstNetTimePacket);
pub fn gst_net_time_packet_send(
@ -262,7 +262,7 @@ extern "C" {
dest_address: *mut gio::GSocketAddress,
error: *mut *mut glib::GError,
) -> gboolean;
pub fn gst_net_time_packet_serialize(packet: *const GstNetTimePacket) -> *mut u8;
pub fn gst_net_time_packet_serialize(packet: *const GstNetTimePacket) -> *mut [u8; 16];
pub fn gst_net_time_packet_receive(
socket: *mut gio::GSocket,
src_address: *mut *mut gio::GSocketAddress,

View file

@ -3,9 +3,13 @@
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use crate::DiscovererAudioInfo;
use crate::DiscovererContainerInfo;
use crate::DiscovererResult;
use crate::DiscovererSerializeFlags;
use crate::DiscovererStreamInfo;
use crate::DiscovererSubtitleInfo;
use crate::DiscovererVideoInfo;
use glib::translate::*;
glib::wrapper! {
@ -26,7 +30,7 @@ impl DiscovererInfo {
#[doc(alias = "gst_discoverer_info_get_audio_streams")]
#[doc(alias = "get_audio_streams")]
pub fn audio_streams(&self) -> Vec<DiscovererStreamInfo> {
pub fn audio_streams(&self) -> Vec<DiscovererAudioInfo> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_audio_streams(
self.to_glib_none().0,
@ -36,7 +40,7 @@ impl DiscovererInfo {
#[doc(alias = "gst_discoverer_info_get_container_streams")]
#[doc(alias = "get_container_streams")]
pub fn container_streams(&self) -> Vec<DiscovererStreamInfo> {
pub fn container_streams(&self) -> Vec<DiscovererContainerInfo> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_container_streams(
self.to_glib_none().0,
@ -119,7 +123,7 @@ impl DiscovererInfo {
#[doc(alias = "gst_discoverer_info_get_subtitle_streams")]
#[doc(alias = "get_subtitle_streams")]
pub fn subtitle_streams(&self) -> Vec<DiscovererStreamInfo> {
pub fn subtitle_streams(&self) -> Vec<DiscovererSubtitleInfo> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_subtitle_streams(
self.to_glib_none().0,
@ -148,7 +152,7 @@ impl DiscovererInfo {
#[doc(alias = "gst_discoverer_info_get_video_streams")]
#[doc(alias = "get_video_streams")]
pub fn video_streams(&self) -> Vec<DiscovererStreamInfo> {
pub fn video_streams(&self) -> Vec<DiscovererVideoInfo> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gst_discoverer_info_get_video_streams(
self.to_glib_none().0,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -45,6 +45,12 @@ pub trait ChildProxyExt: 'static {
#[doc(alias = "get_child_by_name")]
fn child_by_name(&self, name: &str) -> Option<glib::Object>;
#[cfg(any(feature = "v1_22", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
#[doc(alias = "gst_child_proxy_get_child_by_name_recurse")]
#[doc(alias = "get_child_by_name_recurse")]
fn child_by_name_recurse(&self, name: &str) -> Option<glib::Object>;
#[doc(alias = "gst_child_proxy_get_children_count")]
#[doc(alias = "get_children_count")]
fn children_count(&self) -> u32;
@ -115,6 +121,17 @@ impl<O: IsA<ChildProxy>> ChildProxyExt for O {
}
}
#[cfg(any(feature = "v1_22", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
fn child_by_name_recurse(&self, name: &str) -> Option<glib::Object> {
unsafe {
from_glib_full(ffi::gst_child_proxy_get_child_by_name_recurse(
self.as_ref().to_glib_none().0,
name.to_glib_none().0,
))
}
}
fn children_count(&self) -> u32 {
unsafe { ffi::gst_child_proxy_get_children_count(self.as_ref().to_glib_none().0) }
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 952ff416b599)
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 15396abcca88)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ad1d9ed0a03e)

View file

@ -8723,6 +8723,12 @@ extern "C" {
parent: *mut GstChildProxy,
name: *const c_char,
) -> *mut gobject::GObject;
#[cfg(any(feature = "v1_22", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
pub fn gst_child_proxy_get_child_by_name_recurse(
child_proxy: *mut GstChildProxy,
name: *const c_char,
) -> *mut gobject::GObject;
pub fn gst_child_proxy_get_children_count(parent: *mut GstChildProxy) -> c_uint;
pub fn gst_child_proxy_get_property(
object: *mut GstChildProxy,