From 6aebe5ddc324afb6d5be4576081b9a3cb3ead183 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 3 Jun 2020 11:00:25 +0200 Subject: [PATCH] regenerate --- gstreamer-app-sys/build.rs | 2 +- gstreamer-app-sys/src/lib.rs | 2 +- gstreamer-app-sys/tests/abi.rs | 2 +- gstreamer-app-sys/tests/constant.c | 2 +- gstreamer-app-sys/tests/layout.c | 2 +- gstreamer-audio-sys/build.rs | 2 +- gstreamer-audio-sys/src/lib.rs | 34 +++- gstreamer-audio-sys/tests/abi.rs | 11 +- gstreamer-audio-sys/tests/constant.c | 2 +- gstreamer-audio-sys/tests/layout.c | 2 +- gstreamer-base-sys/build.rs | 2 +- gstreamer-base-sys/src/lib.rs | 7 +- gstreamer-base-sys/tests/abi.rs | 2 +- gstreamer-base-sys/tests/constant.c | 2 +- gstreamer-base-sys/tests/layout.c | 2 +- gstreamer-check-sys/build.rs | 2 +- gstreamer-check-sys/src/lib.rs | 2 +- gstreamer-check-sys/tests/abi.rs | 2 +- gstreamer-check-sys/tests/constant.c | 2 +- gstreamer-check-sys/tests/layout.c | 2 +- gstreamer-editing-services-sys/build.rs | 2 +- gstreamer-editing-services-sys/src/lib.rs | 153 +++++++++++++++++- gstreamer-editing-services-sys/tests/abi.rs | 6 +- .../tests/constant.c | 2 +- gstreamer-editing-services-sys/tests/layout.c | 2 +- gstreamer-gl-sys/build.rs | 2 +- gstreamer-gl-sys/src/lib.rs | 13 +- gstreamer-gl-sys/tests/abi.rs | 10 +- gstreamer-gl-sys/tests/constant.c | 2 +- gstreamer-gl-sys/tests/layout.c | 2 +- gstreamer-mpegts-sys/build.rs | 2 +- gstreamer-mpegts-sys/src/lib.rs | 2 +- gstreamer-mpegts-sys/tests/abi.rs | 2 +- gstreamer-mpegts-sys/tests/constant.c | 2 +- gstreamer-mpegts-sys/tests/layout.c | 2 +- gstreamer-net-sys/build.rs | 2 +- gstreamer-net-sys/src/lib.rs | 2 +- gstreamer-net-sys/tests/abi.rs | 2 +- gstreamer-net-sys/tests/constant.c | 2 +- gstreamer-net-sys/tests/layout.c | 2 +- gstreamer-pbutils-sys/build.rs | 2 +- gstreamer-pbutils-sys/src/lib.rs | 2 +- gstreamer-pbutils-sys/tests/abi.rs | 2 +- gstreamer-pbutils-sys/tests/constant.c | 2 +- gstreamer-pbutils-sys/tests/layout.c | 2 +- gstreamer-player-sys/build.rs | 2 +- gstreamer-player-sys/src/lib.rs | 2 +- gstreamer-player-sys/tests/abi.rs | 2 +- gstreamer-player-sys/tests/constant.c | 2 +- gstreamer-player-sys/tests/layout.c | 2 +- gstreamer-rtp-sys/build.rs | 2 +- gstreamer-rtp-sys/src/lib.rs | 2 +- gstreamer-rtp-sys/tests/abi.rs | 2 +- gstreamer-rtp-sys/tests/constant.c | 2 +- gstreamer-rtp-sys/tests/layout.c | 2 +- gstreamer-rtsp-server-sys/build.rs | 2 +- gstreamer-rtsp-server-sys/src/lib.rs | 19 ++- gstreamer-rtsp-server-sys/tests/abi.rs | 2 +- gstreamer-rtsp-server-sys/tests/constant.c | 2 +- gstreamer-rtsp-server-sys/tests/layout.c | 2 +- gstreamer-rtsp-sys/build.rs | 2 +- gstreamer-rtsp-sys/src/lib.rs | 3 +- gstreamer-rtsp-sys/tests/abi.rs | 2 +- gstreamer-rtsp-sys/tests/constant.c | 2 +- gstreamer-rtsp-sys/tests/layout.c | 2 +- gstreamer-sdp-sys/build.rs | 2 +- gstreamer-sdp-sys/src/lib.rs | 2 +- gstreamer-sdp-sys/tests/abi.rs | 2 +- gstreamer-sdp-sys/tests/constant.c | 2 +- gstreamer-sdp-sys/tests/layout.c | 2 +- gstreamer-sys/build.rs | 2 +- gstreamer-sys/src/lib.rs | 4 +- gstreamer-sys/tests/abi.rs | 2 +- gstreamer-sys/tests/constant.c | 2 +- gstreamer-sys/tests/layout.c | 2 +- gstreamer-tag-sys/build.rs | 2 +- gstreamer-tag-sys/src/lib.rs | 2 +- gstreamer-tag-sys/tests/abi.rs | 2 +- gstreamer-tag-sys/tests/constant.c | 2 +- gstreamer-tag-sys/tests/layout.c | 2 +- gstreamer-video-sys/build.rs | 2 +- gstreamer-video-sys/src/lib.rs | 15 +- gstreamer-video-sys/tests/abi.rs | 2 +- gstreamer-video-sys/tests/constant.c | 2 +- gstreamer-video-sys/tests/layout.c | 2 +- gstreamer-webrtc-sys/build.rs | 2 +- gstreamer-webrtc-sys/src/lib.rs | 108 ++++++++++++- gstreamer-webrtc-sys/tests/abi.rs | 16 +- gstreamer-webrtc-sys/tests/constant.c | 2 +- gstreamer-webrtc-sys/tests/layout.c | 2 +- 90 files changed, 454 insertions(+), 99 deletions(-) diff --git a/gstreamer-app-sys/build.rs b/gstreamer-app-sys/build.rs index a6a44a05a..23bf1c372 100644 --- a/gstreamer-app-sys/build.rs +++ b/gstreamer-app-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-app-sys/src/lib.rs b/gstreamer-app-sys/src/lib.rs index 145b3b147..9676e937e 100644 --- a/gstreamer-app-sys/src/lib.rs +++ b/gstreamer-app-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-app-sys/tests/abi.rs b/gstreamer-app-sys/tests/abi.rs index 969e63e5b..eaf5fee39 100644 --- a/gstreamer-app-sys/tests/abi.rs +++ b/gstreamer-app-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_app_sys; diff --git a/gstreamer-app-sys/tests/constant.c b/gstreamer-app-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-app-sys/tests/constant.c +++ b/gstreamer-app-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-app-sys/tests/layout.c b/gstreamer-app-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-app-sys/tests/layout.c +++ b/gstreamer-app-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-audio-sys/build.rs b/gstreamer-audio-sys/build.rs index 5e5a06982..845d24cb7 100644 --- a/gstreamer-audio-sys/build.rs +++ b/gstreamer-audio-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-audio-sys/src/lib.rs b/gstreamer-audio-sys/src/lib.rs index 04bca0d5c..fb21666c4 100644 --- a/gstreamer-audio-sys/src/lib.rs +++ b/gstreamer-audio-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -213,7 +213,7 @@ pub const GST_AUDIO_DEF_FORMAT: *const c_char = b"S16LE\0" as *const u8 as *cons pub const GST_AUDIO_DEF_RATE: c_int = 44100; pub const GST_AUDIO_ENCODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char; pub const GST_AUDIO_ENCODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char; -pub const GST_AUDIO_FORMATS_ALL: *const c_char = b" { S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }\0" as *const u8 as *const c_char; +pub const GST_AUDIO_FORMATS_ALL: *const c_char = b"{ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }\0" as *const u8 as *const c_char; pub const GST_AUDIO_RATE_RANGE: *const c_char = b"(int) [ 1, max ]\0" as *const u8 as *const c_char; pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_B: *const c_char = b"GstAudioResampler.cubic-b\0" as *const u8 as *const c_char; @@ -969,8 +969,7 @@ pub struct GstAudioSinkClass { pub pause: Option, pub resume: Option, pub stop: Option, - pub clear_all: Option, - pub _gst_reserved: [gpointer; 0], + pub extension: *mut GstAudioSinkClassExtension, } impl ::std::fmt::Debug for GstAudioSinkClass { @@ -987,11 +986,28 @@ impl ::std::fmt::Debug for GstAudioSinkClass { .field("pause", &self.pause) .field("resume", &self.resume) .field("stop", &self.stop) - .field("clear_all", &self.clear_all) + .field("extension", &self.extension) .finish() } } +#[repr(C)] +#[derive(Copy, Clone)] +pub struct GstAudioSinkClassExtension { + pub clear_all: Option, +} + +impl ::std::fmt::Debug for GstAudioSinkClassExtension { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!( + "GstAudioSinkClassExtension @ {:?}", + self as *const _ + )) + .field("clear_all", &self.clear_all) + .finish() + } +} + #[repr(C)] #[derive(Copy, Clone)] pub struct GstAudioSrcClass { @@ -2197,6 +2213,8 @@ extern "C" { pub fn gst_audio_clipping_meta_api_get_type() -> GType; pub fn gst_audio_downmix_meta_api_get_type() -> GType; pub fn gst_audio_format_info_get_type() -> GType; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_audio_formats_raw(len: *mut c_uint) -> *const GstAudioFormat; pub fn gst_audio_get_channel_reorder_map( channels: c_int, from: *const GstAudioChannelPosition, @@ -2212,6 +2230,12 @@ extern "C" { spec: *const GstAudioRingBufferSpec, endianness: c_int, ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_audio_make_raw_caps( + formats: *const GstAudioFormat, + len: c_uint, + layout: GstAudioLayout, + ) -> *mut gst::GstCaps; pub fn gst_audio_meta_api_get_type() -> GType; pub fn gst_audio_reorder_channels( data: gpointer, diff --git a/gstreamer-audio-sys/tests/abi.rs b/gstreamer-audio-sys/tests/abi.rs index ea8768f61..88b20d639 100644 --- a/gstreamer-audio-sys/tests/abi.rs +++ b/gstreamer-audio-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_audio_sys; @@ -623,6 +623,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstAudioSinkClassExtension", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ( "GstAudioSrc", Layout { @@ -729,7 +736,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("GST_AUDIO_ENCODER_SRC_NAME", "src"), ("(guint) GST_AUDIO_FLAG_NONE", "0"), ("(guint) GST_AUDIO_FLAG_UNPOSITIONED", "1"), - ("GST_AUDIO_FORMATS_ALL", " { S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }"), + ("GST_AUDIO_FORMATS_ALL", "{ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }"), ("(gint) GST_AUDIO_FORMAT_ENCODED", "1"), ("(gint) GST_AUDIO_FORMAT_F32", "28"), ("(gint) GST_AUDIO_FORMAT_F32BE", "29"), diff --git a/gstreamer-audio-sys/tests/constant.c b/gstreamer-audio-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-audio-sys/tests/constant.c +++ b/gstreamer-audio-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-audio-sys/tests/layout.c b/gstreamer-audio-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-audio-sys/tests/layout.c +++ b/gstreamer-audio-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-base-sys/build.rs b/gstreamer-base-sys/build.rs index 770016a57..d6045abf8 100644 --- a/gstreamer-base-sys/build.rs +++ b/gstreamer-base-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-base-sys/src/lib.rs b/gstreamer-base-sys/src/lib.rs index e1468b2cc..6432bebbf 100644 --- a/gstreamer-base-sys/src/lib.rs +++ b/gstreamer-base-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -1776,7 +1776,10 @@ extern "C" { #[cfg(any(feature = "v1_16", feature = "dox"))] pub fn gst_aggregator_simple_get_next_time(self_: *mut GstAggregator) -> gst::GstClockTime; #[cfg(any(feature = "v1_18", feature = "dox"))] - pub fn gst_aggregator_update_segment(self_: *mut GstAggregator, segment: *mut gst::GstSegment); + pub fn gst_aggregator_update_segment( + self_: *mut GstAggregator, + segment: *const gst::GstSegment, + ); //========================================================================= // GstAggregatorPad diff --git a/gstreamer-base-sys/tests/abi.rs b/gstreamer-base-sys/tests/abi.rs index c9cca91d1..01f9a36e1 100644 --- a/gstreamer-base-sys/tests/abi.rs +++ b/gstreamer-base-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_base_sys; diff --git a/gstreamer-base-sys/tests/constant.c b/gstreamer-base-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-base-sys/tests/constant.c +++ b/gstreamer-base-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-base-sys/tests/layout.c b/gstreamer-base-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-base-sys/tests/layout.c +++ b/gstreamer-base-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-check-sys/build.rs b/gstreamer-check-sys/build.rs index 7c75bb455..0de43bcab 100644 --- a/gstreamer-check-sys/build.rs +++ b/gstreamer-check-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-check-sys/src/lib.rs b/gstreamer-check-sys/src/lib.rs index 584630908..96c6737c6 100644 --- a/gstreamer-check-sys/src/lib.rs +++ b/gstreamer-check-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-check-sys/tests/abi.rs b/gstreamer-check-sys/tests/abi.rs index effc52482..ff3c611b2 100644 --- a/gstreamer-check-sys/tests/abi.rs +++ b/gstreamer-check-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_check_sys; diff --git a/gstreamer-check-sys/tests/constant.c b/gstreamer-check-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-check-sys/tests/constant.c +++ b/gstreamer-check-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-check-sys/tests/layout.c b/gstreamer-check-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-check-sys/tests/layout.c +++ b/gstreamer-check-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-editing-services-sys/build.rs b/gstreamer-editing-services-sys/build.rs index 42771857a..7cd91fd11 100644 --- a/gstreamer-editing-services-sys/build.rs +++ b/gstreamer-editing-services-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-editing-services-sys/src/lib.rs b/gstreamer-editing-services-sys/src/lib.rs index e409d0de0..782cc7b24 100644 --- a/gstreamer-editing-services-sys/src/lib.rs +++ b/gstreamer-editing-services-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -59,6 +59,10 @@ pub const GES_ERROR_ASSET_WRONG_ID: GESError = 0; pub const GES_ERROR_ASSET_LOADING: GESError = 1; pub const GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE: GESError = 2; pub const GES_ERROR_INVALID_FRAME_NUMBER: GESError = 3; +pub const GES_ERROR_NEGATIVE_LAYER: GESError = 4; +pub const GES_ERROR_NEGATIVE_TIME: GESError = 5; +pub const GES_ERROR_NOT_ENOUGH_INTERNAL_CONTENT: GESError = 6; +pub const GES_ERROR_INVALID_OVERLAP_IN_TRACK: GESError = 7; pub type GESTextHAlign = c_int; pub const GES_TEXT_HALIGN_LEFT: GESTextHAlign = 0; @@ -262,6 +266,14 @@ impl ::std::fmt::Debug for GESVideoSourceClass_ABI { } // Callbacks +pub type GESBaseEffectTimeTranslationFunc = Option< + unsafe extern "C" fn( + *mut GESBaseEffect, + gst::GstClockTime, + *mut glib::GHashTable, + gpointer, + ) -> gst::GstClockTime, +>; pub type GESCreateElementForGapFunc = Option *mut gst::GstElement>; pub type GESCreateTrackElementFunc = @@ -1251,7 +1263,16 @@ pub struct GESTimelineElementClass { pub get_layer_priority: Option u32>, pub get_natural_framerate: Option gboolean>, - pub _ges_reserved: [gpointer; 15], + pub set_child_property_full: Option< + unsafe extern "C" fn( + *mut GESTimelineElement, + *mut gobject::GObject, + *mut gobject::GParamSpec, + *const gobject::GValue, + *mut *mut glib::GError, + ) -> gboolean, + >, + pub _ges_reserved: [gpointer; 14], } impl ::std::fmt::Debug for GESTimelineElementClass { @@ -1277,6 +1298,7 @@ impl ::std::fmt::Debug for GESTimelineElementClass { .field("set_child_property", &self.set_child_property) .field("get_layer_priority", &self.get_layer_priority) .field("get_natural_framerate", &self.get_natural_framerate) + .field("set_child_property_full", &self.set_child_property_full) .finish() } } @@ -2624,6 +2646,8 @@ extern "C" { // GESEditMode //========================================================================= pub fn ges_edit_mode_get_type() -> GType; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_edit_mode_name(mode: GESEditMode) -> *const c_char; //========================================================================= // GESTextHAlign @@ -2761,6 +2785,21 @@ extern "C" { // GESBaseEffect //========================================================================= pub fn ges_base_effect_get_type() -> GType; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_base_effect_is_time_effect(effect: *mut GESBaseEffect) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_base_effect_register_time_property( + effect: *mut GESBaseEffect, + child_property_name: *const c_char, + ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_base_effect_set_time_translation_funcs( + effect: *mut GESBaseEffect, + source_to_sink_func: GESBaseEffectTimeTranslationFunc, + sink_to_source_func: GESBaseEffectTimeTranslationFunc, + user_data: gpointer, + destroy: glib::GDestroyNotify, + ) -> gboolean; //========================================================================= // GESBaseEffectClip @@ -2788,6 +2827,13 @@ extern "C" { track: *mut GESTrack, error: *mut *mut glib::GError, ) -> *mut GESTrackElement; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_add_top_effect( + clip: *mut GESClip, + effect: *mut GESBaseEffect, + index: c_int, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_clip_find_track_element( clip: *mut GESClip, track: *mut GESTrack, @@ -2799,8 +2845,24 @@ extern "C" { track_type: GESTrackType, type_: GType, ) -> *mut glib::GList; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_get_duration_limit(clip: *mut GESClip) -> gst::GstClockTime; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_get_internal_time_from_timeline_time( + clip: *mut GESClip, + child: *mut GESTrackElement, + timeline_time: gst::GstClockTime, + error: *mut *mut glib::GError, + ) -> gst::GstClockTime; pub fn ges_clip_get_layer(clip: *mut GESClip) -> *mut GESLayer; pub fn ges_clip_get_supported_formats(clip: *mut GESClip) -> GESTrackType; + pub fn ges_clip_get_timeline_time_from_internal_time( + clip: *mut GESClip, + child: *mut GESTrackElement, + internal_time: gst::GstClockTime, + error: *mut *mut glib::GError, + ) -> gst::GstClockTime; + #[cfg(any(feature = "v1_18", feature = "dox"))] pub fn ges_clip_get_timeline_time_from_source_frame( clip: *mut GESClip, frame_number: GESFrameNumber, @@ -2813,18 +2875,43 @@ extern "C" { ) -> c_int; pub fn ges_clip_get_top_effects(clip: *mut GESClip) -> *mut glib::GList; pub fn ges_clip_move_to_layer(clip: *mut GESClip, layer: *mut GESLayer) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_move_to_layer_full( + clip: *mut GESClip, + layer: *mut GESLayer, + error: *mut *mut glib::GError, + ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_remove_top_effect( + clip: *mut GESClip, + effect: *mut GESBaseEffect, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_clip_set_supported_formats(clip: *mut GESClip, supportedformats: GESTrackType); pub fn ges_clip_set_top_effect_index( clip: *mut GESClip, effect: *mut GESBaseEffect, newindex: c_uint, ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_set_top_effect_index_full( + clip: *mut GESClip, + effect: *mut GESBaseEffect, + newindex: c_uint, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_clip_set_top_effect_priority( clip: *mut GESClip, effect: *mut GESBaseEffect, newpriority: c_uint, ) -> gboolean; pub fn ges_clip_split(clip: *mut GESClip, position: u64) -> *mut GESClip; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_clip_split_full( + clip: *mut GESClip, + position: u64, + error: *mut *mut glib::GError, + ) -> *mut GESClip; //========================================================================= // GESClipAsset @@ -2955,7 +3042,23 @@ extern "C" { duration: gst::GstClockTime, track_types: GESTrackType, ) -> *mut GESClip; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_layer_add_asset_full( + layer: *mut GESLayer, + asset: *mut GESAsset, + start: gst::GstClockTime, + inpoint: gst::GstClockTime, + duration: gst::GstClockTime, + track_types: GESTrackType, + error: *mut *mut glib::GError, + ) -> *mut GESClip; pub fn ges_layer_add_clip(layer: *mut GESLayer, clip: *mut GESClip) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_layer_add_clip_full( + layer: *mut GESLayer, + clip: *mut GESClip, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_layer_get_active_for_track(layer: *mut GESLayer, track: *mut GESTrack) -> gboolean; pub fn ges_layer_get_auto_transition(layer: *mut GESLayer) -> gboolean; pub fn ges_layer_get_clips(layer: *mut GESLayer) -> *mut glib::GList; @@ -3128,6 +3231,8 @@ extern "C" { // GESSourceClip //========================================================================= pub fn ges_source_clip_get_type() -> GType; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_source_clip_new_time_overlay() -> *mut GESSourceClip; //========================================================================= // GESSourceClipAsset @@ -3289,6 +3394,15 @@ extern "C" { edge: GESEdge, position: u64, ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_timeline_element_edit_full( + self_: *mut GESTimelineElement, + new_layer_priority: i64, + mode: GESEditMode, + edge: GESEdge, + position: u64, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_timeline_element_get_child_properties( self_: *mut GESTimelineElement, first_property_name: *const c_char, @@ -3380,6 +3494,13 @@ extern "C" { pspec: *mut gobject::GParamSpec, value: *const gobject::GValue, ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_timeline_element_set_child_property_full( + self_: *mut GESTimelineElement, + property_name: *const c_char, + value: *const gobject::GValue, + error: *mut *mut glib::GError, + ) -> gboolean; //pub fn ges_timeline_element_set_child_property_valist(self_: *mut GESTimelineElement, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list); pub fn ges_timeline_element_set_duration( self_: *mut GESTimelineElement, @@ -3467,6 +3588,12 @@ extern "C" { pub fn ges_track_get_type() -> GType; pub fn ges_track_new(type_: GESTrackType, caps: *mut gst::GstCaps) -> *mut GESTrack; pub fn ges_track_add_element(track: *mut GESTrack, object: *mut GESTrackElement) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_track_add_element_full( + track: *mut GESTrack, + object: *mut GESTrackElement, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_track_commit(track: *mut GESTrack) -> gboolean; pub fn ges_track_get_caps(track: *mut GESTrack) -> *const gst::GstCaps; pub fn ges_track_get_elements(track: *mut GESTrack) -> *mut glib::GList; @@ -3476,6 +3603,12 @@ extern "C" { pub fn ges_track_get_timeline(track: *mut GESTrack) -> *const GESTimeline; pub fn ges_track_remove_element(track: *mut GESTrack, object: *mut GESTrackElement) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_track_remove_element_full( + track: *mut GESTrack, + object: *mut GESTrackElement, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn ges_track_set_create_element_for_gap_func( track: *mut GESTrack, func: GESCreateElementForGapFunc, @@ -3496,6 +3629,11 @@ extern "C" { blacklist: *mut *const c_char, whitelist: *mut *const c_char, ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_track_element_clamp_control_source( + object: *mut GESTrackElement, + property_name: *const c_char, + ); pub fn ges_track_element_edit( object: *mut GESTrackElement, layers: *mut glib::GList, @@ -3506,6 +3644,10 @@ extern "C" { pub fn ges_track_element_get_all_control_bindings( trackelement: *mut GESTrackElement, ) -> *mut glib::GHashTable; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_track_element_get_auto_clamp_control_sources( + object: *mut GESTrackElement, + ) -> gboolean; pub fn ges_track_element_get_child_properties( object: *mut GESTrackElement, first_property_name: *const c_char, @@ -3534,6 +3676,8 @@ extern "C" { pub fn ges_track_element_get_track_type(object: *mut GESTrackElement) -> GESTrackType; pub fn ges_track_element_has_internal_source(object: *mut GESTrackElement) -> gboolean; pub fn ges_track_element_is_active(object: *mut GESTrackElement) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_track_element_is_core(object: *mut GESTrackElement) -> gboolean; pub fn ges_track_element_list_children_properties( object: *mut GESTrackElement, n_properties: *mut c_uint, @@ -3550,6 +3694,11 @@ extern "C" { ) -> gboolean; pub fn ges_track_element_set_active(object: *mut GESTrackElement, active: gboolean) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn ges_track_element_set_auto_clamp_control_sources( + object: *mut GESTrackElement, + auto_clamp: gboolean, + ); pub fn ges_track_element_set_child_properties( object: *mut GESTrackElement, first_property_name: *const c_char, diff --git a/gstreamer-editing-services-sys/tests/abi.rs b/gstreamer-editing-services-sys/tests/abi.rs index 1ea8ab901..38f90c70f 100644 --- a/gstreamer-editing-services-sys/tests/abi.rs +++ b/gstreamer-editing-services-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_editing_services_sys; @@ -1122,6 +1122,10 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) GES_ERROR_ASSET_WRONG_ID", "0"), ("(gint) GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE", "2"), ("(gint) GES_ERROR_INVALID_FRAME_NUMBER", "3"), + ("(gint) GES_ERROR_INVALID_OVERLAP_IN_TRACK", "7"), + ("(gint) GES_ERROR_NEGATIVE_LAYER", "4"), + ("(gint) GES_ERROR_NEGATIVE_TIME", "5"), + ("(gint) GES_ERROR_NOT_ENOUGH_INTERNAL_CONTENT", "6"), ("GES_FRAME_NUMBER_NONE", "9223372036854775807"), ("GES_META_DESCRIPTION", "description"), ("GES_META_FORMATTER_EXTENSION", "extension"), diff --git a/gstreamer-editing-services-sys/tests/constant.c b/gstreamer-editing-services-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-editing-services-sys/tests/constant.c +++ b/gstreamer-editing-services-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-editing-services-sys/tests/layout.c b/gstreamer-editing-services-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-editing-services-sys/tests/layout.c +++ b/gstreamer-editing-services-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl-sys/build.rs b/gstreamer-gl-sys/build.rs index 68359d842..5fb3e8057 100644 --- a/gstreamer-gl-sys/build.rs +++ b/gstreamer-gl-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl-sys/src/lib.rs b/gstreamer-gl-sys/src/lib.rs index 63a76a082..e80d4f678 100644 --- a/gstreamer-gl-sys/src/lib.rs +++ b/gstreamer-gl-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -142,6 +142,9 @@ pub const GST_GL_API_OPENGL_NAME: *const c_char = b"opengl\0" as *const u8 as *c pub const GST_GL_BASE_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLBaseMemory\0" as *const u8 as *const c_char; pub const GST_GL_BUFFER_ALLOCATOR_NAME: *const c_char = b"GLBuffer\0" as *const u8 as *const c_char; +pub const GST_GL_COLOR_CONVERT_EXT_FORMATS: *const c_char = + b", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE\0" as *const u8 + as *const c_char; pub const GST_GL_CONTEXT_TYPE_CGL: *const c_char = b"gst.gl.context.CGL\0" as *const u8 as *const c_char; pub const GST_GL_CONTEXT_TYPE_EAGL: *const c_char = @@ -157,6 +160,9 @@ pub const GST_GL_DISPLAY_CONTEXT_TYPE: *const c_char = pub const GST_GL_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLMemory\0" as *const u8 as *const c_char; pub const GST_GL_MEMORY_PBO_ALLOCATOR_NAME: *const c_char = b"GLMemoryPBO\0" as *const u8 as *const c_char; +pub const GST_GL_MEMORY_VIDEO_EXT_FORMATS: *const c_char = + b", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE\0" as *const u8 + as *const c_char; pub const GST_GL_RENDERBUFFER_ALLOCATOR_NAME: *const c_char = b"GLRenderbuffer\0" as *const u8 as *const c_char; pub const GST_GL_TEXTURE_TARGET_2D_STR: *const c_char = b"2D\0" as *const u8 as *const c_char; @@ -2278,8 +2284,8 @@ extern "C" { pub fn gst_gl_filter_draw_fullscreen_quad(filter: *mut GstGLFilter); pub fn gst_gl_filter_filter_texture( filter: *mut GstGLFilter, - inbuf: *mut gst::GstBuffer, - outbuf: *mut gst::GstBuffer, + input: *mut gst::GstBuffer, + output: *mut gst::GstBuffer, ) -> gboolean; pub fn gst_gl_filter_render_to_target( filter: *mut GstGLFilter, @@ -2749,6 +2755,7 @@ extern "C" { posx: c_double, posy: c_double, ); + #[cfg(any(feature = "v1_18", feature = "dox"))] pub fn gst_gl_window_send_scroll_event( window: *mut GstGLWindow, posx: c_double, diff --git a/gstreamer-gl-sys/tests/abi.rs b/gstreamer-gl-sys/tests/abi.rs index 8a4713d7d..915f590bd 100644 --- a/gstreamer-gl-sys/tests/abi.rs +++ b/gstreamer-gl-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_gl_sys; @@ -828,6 +828,10 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ), ("(guint) GST_GL_BASE_MEMORY_TRANSFER_NEED_UPLOAD", "2097152"), ("GST_GL_BUFFER_ALLOCATOR_NAME", "GLBuffer"), + ( + "GST_GL_COLOR_CONVERT_EXT_FORMATS", + ", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE", + ), ("(gint) GST_GL_CONTEXT_ERROR_CREATE_CONTEXT", "4"), ("(gint) GST_GL_CONTEXT_ERROR_FAILED", "0"), ("(gint) GST_GL_CONTEXT_ERROR_OLD_LIBS", "3"), @@ -857,6 +861,10 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) GST_GL_LUMINANCE_ALPHA", "6410"), ("GST_GL_MEMORY_ALLOCATOR_NAME", "GLMemory"), ("GST_GL_MEMORY_PBO_ALLOCATOR_NAME", "GLMemoryPBO"), + ( + "GST_GL_MEMORY_VIDEO_EXT_FORMATS", + ", BGR10A2_LE, RGB10A2_LE, P010_10LE, P012_LE, P016_LE, Y212_LE, Y412_LE", + ), ("(guint) GST_GL_PLATFORM_ANY", "4294967295"), ("(guint) GST_GL_PLATFORM_CGL", "8"), ("(guint) GST_GL_PLATFORM_EAGL", "16"), diff --git a/gstreamer-gl-sys/tests/constant.c b/gstreamer-gl-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-gl-sys/tests/constant.c +++ b/gstreamer-gl-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl-sys/tests/layout.c b/gstreamer-gl-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-gl-sys/tests/layout.c +++ b/gstreamer-gl-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-mpegts-sys/build.rs b/gstreamer-mpegts-sys/build.rs index 0202836bf..a32eb41aa 100644 --- a/gstreamer-mpegts-sys/build.rs +++ b/gstreamer-mpegts-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-mpegts-sys/src/lib.rs b/gstreamer-mpegts-sys/src/lib.rs index 369613e00..f6f53e4ca 100644 --- a/gstreamer-mpegts-sys/src/lib.rs +++ b/gstreamer-mpegts-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-mpegts-sys/tests/abi.rs b/gstreamer-mpegts-sys/tests/abi.rs index f1f825e16..1ef4f8390 100644 --- a/gstreamer-mpegts-sys/tests/abi.rs +++ b/gstreamer-mpegts-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_mpegts_sys; diff --git a/gstreamer-mpegts-sys/tests/constant.c b/gstreamer-mpegts-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-mpegts-sys/tests/constant.c +++ b/gstreamer-mpegts-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-mpegts-sys/tests/layout.c b/gstreamer-mpegts-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-mpegts-sys/tests/layout.c +++ b/gstreamer-mpegts-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-net-sys/build.rs b/gstreamer-net-sys/build.rs index 30b3aca00..61baa1ddf 100644 --- a/gstreamer-net-sys/build.rs +++ b/gstreamer-net-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-net-sys/src/lib.rs b/gstreamer-net-sys/src/lib.rs index 8de5cc663..388c4ac0f 100644 --- a/gstreamer-net-sys/src/lib.rs +++ b/gstreamer-net-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-net-sys/tests/abi.rs b/gstreamer-net-sys/tests/abi.rs index 84496b970..91f777e3e 100644 --- a/gstreamer-net-sys/tests/abi.rs +++ b/gstreamer-net-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_net_sys; diff --git a/gstreamer-net-sys/tests/constant.c b/gstreamer-net-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-net-sys/tests/constant.c +++ b/gstreamer-net-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-net-sys/tests/layout.c b/gstreamer-net-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-net-sys/tests/layout.c +++ b/gstreamer-net-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-pbutils-sys/build.rs b/gstreamer-pbutils-sys/build.rs index 26daf01e2..200091c41 100644 --- a/gstreamer-pbutils-sys/build.rs +++ b/gstreamer-pbutils-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-pbutils-sys/src/lib.rs b/gstreamer-pbutils-sys/src/lib.rs index 8585aed33..b9f312623 100644 --- a/gstreamer-pbutils-sys/src/lib.rs +++ b/gstreamer-pbutils-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-pbutils-sys/tests/abi.rs b/gstreamer-pbutils-sys/tests/abi.rs index b9159b648..91ea0d01e 100644 --- a/gstreamer-pbutils-sys/tests/abi.rs +++ b/gstreamer-pbutils-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_pbutils_sys; diff --git a/gstreamer-pbutils-sys/tests/constant.c b/gstreamer-pbutils-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-pbutils-sys/tests/constant.c +++ b/gstreamer-pbutils-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-pbutils-sys/tests/layout.c b/gstreamer-pbutils-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-pbutils-sys/tests/layout.c +++ b/gstreamer-pbutils-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-player-sys/build.rs b/gstreamer-player-sys/build.rs index 87d6c33f7..f965be5b2 100644 --- a/gstreamer-player-sys/build.rs +++ b/gstreamer-player-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-player-sys/src/lib.rs b/gstreamer-player-sys/src/lib.rs index 135d00a92..a15d702f2 100644 --- a/gstreamer-player-sys/src/lib.rs +++ b/gstreamer-player-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-player-sys/tests/abi.rs b/gstreamer-player-sys/tests/abi.rs index c97747e8a..7669c479f 100644 --- a/gstreamer-player-sys/tests/abi.rs +++ b/gstreamer-player-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_player_sys; diff --git a/gstreamer-player-sys/tests/constant.c b/gstreamer-player-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-player-sys/tests/constant.c +++ b/gstreamer-player-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-player-sys/tests/layout.c b/gstreamer-player-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-player-sys/tests/layout.c +++ b/gstreamer-player-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtp-sys/build.rs b/gstreamer-rtp-sys/build.rs index 88f92652a..25c1dbaaf 100644 --- a/gstreamer-rtp-sys/build.rs +++ b/gstreamer-rtp-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtp-sys/src/lib.rs b/gstreamer-rtp-sys/src/lib.rs index 64fa61027..90dc20973 100644 --- a/gstreamer-rtp-sys/src/lib.rs +++ b/gstreamer-rtp-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-rtp-sys/tests/abi.rs b/gstreamer-rtp-sys/tests/abi.rs index 22f27f3f9..e2f8769e3 100644 --- a/gstreamer-rtp-sys/tests/abi.rs +++ b/gstreamer-rtp-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_rtp_sys; diff --git a/gstreamer-rtp-sys/tests/constant.c b/gstreamer-rtp-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-rtp-sys/tests/constant.c +++ b/gstreamer-rtp-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtp-sys/tests/layout.c b/gstreamer-rtp-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-rtp-sys/tests/layout.c +++ b/gstreamer-rtp-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-server-sys/build.rs b/gstreamer-rtsp-server-sys/build.rs index 5cde58462..ec7b16405 100644 --- a/gstreamer-rtsp-server-sys/build.rs +++ b/gstreamer-rtsp-server-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtsp-server-sys/src/lib.rs b/gstreamer-rtsp-server-sys/src/lib.rs index 33ffd14c8..5e97f7675 100644 --- a/gstreamer-rtsp-server-sys/src/lib.rs +++ b/gstreamer-rtsp-server-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -125,6 +125,8 @@ pub type GstRTSPClientSessionFilterFunc = Option< >; pub type GstRTSPKeepAliveFunc = Option; pub type GstRTSPMessageSentFunc = Option; +pub type GstRTSPMessageSentFuncFull = + Option; pub type GstRTSPSendFunc = Option gboolean>; pub type GstRTSPSendListFunc = @@ -1566,6 +1568,8 @@ extern "C" { pub fn gst_rtsp_media_get_clock(media: *mut GstRTSPMedia) -> *mut gst::GstClock; #[cfg(any(feature = "v1_16", feature = "dox"))] pub fn gst_rtsp_media_get_do_retransmission(media: *mut GstRTSPMedia) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_rtsp_media_get_dscp_qos(media: *mut GstRTSPMedia) -> c_int; pub fn gst_rtsp_media_get_element(media: *mut GstRTSPMedia) -> *mut gst::GstElement; pub fn gst_rtsp_media_get_latency(media: *mut GstRTSPMedia) -> c_uint; #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -1654,6 +1658,8 @@ extern "C" { media: *mut GstRTSPMedia, do_retransmission: gboolean, ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_rtsp_media_set_dscp_qos(media: *mut GstRTSPMedia, dscp_qos: c_int); pub fn gst_rtsp_media_set_eos_shutdown(media: *mut GstRTSPMedia, eos_shutdown: gboolean); pub fn gst_rtsp_media_set_latency(media: *mut GstRTSPMedia, latency: c_uint); #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -1748,6 +1754,8 @@ extern "C" { pub fn gst_rtsp_media_factory_get_do_retransmission( factory: *mut GstRTSPMediaFactory, ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_rtsp_media_factory_get_dscp_qos(factory: *mut GstRTSPMediaFactory) -> c_int; pub fn gst_rtsp_media_factory_get_latency(factory: *mut GstRTSPMediaFactory) -> c_uint; pub fn gst_rtsp_media_factory_get_launch(factory: *mut GstRTSPMediaFactory) -> *mut c_char; #[cfg(any(feature = "v1_16", feature = "dox"))] @@ -1808,6 +1816,8 @@ extern "C" { factory: *mut GstRTSPMediaFactory, do_retransmission: gboolean, ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_rtsp_media_factory_set_dscp_qos(factory: *mut GstRTSPMediaFactory, dscp_qos: c_int); pub fn gst_rtsp_media_factory_set_eos_shutdown( factory: *mut GstRTSPMediaFactory, eos_shutdown: gboolean, @@ -2487,6 +2497,13 @@ extern "C" { user_data: gpointer, notify: glib::GDestroyNotify, ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_rtsp_stream_transport_set_message_sent_full( + trans: *mut GstRTSPStreamTransport, + message_sent: GstRTSPMessageSentFuncFull, + user_data: gpointer, + notify: glib::GDestroyNotify, + ); pub fn gst_rtsp_stream_transport_set_timed_out( trans: *mut GstRTSPStreamTransport, timedout: gboolean, diff --git a/gstreamer-rtsp-server-sys/tests/abi.rs b/gstreamer-rtsp-server-sys/tests/abi.rs index 32b04f1c5..0863adc2b 100644 --- a/gstreamer-rtsp-server-sys/tests/abi.rs +++ b/gstreamer-rtsp-server-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_rtsp_server_sys; diff --git a/gstreamer-rtsp-server-sys/tests/constant.c b/gstreamer-rtsp-server-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-rtsp-server-sys/tests/constant.c +++ b/gstreamer-rtsp-server-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-server-sys/tests/layout.c b/gstreamer-rtsp-server-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-rtsp-server-sys/tests/layout.c +++ b/gstreamer-rtsp-server-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-sys/build.rs b/gstreamer-rtsp-sys/build.rs index 2b43edecc..53a84d426 100644 --- a/gstreamer-rtsp-sys/build.rs +++ b/gstreamer-rtsp-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtsp-sys/src/lib.rs b/gstreamer-rtsp-sys/src/lib.rs index fb5758df6..d0f0b4246 100644 --- a/gstreamer-rtsp-sys/src/lib.rs +++ b/gstreamer-rtsp-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -1207,6 +1207,7 @@ extern "C" { pub fn gst_rtsp_url_free(url: *mut GstRTSPUrl); pub fn gst_rtsp_url_get_port(url: *const GstRTSPUrl, port: *mut u16) -> GstRTSPResult; pub fn gst_rtsp_url_get_request_uri(url: *const GstRTSPUrl) -> *mut c_char; + #[cfg(any(feature = "v1_18", feature = "dox"))] pub fn gst_rtsp_url_get_request_uri_with_control( url: *const GstRTSPUrl, control_path: *const c_char, diff --git a/gstreamer-rtsp-sys/tests/abi.rs b/gstreamer-rtsp-sys/tests/abi.rs index 2517ee40d..d799f5cb0 100644 --- a/gstreamer-rtsp-sys/tests/abi.rs +++ b/gstreamer-rtsp-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_rtsp_sys; diff --git a/gstreamer-rtsp-sys/tests/constant.c b/gstreamer-rtsp-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-rtsp-sys/tests/constant.c +++ b/gstreamer-rtsp-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-sys/tests/layout.c b/gstreamer-rtsp-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-rtsp-sys/tests/layout.c +++ b/gstreamer-rtsp-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sdp-sys/build.rs b/gstreamer-sdp-sys/build.rs index 6d19470a3..3e4058ef2 100644 --- a/gstreamer-sdp-sys/build.rs +++ b/gstreamer-sdp-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-sdp-sys/src/lib.rs b/gstreamer-sdp-sys/src/lib.rs index 5ad7c4e45..d598d0b41 100644 --- a/gstreamer-sdp-sys/src/lib.rs +++ b/gstreamer-sdp-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-sdp-sys/tests/abi.rs b/gstreamer-sdp-sys/tests/abi.rs index b794f4066..fb9c479b9 100644 --- a/gstreamer-sdp-sys/tests/abi.rs +++ b/gstreamer-sdp-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_sdp_sys; diff --git a/gstreamer-sdp-sys/tests/constant.c b/gstreamer-sdp-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-sdp-sys/tests/constant.c +++ b/gstreamer-sdp-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sdp-sys/tests/layout.c b/gstreamer-sdp-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-sdp-sys/tests/layout.c +++ b/gstreamer-sdp-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sys/build.rs b/gstreamer-sys/build.rs index e74ddde9b..ea0caec82 100644 --- a/gstreamer-sys/build.rs +++ b/gstreamer-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-sys/src/lib.rs b/gstreamer-sys/src/lib.rs index 69e7d5a9d..c29055459 100644 --- a/gstreamer-sys/src/lib.rs +++ b/gstreamer-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -4847,6 +4847,8 @@ extern "C" { pub fn gst_event_get_seqnum(event: *mut GstEvent) -> u32; pub fn gst_event_get_structure(event: *mut GstEvent) -> *const GstStructure; pub fn gst_event_has_name(event: *mut GstEvent, name: *const c_char) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_event_has_name_id(event: *mut GstEvent, name: glib::GQuark) -> gboolean; pub fn gst_event_parse_buffer_size( event: *mut GstEvent, format: *mut GstFormat, diff --git a/gstreamer-sys/tests/abi.rs b/gstreamer-sys/tests/abi.rs index dc15f470f..215589210 100644 --- a/gstreamer-sys/tests/abi.rs +++ b/gstreamer-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_sys; diff --git a/gstreamer-sys/tests/constant.c b/gstreamer-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-sys/tests/constant.c +++ b/gstreamer-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sys/tests/layout.c b/gstreamer-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-sys/tests/layout.c +++ b/gstreamer-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-tag-sys/build.rs b/gstreamer-tag-sys/build.rs index 9041ed4fa..9ec7e3d15 100644 --- a/gstreamer-tag-sys/build.rs +++ b/gstreamer-tag-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-tag-sys/src/lib.rs b/gstreamer-tag-sys/src/lib.rs index 505e74f99..8fd5956c3 100644 --- a/gstreamer-tag-sys/src/lib.rs +++ b/gstreamer-tag-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-tag-sys/tests/abi.rs b/gstreamer-tag-sys/tests/abi.rs index 95e200c3a..b9e9feb1c 100644 --- a/gstreamer-tag-sys/tests/abi.rs +++ b/gstreamer-tag-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_tag_sys; diff --git a/gstreamer-tag-sys/tests/constant.c b/gstreamer-tag-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-tag-sys/tests/constant.c +++ b/gstreamer-tag-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-tag-sys/tests/layout.c b/gstreamer-tag-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-tag-sys/tests/layout.c +++ b/gstreamer-tag-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-video-sys/build.rs b/gstreamer-video-sys/build.rs index 964e94faa..086ad77f1 100644 --- a/gstreamer-video-sys/build.rs +++ b/gstreamer-video-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-video-sys/src/lib.rs b/gstreamer-video-sys/src/lib.rs index 54e47fe4d..420051f0e 100644 --- a/gstreamer-video-sys/src/lib.rs +++ b/gstreamer-video-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -3908,6 +3908,8 @@ extern "C" { all_headers: *mut gboolean, count: *mut c_uint, ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_video_formats_raw(len: *mut c_uint) -> *const GstVideoFormat; pub fn gst_video_gl_texture_upload_meta_api_get_type() -> GType; #[cfg(any(feature = "v1_6", feature = "dox"))] pub fn gst_video_guess_framerate( @@ -3915,6 +3917,17 @@ extern "C" { dest_n: *mut c_int, dest_d: *mut c_int, ) -> gboolean; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_video_make_raw_caps( + formats: *const GstVideoFormat, + len: c_uint, + ) -> *mut gst::GstCaps; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_video_make_raw_caps_with_features( + formats: *const GstVideoFormat, + len: c_uint, + features: *mut gst::GstCapsFeatures, + ) -> *mut gst::GstCaps; pub fn gst_video_meta_api_get_type() -> GType; #[cfg(any(feature = "v1_6", feature = "dox"))] pub fn gst_video_multiview_get_doubled_height_modes() -> *const gobject::GValue; diff --git a/gstreamer-video-sys/tests/abi.rs b/gstreamer-video-sys/tests/abi.rs index 0500f735f..570c28cdf 100644 --- a/gstreamer-video-sys/tests/abi.rs +++ b/gstreamer-video-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_video_sys; diff --git a/gstreamer-video-sys/tests/constant.c b/gstreamer-video-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-video-sys/tests/constant.c +++ b/gstreamer-video-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-video-sys/tests/layout.c b/gstreamer-video-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-video-sys/tests/layout.c +++ b/gstreamer-video-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-webrtc-sys/build.rs b/gstreamer-webrtc-sys/build.rs index 80e3ba786..63a1994e1 100644 --- a/gstreamer-webrtc-sys/build.rs +++ b/gstreamer-webrtc-sys/build.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-webrtc-sys/src/lib.rs b/gstreamer-webrtc-sys/src/lib.rs index e41a854a7..9b0ea6008 100644 --- a/gstreamer-webrtc-sys/src/lib.rs +++ b/gstreamer-webrtc-sys/src/lib.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -158,6 +158,31 @@ impl ::std::fmt::Debug for GstWebRTCDTLSTransportClass { } } +#[repr(C)] +#[derive(Copy, Clone)] +pub struct GstWebRTCDataChannelClass { + pub parent_class: gobject::GObjectClass, + pub send_data: Option, + pub send_string: Option, + pub close: Option, + pub _padding: [gpointer; 4], +} + +impl ::std::fmt::Debug for GstWebRTCDataChannelClass { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!( + "GstWebRTCDataChannelClass @ {:?}", + self as *const _ + )) + .field("parent_class", &self.parent_class) + .field("send_data", &self.send_data) + .field("send_string", &self.send_string) + .field("close", &self.close) + .field("_padding", &self._padding) + .finish() + } +} + #[repr(C)] #[derive(Copy, Clone)] pub struct GstWebRTCICETransportClass { @@ -283,6 +308,49 @@ impl ::std::fmt::Debug for GstWebRTCDTLSTransport { } } +#[repr(C)] +#[derive(Copy, Clone)] +pub struct GstWebRTCDataChannel { + pub parent: gobject::GObject, + pub lock: glib::GMutex, + pub label: *mut c_char, + pub ordered: gboolean, + pub max_packet_lifetime: c_uint, + pub max_retransmits: c_uint, + pub protocol: *mut c_char, + pub negotiated: gboolean, + pub id: c_int, + pub priority: GstWebRTCPriorityType, + pub ready_state: GstWebRTCDataChannelState, + pub buffered_amount: u64, + pub buffered_amount_low_threshold: u64, + pub _padding: [gpointer; 4], +} + +impl ::std::fmt::Debug for GstWebRTCDataChannel { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCDataChannel @ {:?}", self as *const _)) + .field("parent", &self.parent) + .field("lock", &self.lock) + .field("label", &self.label) + .field("ordered", &self.ordered) + .field("max_packet_lifetime", &self.max_packet_lifetime) + .field("max_retransmits", &self.max_retransmits) + .field("protocol", &self.protocol) + .field("negotiated", &self.negotiated) + .field("id", &self.id) + .field("priority", &self.priority) + .field("ready_state", &self.ready_state) + .field("buffered_amount", &self.buffered_amount) + .field( + "buffered_amount_low_threshold", + &self.buffered_amount_low_threshold, + ) + .field("_padding", &self._padding) + .finish() + } +} + #[repr(C)] #[derive(Copy, Clone)] pub struct GstWebRTCICETransport { @@ -499,6 +567,44 @@ extern "C" { ice: *mut GstWebRTCICETransport, ); + //========================================================================= + // GstWebRTCDataChannel + //========================================================================= + pub fn gst_webrtc_data_channel_get_type() -> GType; + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_close(channel: *mut GstWebRTCDataChannel); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_on_buffered_amount_low(channel: *mut GstWebRTCDataChannel); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_on_close(channel: *mut GstWebRTCDataChannel); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_on_error( + channel: *mut GstWebRTCDataChannel, + error: *mut glib::GError, + ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_on_message_data( + channel: *mut GstWebRTCDataChannel, + data: *mut glib::GBytes, + ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_on_message_string( + channel: *mut GstWebRTCDataChannel, + str: *const c_char, + ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_on_open(channel: *mut GstWebRTCDataChannel); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_send_data( + channel: *mut GstWebRTCDataChannel, + data: *mut glib::GBytes, + ); + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn gst_webrtc_data_channel_send_string( + channel: *mut GstWebRTCDataChannel, + str: *const c_char, + ); + //========================================================================= // GstWebRTCICETransport //========================================================================= diff --git a/gstreamer-webrtc-sys/tests/abi.rs b/gstreamer-webrtc-sys/tests/abi.rs index efc87ddc1..e25e0dc8e 100644 --- a/gstreamer-webrtc-sys/tests/abi.rs +++ b/gstreamer-webrtc-sys/tests/abi.rs @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT extern crate gstreamer_webrtc_sys; @@ -287,6 +287,20 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstWebRTCDataChannel", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstWebRTCDataChannelClass", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ( "GstWebRTCDataChannelState", Layout { diff --git a/gstreamer-webrtc-sys/tests/constant.c b/gstreamer-webrtc-sys/tests/constant.c index 3107a7f6b..24abc60bd 100644 --- a/gstreamer-webrtc-sys/tests/constant.c +++ b/gstreamer-webrtc-sys/tests/constant.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-webrtc-sys/tests/layout.c b/gstreamer-webrtc-sys/tests/layout.c index f4fb9314a..de59cdd4e 100644 --- a/gstreamer-webrtc-sys/tests/layout.c +++ b/gstreamer-webrtc-sys/tests/layout.c @@ -1,5 +1,5 @@ // This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54) -// from gir-files (https://github.com/gtk-rs/gir-files @ f6d5ee8) +// from gir-files (https://github.com/gtk-rs/gir-files @ ba98d9c) // DO NOT EDIT #include "manual.h"