From 7012fa638ec2360eb4e159ac024c42b1433cb6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 5 Dec 2022 11:22:14 +0200 Subject: [PATCH] Regenerate with latest gir/gir-files/gst-gir-files Part-of: --- gstreamer-allocators/src/auto/versions.txt | 6 ++-- .../sys/src/auto/versions.txt | 6 ++-- gstreamer-allocators/sys/tests/abi.rs | 4 +-- gstreamer-app/src/auto/versions.txt | 6 ++-- gstreamer-app/sys/src/auto/versions.txt | 6 ++-- gstreamer-app/sys/tests/abi.rs | 4 +-- gstreamer-audio/src/auto/versions.txt | 6 ++-- gstreamer-audio/sys/src/auto/versions.txt | 6 ++-- gstreamer-audio/sys/src/lib.rs | 2 +- gstreamer-audio/sys/tests/abi.rs | 6 ++-- gstreamer-base/src/auto/base_src.rs | 3 ++ gstreamer-base/src/auto/versions.txt | 6 ++-- gstreamer-base/sys/src/auto/versions.txt | 6 ++-- gstreamer-base/sys/tests/abi.rs | 4 +-- gstreamer-check/src/auto/versions.txt | 6 ++-- gstreamer-check/sys/src/auto/versions.txt | 6 ++-- gstreamer-check/sys/tests/abi.rs | 4 +-- gstreamer-controller/src/auto/versions.txt | 6 ++-- .../sys/src/auto/versions.txt | 6 ++-- gstreamer-controller/sys/tests/abi.rs | 4 +-- .../src/auto/audio_transition.rs | 2 ++ .../src/auto/container.rs | 3 ++ .../src/auto/formatter.rs | 5 +++ gstreamer-editing-services/src/auto/layer.rs | 3 ++ .../src/auto/text_overlay.rs | 2 ++ .../src/auto/timeline.rs | 35 +++++++++++++++++++ .../src/auto/timeline_element.rs | 3 ++ .../src/auto/title_clip.rs | 33 +++++++++++++++++ .../src/auto/title_source.rs | 5 +++ .../src/auto/track_element.rs | 3 ++ .../src/auto/versions.txt | 6 ++-- .../src/auto/video_transition.rs | 9 +++++ .../sys/src/auto/versions.txt | 6 ++-- gstreamer-editing-services/sys/src/lib.rs | 6 ++++ gstreamer-editing-services/sys/tests/abi.rs | 4 +-- gstreamer-gl/egl/src/auto/versions.txt | 6 ++-- gstreamer-gl/egl/sys/src/auto/versions.txt | 6 ++-- gstreamer-gl/egl/sys/tests/abi.rs | 4 +-- gstreamer-gl/src/auto/versions.txt | 6 ++-- gstreamer-gl/sys/src/auto/versions.txt | 6 ++-- gstreamer-gl/sys/tests/abi.rs | 4 +-- gstreamer-gl/wayland/src/auto/versions.txt | 6 ++-- .../wayland/sys/src/auto/versions.txt | 6 ++-- gstreamer-gl/wayland/sys/tests/abi.rs | 4 +-- gstreamer-gl/x11/src/auto/versions.txt | 6 ++-- gstreamer-gl/x11/sys/src/auto/versions.txt | 6 ++-- gstreamer-gl/x11/sys/tests/abi.rs | 4 +-- gstreamer-mpegts/src/auto/versions.txt | 6 ++-- gstreamer-mpegts/sys/src/auto/versions.txt | 6 ++-- gstreamer-mpegts/sys/tests/abi.rs | 4 +-- gstreamer-net/src/auto/versions.txt | 6 ++-- gstreamer-net/sys/src/auto/versions.txt | 6 ++-- gstreamer-net/sys/tests/abi.rs | 4 +-- gstreamer-pbutils/src/auto/discoverer_info.rs | 2 ++ gstreamer-pbutils/src/auto/versions.txt | 6 ++-- gstreamer-pbutils/sys/src/auto/versions.txt | 6 ++-- gstreamer-pbutils/sys/tests/abi.rs | 4 +-- gstreamer-play/src/auto/versions.txt | 6 ++-- gstreamer-play/sys/src/auto/versions.txt | 6 ++-- gstreamer-play/sys/tests/abi.rs | 4 +-- gstreamer-player/src/auto/versions.txt | 6 ++-- gstreamer-player/sys/src/auto/versions.txt | 6 ++-- gstreamer-player/sys/tests/abi.rs | 4 +-- gstreamer-rtp/src/auto/versions.txt | 6 ++-- gstreamer-rtp/sys/src/auto/versions.txt | 6 ++-- gstreamer-rtp/sys/tests/abi.rs | 4 +-- gstreamer-rtsp-server/src/auto/versions.txt | 6 ++-- .../sys/src/auto/versions.txt | 6 ++-- gstreamer-rtsp-server/sys/tests/abi.rs | 4 +-- gstreamer-rtsp/src/auto/versions.txt | 6 ++-- gstreamer-rtsp/sys/src/auto/versions.txt | 6 ++-- gstreamer-rtsp/sys/tests/abi.rs | 4 +-- gstreamer-sdp/src/auto/versions.txt | 6 ++-- gstreamer-sdp/sys/src/auto/versions.txt | 6 ++-- gstreamer-sdp/sys/tests/abi.rs | 4 +-- gstreamer-tag/sys/src/auto/versions.txt | 6 ++-- gstreamer-tag/sys/tests/abi.rs | 4 +-- gstreamer-validate/src/auto/versions.txt | 6 ++-- gstreamer-validate/sys/src/auto/versions.txt | 6 ++-- gstreamer-validate/sys/tests/abi.rs | 4 +-- gstreamer-video/src/auto/versions.txt | 6 ++-- gstreamer-video/src/auto/video_sink.rs | 1 + gstreamer-video/sys/src/auto/versions.txt | 6 ++-- gstreamer-video/sys/src/lib.rs | 2 +- gstreamer-video/sys/tests/abi.rs | 6 ++-- gstreamer-webrtc/src/auto/versions.txt | 6 ++-- gstreamer-webrtc/sys/src/auto/versions.txt | 6 ++-- gstreamer-webrtc/sys/tests/abi.rs | 4 +-- gstreamer/src/auto/element.rs | 1 + gstreamer/src/auto/enums.rs | 8 +++++ gstreamer/src/auto/versions.txt | 6 ++-- gstreamer/sys/src/auto/versions.txt | 6 ++-- gstreamer/sys/src/lib.rs | 32 +++++++++++++++++ gstreamer/sys/tests/abi.rs | 4 +-- 94 files changed, 357 insertions(+), 201 deletions(-) diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-allocators/src/auto/versions.txt +++ b/gstreamer-allocators/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-allocators/sys/tests/abi.rs b/gstreamer-allocators/sys/tests/abi.rs index 60848bc90..cddafed8a 100644 --- a/gstreamer-allocators/sys/tests/abi.rs +++ b/gstreamer-allocators/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_allocators_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index e6f00b7dc..970c865c2 100644 --- a/gstreamer-app/sys/tests/abi.rs +++ b/gstreamer-app/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_app_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index b9b9992e9..1789378d6 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -204,7 +204,7 @@ pub const GST_AUDIO_CONVERTER_OPT_QUANTIZATION: *const c_char = b"GstAudioConverter.quantization\0" as *const u8 as *const c_char; pub const GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD: *const c_char = b"GstAudioConverter.resampler-method\0" as *const u8 as *const c_char; -pub const GST_AUDIO_DECODER_MAX_ERRORS: c_int = 10; +pub const GST_AUDIO_DECODER_MAX_ERRORS: c_int = -1; pub const GST_AUDIO_DECODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char; pub const GST_AUDIO_DECODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char; pub const GST_AUDIO_DEF_CHANNELS: c_int = 2; diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 5858dca3c..e69e1fd75 100644 --- a/gstreamer-audio/sys/tests/abi.rs +++ b/gstreamer-audio/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_audio_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); @@ -718,7 +718,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ "GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD", "GstAudioConverter.resampler-method", ), - ("GST_AUDIO_DECODER_MAX_ERRORS", "10"), + ("GST_AUDIO_DECODER_MAX_ERRORS", "-1"), ("GST_AUDIO_DECODER_SINK_NAME", "sink"), ("GST_AUDIO_DECODER_SRC_NAME", "src"), ("GST_AUDIO_DEF_CHANNELS", "2"), diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index 90df856bb..b2d36584c 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use glib::object::Cast; use glib::object::IsA; @@ -54,6 +55,7 @@ pub trait BaseSrcExt: 'static { fn negotiate(&self) -> bool; #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "gst_base_src_new_seamless_segment")] fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool; @@ -160,6 +162,7 @@ impl> BaseSrcExt for O { unsafe { from_glib(ffi::gst_base_src_negotiate(self.as_ref().to_glib_none().0)) } } + #[allow(deprecated)] fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool { unsafe { from_glib(ffi::gst_base_src_new_seamless_segment( diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 9481f6141..d9095baec 100644 --- a/gstreamer-base/sys/tests/abi.rs +++ b/gstreamer-base/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_base_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index d71c83459..fee0ec182 100644 --- a/gstreamer-check/sys/tests/abi.rs +++ b/gstreamer-check/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_check_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index 53a483e20..3958a4e59 100644 --- a/gstreamer-controller/sys/tests/abi.rs +++ b/gstreamer-controller/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_controller_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-editing-services/src/auto/audio_transition.rs b/gstreamer-editing-services/src/auto/audio_transition.rs index 58eb0d5c6..e24f3e405 100644 --- a/gstreamer-editing-services/src/auto/audio_transition.rs +++ b/gstreamer-editing-services/src/auto/audio_transition.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Extractable; use crate::MetaContainer; @@ -24,6 +25,7 @@ impl AudioTransition { pub const NONE: Option<&'static AudioTransition> = None; #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_audio_transition_new")] pub fn new() -> AudioTransition { assert_initialized_main_thread!(); diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index cd73e34b7..b962f0a89 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Edge; use crate::EditMode; @@ -42,6 +43,7 @@ pub trait GESContainerExt: 'static { fn add(&self, child: &impl IsA) -> Result<(), glib::error::BoolError>; #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_container_edit")] fn edit( &self, @@ -93,6 +95,7 @@ impl> GESContainerExt for O { } } + #[allow(deprecated)] fn edit( &self, layers: &[Layer], diff --git a/gstreamer-editing-services/src/auto/formatter.rs b/gstreamer-editing-services/src/auto/formatter.rs index 1361fe11f..bea495018 100644 --- a/gstreamer-editing-services/src/auto/formatter.rs +++ b/gstreamer-editing-services/src/auto/formatter.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Asset; use crate::Extractable; @@ -63,10 +64,12 @@ impl Formatter { pub trait FormatterExt: 'static { #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_formatter_load_from_uri")] fn load_from_uri(&self, timeline: &impl IsA, uri: &str) -> Result<(), glib::Error>; #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_formatter_save_to_uri")] fn save_to_uri( &self, @@ -77,6 +80,7 @@ pub trait FormatterExt: 'static { } impl> FormatterExt for O { + #[allow(deprecated)] fn load_from_uri(&self, timeline: &impl IsA, uri: &str) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); @@ -95,6 +99,7 @@ impl> FormatterExt for O { } } + #[allow(deprecated)] fn save_to_uri( &self, timeline: &impl IsA, diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index 68839695d..b6fd092b5 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Asset; use crate::Clip; @@ -128,6 +129,7 @@ pub trait LayerExt: 'static { fn set_auto_transition(&self, auto_transition: bool); #[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")] + #[allow(deprecated)] #[doc(alias = "ges_layer_set_priority")] fn set_priority(&self, priority: u32); @@ -328,6 +330,7 @@ impl> LayerExt for O { } } + #[allow(deprecated)] fn set_priority(&self, priority: u32) { unsafe { ffi::ges_layer_set_priority(self.as_ref().to_glib_none().0, priority); diff --git a/gstreamer-editing-services/src/auto/text_overlay.rs b/gstreamer-editing-services/src/auto/text_overlay.rs index 14b512a21..6c2ab6985 100644 --- a/gstreamer-editing-services/src/auto/text_overlay.rs +++ b/gstreamer-editing-services/src/auto/text_overlay.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Extractable; use crate::MetaContainer; @@ -26,6 +27,7 @@ impl TextOverlay { pub const NONE: Option<&'static TextOverlay> = None; #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_text_overlay_new")] pub fn new() -> Option { assert_initialized_main_thread!(); diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index 5c93254d6..4c8c2d44d 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Asset; #[cfg(any(feature = "v1_18", feature = "dox"))] @@ -74,6 +75,7 @@ impl Default for Timeline { pub trait TimelineExt: 'static { #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_timeline_add_layer")] fn add_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError>; @@ -89,6 +91,11 @@ pub trait TimelineExt: 'static { #[doc(alias = "ges_timeline_commit_sync")] fn commit_sync(&self) -> bool; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "ges_timeline_disable_edit_apis")] + fn disable_edit_apis(&self, disable_edit_apis: bool); + #[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] #[doc(alias = "ges_timeline_freeze_commit")] @@ -102,6 +109,12 @@ pub trait TimelineExt: 'static { #[doc(alias = "get_duration")] fn duration(&self) -> gst::ClockTime; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "ges_timeline_get_edit_apis_disabled")] + #[doc(alias = "get_edit_apis_disabled")] + fn is_edit_apis_disabled(&self) -> bool; + #[doc(alias = "ges_timeline_get_element")] #[doc(alias = "get_element")] fn element(&self, name: &str) -> Option; @@ -249,6 +262,7 @@ pub trait TimelineExt: 'static { } impl> TimelineExt for O { + #[allow(deprecated)] fn add_layer(&self, layer: &impl IsA) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( @@ -293,6 +307,17 @@ impl> TimelineExt for O { } } + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn disable_edit_apis(&self, disable_edit_apis: bool) { + unsafe { + ffi::ges_timeline_disable_edit_apis( + self.as_ref().to_glib_none().0, + disable_edit_apis.into_glib(), + ); + } + } + #[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] fn freeze_commit(&self) { @@ -318,6 +343,16 @@ impl> TimelineExt for O { } } + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn is_edit_apis_disabled(&self) -> bool { + unsafe { + from_glib(ffi::ges_timeline_get_edit_apis_disabled( + self.as_ref().to_glib_none().0, + )) + } + } + fn element(&self, name: &str) -> Option { unsafe { from_glib_full(ffi::ges_timeline_get_element( diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index b74b118c4..6e1d6fb97 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] @@ -214,6 +215,7 @@ pub trait TimelineElementExt: 'static { fn set_parent(&self, parent: &impl IsA) -> Result<(), glib::error::BoolError>; #[deprecated = "Since 1.10"] + #[allow(deprecated)] #[doc(alias = "ges_timeline_element_set_priority")] fn set_priority(&self, priority: u32) -> bool; @@ -714,6 +716,7 @@ impl> TimelineElementExt for O { } } + #[allow(deprecated)] fn set_priority(&self, priority: u32) -> bool { unsafe { from_glib(ffi::ges_timeline_element_set_priority( diff --git a/gstreamer-editing-services/src/auto/title_clip.rs b/gstreamer-editing-services/src/auto/title_clip.rs index 327bc0d10..19220b0bc 100644 --- a/gstreamer-editing-services/src/auto/title_clip.rs +++ b/gstreamer-editing-services/src/auto/title_clip.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Clip; use crate::Container; @@ -41,74 +42,90 @@ impl TitleClip { pub trait TitleClipExt: 'static { #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_background_color")] #[doc(alias = "get_background_color")] fn background_color(&self) -> u32; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_font_desc")] #[doc(alias = "get_font_desc")] fn font_desc(&self) -> Option; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_halignment")] #[doc(alias = "get_halignment")] fn halignment(&self) -> TextHAlign; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_text")] #[doc(alias = "get_text")] fn text(&self) -> Option; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_text_color")] #[doc(alias = "get_text_color")] fn text_color(&self) -> u32; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_valignment")] #[doc(alias = "get_valignment")] fn valignment(&self) -> TextVAlign; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_xpos")] #[doc(alias = "get_xpos")] fn xpos(&self) -> f64; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_get_ypos")] #[doc(alias = "get_ypos")] fn ypos(&self) -> f64; #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_background")] fn set_background(&self, background: u32); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_color")] fn set_color(&self, color: u32); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_font_desc")] fn set_font_desc(&self, font_desc: Option<&str>); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_halignment")] fn set_halignment(&self, halign: TextHAlign); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_text")] fn set_text(&self, text: Option<&str>); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_valignment")] fn set_valignment(&self, valign: TextVAlign); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_xpos")] fn set_xpos(&self, position: f64); #[deprecated = "Since 1.6"] + #[allow(deprecated)] #[doc(alias = "ges_title_clip_set_ypos")] fn set_ypos(&self, position: f64); @@ -152,10 +169,12 @@ pub trait TitleClipExt: 'static { } impl> TitleClipExt for O { + #[allow(deprecated)] fn background_color(&self) -> u32 { unsafe { ffi::ges_title_clip_get_background_color(self.as_ref().to_glib_none().0) } } + #[allow(deprecated)] fn font_desc(&self) -> Option { unsafe { from_glib_full(ffi::ges_title_clip_get_font_desc( @@ -164,6 +183,7 @@ impl> TitleClipExt for O { } } + #[allow(deprecated)] fn halignment(&self) -> TextHAlign { unsafe { from_glib(ffi::ges_title_clip_get_halignment( @@ -172,14 +192,17 @@ impl> TitleClipExt for O { } } + #[allow(deprecated)] fn text(&self) -> Option { unsafe { from_glib_full(ffi::ges_title_clip_get_text(self.as_ref().to_glib_none().0)) } } + #[allow(deprecated)] fn text_color(&self) -> u32 { unsafe { ffi::ges_title_clip_get_text_color(self.as_ref().to_glib_none().0) } } + #[allow(deprecated)] fn valignment(&self) -> TextVAlign { unsafe { from_glib(ffi::ges_title_clip_get_valignment( @@ -188,26 +211,31 @@ impl> TitleClipExt for O { } } + #[allow(deprecated)] fn xpos(&self) -> f64 { unsafe { ffi::ges_title_clip_get_xpos(self.as_ref().to_glib_none().0) } } + #[allow(deprecated)] fn ypos(&self) -> f64 { unsafe { ffi::ges_title_clip_get_ypos(self.as_ref().to_glib_none().0) } } + #[allow(deprecated)] fn set_background(&self, background: u32) { unsafe { ffi::ges_title_clip_set_background(self.as_ref().to_glib_none().0, background); } } + #[allow(deprecated)] fn set_color(&self, color: u32) { unsafe { ffi::ges_title_clip_set_color(self.as_ref().to_glib_none().0, color); } } + #[allow(deprecated)] fn set_font_desc(&self, font_desc: Option<&str>) { unsafe { ffi::ges_title_clip_set_font_desc( @@ -217,30 +245,35 @@ impl> TitleClipExt for O { } } + #[allow(deprecated)] fn set_halignment(&self, halign: TextHAlign) { unsafe { ffi::ges_title_clip_set_halignment(self.as_ref().to_glib_none().0, halign.into_glib()); } } + #[allow(deprecated)] fn set_text(&self, text: Option<&str>) { unsafe { ffi::ges_title_clip_set_text(self.as_ref().to_glib_none().0, text.to_glib_none().0); } } + #[allow(deprecated)] fn set_valignment(&self, valign: TextVAlign) { unsafe { ffi::ges_title_clip_set_valignment(self.as_ref().to_glib_none().0, valign.into_glib()); } } + #[allow(deprecated)] fn set_xpos(&self, position: f64) { unsafe { ffi::ges_title_clip_set_xpos(self.as_ref().to_glib_none().0, position); } } + #[allow(deprecated)] fn set_ypos(&self, position: f64) { unsafe { ffi::ges_title_clip_set_ypos(self.as_ref().to_glib_none().0, position); diff --git a/gstreamer-editing-services/src/auto/title_source.rs b/gstreamer-editing-services/src/auto/title_source.rs index 062dcacbe..fdc667309 100644 --- a/gstreamer-editing-services/src/auto/title_source.rs +++ b/gstreamer-editing-services/src/auto/title_source.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Extractable; use crate::MetaContainer; @@ -33,6 +34,7 @@ pub trait TitleSourceExt: 'static { fn background_color(&self) -> u32; #[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")] + #[allow(deprecated)] #[doc(alias = "ges_title_source_get_font_desc")] #[doc(alias = "get_font_desc")] fn font_desc(&self) -> Option; @@ -42,6 +44,7 @@ pub trait TitleSourceExt: 'static { fn halignment(&self) -> TextHAlign; #[cfg_attr(feature = "v1_16", deprecated = "Since 1.16")] + #[allow(deprecated)] #[doc(alias = "ges_title_source_get_text")] #[doc(alias = "get_text")] fn text(&self) -> Option; @@ -92,6 +95,7 @@ impl> TitleSourceExt for O { unsafe { ffi::ges_title_source_get_background_color(self.as_ref().to_glib_none().0) } } + #[allow(deprecated)] fn font_desc(&self) -> Option { unsafe { from_glib_full(ffi::ges_title_source_get_font_desc( @@ -108,6 +112,7 @@ impl> TitleSourceExt for O { } } + #[allow(deprecated)] fn text(&self) -> Option { unsafe { from_glib_full(ffi::ges_title_source_get_text( diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index 50782b381..ad86c2740 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Edge; use crate::EditMode; @@ -50,6 +51,7 @@ pub trait TrackElementExt: 'static { fn clamp_control_source(&self, property_name: &str); #[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")] + #[allow(deprecated)] #[doc(alias = "ges_track_element_edit")] fn edit( &self, @@ -236,6 +238,7 @@ impl> TrackElementExt for O { } } + #[allow(deprecated)] fn edit( &self, layers: &[Layer], diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-editing-services/src/auto/video_transition.rs b/gstreamer-editing-services/src/auto/video_transition.rs index 78a9e6ec6..949163d8c 100644 --- a/gstreamer-editing-services/src/auto/video_transition.rs +++ b/gstreamer-editing-services/src/auto/video_transition.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Extractable; use crate::MetaContainer; @@ -47,6 +48,7 @@ impl Default for VideoTransition { pub trait VideoTransitionExt: 'static { #[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")] + #[allow(deprecated)] #[doc(alias = "ges_video_transition_get_border")] #[doc(alias = "get_border")] fn border(&self) -> i32; @@ -56,14 +58,17 @@ pub trait VideoTransitionExt: 'static { fn transition_type(&self) -> VideoStandardTransitionType; #[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")] + #[allow(deprecated)] #[doc(alias = "ges_video_transition_is_inverted")] fn is_inverted(&self) -> bool; #[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")] + #[allow(deprecated)] #[doc(alias = "ges_video_transition_set_border")] fn set_border(&self, value: u32); #[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")] + #[allow(deprecated)] #[doc(alias = "ges_video_transition_set_inverted")] fn set_inverted(&self, inverted: bool); @@ -88,6 +93,7 @@ pub trait VideoTransitionExt: 'static { } impl> VideoTransitionExt for O { + #[allow(deprecated)] fn border(&self) -> i32 { unsafe { ffi::ges_video_transition_get_border(self.as_ref().to_glib_none().0) } } @@ -100,6 +106,7 @@ impl> VideoTransitionExt for O { } } + #[allow(deprecated)] fn is_inverted(&self) -> bool { unsafe { from_glib(ffi::ges_video_transition_is_inverted( @@ -108,12 +115,14 @@ impl> VideoTransitionExt for O { } } + #[allow(deprecated)] fn set_border(&self, value: u32) { unsafe { ffi::ges_video_transition_set_border(self.as_ref().to_glib_none().0, value); } } + #[allow(deprecated)] fn set_inverted(&self, inverted: bool) { unsafe { ffi::ges_video_transition_set_inverted( diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index 784b6ee8e..b670dec7e 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -3514,11 +3514,17 @@ extern "C" { pub fn ges_timeline_append_layer(timeline: *mut GESTimeline) -> *mut GESLayer; pub fn ges_timeline_commit(timeline: *mut GESTimeline) -> gboolean; pub fn ges_timeline_commit_sync(timeline: *mut GESTimeline) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn ges_timeline_disable_edit_apis(self_: *mut GESTimeline, disable_edit_apis: gboolean); #[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] pub fn ges_timeline_freeze_commit(timeline: *mut GESTimeline); pub fn ges_timeline_get_auto_transition(timeline: *mut GESTimeline) -> gboolean; pub fn ges_timeline_get_duration(timeline: *mut GESTimeline) -> gst::GstClockTime; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn ges_timeline_get_edit_apis_disabled(self_: *mut GESTimeline) -> gboolean; pub fn ges_timeline_get_element( timeline: *mut GESTimeline, name: *const c_char, diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 2e4337d5d..9b0432c41 100644 --- a/gstreamer-editing-services/sys/tests/abi.rs +++ b/gstreamer-editing-services/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_editing_services_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 5397787cf..0a6d16c88 100644 --- a/gstreamer-gl/egl/sys/tests/abi.rs +++ b/gstreamer-gl/egl/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_gl_egl_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index f1deb415a..a753a5e3a 100644 --- a/gstreamer-gl/sys/tests/abi.rs +++ b/gstreamer-gl/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_gl_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index e207326ab..867f77aae 100644 --- a/gstreamer-gl/wayland/sys/tests/abi.rs +++ b/gstreamer-gl/wayland/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_gl_wayland_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 43eadd240..4e4f4d1cf 100644 --- a/gstreamer-gl/x11/sys/tests/abi.rs +++ b/gstreamer-gl/x11/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_gl_x11_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index 9c6cb64b5..49dcb906f 100644 --- a/gstreamer-mpegts/sys/tests/abi.rs +++ b/gstreamer-mpegts/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_mpegts_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index a413780f6..f0fe7768d 100644 --- a/gstreamer-net/sys/tests/abi.rs +++ b/gstreamer-net/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_net_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index 8391b297a..7baae1f7c 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::DiscovererAudioInfo; use crate::DiscovererContainerInfo; @@ -132,6 +133,7 @@ impl DiscovererInfo { } #[cfg_attr(feature = "v1_20", deprecated = "Since 1.20")] + #[allow(deprecated)] #[doc(alias = "gst_discoverer_info_get_tags")] #[doc(alias = "get_tags")] pub fn tags(&self) -> Option { diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index 762e8ac95..8dc3a196c 100644 --- a/gstreamer-pbutils/sys/tests/abi.rs +++ b/gstreamer-pbutils/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_pbutils_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-play/src/auto/versions.txt +++ b/gstreamer-play/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-play/sys/tests/abi.rs b/gstreamer-play/sys/tests/abi.rs index 150ceecf4..f35fa979f 100644 --- a/gstreamer-play/sys/tests/abi.rs +++ b/gstreamer-play/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_play_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index e37f60ae5..4024ec792 100644 --- a/gstreamer-player/sys/tests/abi.rs +++ b/gstreamer-player/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_player_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 8e1d8bc89..21f2a3481 100644 --- a/gstreamer-rtp/sys/tests/abi.rs +++ b/gstreamer-rtp/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_rtp_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 157f8952a..f32c1e352 100644 --- a/gstreamer-rtsp-server/sys/tests/abi.rs +++ b/gstreamer-rtsp-server/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_rtsp_server_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 8142ff5c3..e255c6a7b 100644 --- a/gstreamer-rtsp/sys/tests/abi.rs +++ b/gstreamer-rtsp/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_rtsp_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index 7fe0800ea..f68ea12a0 100644 --- a/gstreamer-sdp/sys/tests/abi.rs +++ b/gstreamer-sdp/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_sdp_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index 772e3d86e..11d11e9f7 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_tag_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-validate/sys/tests/abi.rs b/gstreamer-validate/sys/tests/abi.rs index f847b5afb..c6484c4ba 100644 --- a/gstreamer-validate/sys/tests/abi.rs +++ b/gstreamer-validate/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_validate_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index 2e46961b6..48fcffc5c 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use glib::object::Cast; use glib::object::IsA; diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 4ef4d344b..eb5342781 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -541,7 +541,7 @@ pub const GST_VIDEO_CONVERTER_OPT_SRC_Y: *const c_char = b"GstVideoConverter.src-y\0" as *const u8 as *const c_char; pub const GST_VIDEO_CONVERTER_OPT_THREADS: *const c_char = b"GstVideoConverter.threads\0" as *const u8 as *const c_char; -pub const GST_VIDEO_DECODER_MAX_ERRORS: c_int = 10; +pub const GST_VIDEO_DECODER_MAX_ERRORS: c_int = -1; pub const GST_VIDEO_DECODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char; pub const GST_VIDEO_DECODER_SRC_NAME: *const c_char = b"src\0" as *const u8 as *const c_char; pub const GST_VIDEO_ENCODER_SINK_NAME: *const c_char = b"sink\0" as *const u8 as *const c_char; diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index e1fa9b8a1..20a0cb4b2 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_video_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); @@ -1245,7 +1245,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ "GST_VIDEO_CONVERTER_OPT_THREADS", "GstVideoConverter.threads", ), - ("GST_VIDEO_DECODER_MAX_ERRORS", "10"), + ("GST_VIDEO_DECODER_MAX_ERRORS", "-1"), ( "(guint) GST_VIDEO_DECODER_REQUEST_SYNC_POINT_CORRUPT_OUTPUT", "2", diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index 03b655634..f3fe7aebb 100644 --- a/gstreamer-webrtc/sys/tests/abi.rs +++ b/gstreamer-webrtc/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_webrtc_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new(); diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 72b78bbfd..e028a9db9 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![allow(deprecated)] use crate::Bus; use crate::Caps; diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 67fa5899f..1a50abc64 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -918,6 +918,14 @@ impl EventType { assert_initialized_main_thread!(); unsafe { from_glib(ffi::gst_event_type_to_quark(self.into_glib())) } } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_event_type_to_sticky_ordering")] + pub fn to_sticky_ordering(self) -> u32 { + assert_initialized_main_thread!(); + unsafe { ffi::gst_event_type_to_sticky_ordering(self.into_glib()) } + } } impl fmt::Display for EventType { diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index 06eac5890..ef6c79137 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 250c500566c3) -from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 3596e2209a51) +Generated by gir (https://github.com/gtk-rs/gir @ 5c4c358d83c8) +from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c61ff111304e) diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 68b28da6e..f27761dc3 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -4019,6 +4019,9 @@ extern "C" { pub fn gst_event_type_get_flags(type_: GstEventType) -> GstEventTypeFlags; pub fn gst_event_type_get_name(type_: GstEventType) -> *const c_char; pub fn gst_event_type_to_quark(type_: GstEventType) -> glib::GQuark; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_event_type_to_sticky_ordering(type_: GstEventType) -> c_uint; //========================================================================= // GstFlowReturn @@ -4972,6 +4975,9 @@ extern "C" { // GstDebugMessage //========================================================================= pub fn gst_debug_message_get(message: *mut GstDebugMessage) -> *const c_char; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_debug_message_get_id(message: *mut GstDebugMessage) -> *const c_char; //========================================================================= // GstDeviceProviderClass @@ -8935,6 +8941,32 @@ extern "C" { object: *mut gobject::GObject, message: *mut GstDebugMessage, ) -> *mut c_char; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_debug_log_id( + category: *mut GstDebugCategory, + level: GstDebugLevel, + file: *const c_char, + function: *const c_char, + line: c_int, + id: *const c_char, + format: *const c_char, + ... + ); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_debug_log_id_literal( + category: *mut GstDebugCategory, + level: GstDebugLevel, + file: *const c_char, + function: *const c_char, + line: c_int, + id: *const c_char, + message_string: *const c_char, + ); + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //pub fn gst_debug_log_id_valist(category: *mut GstDebugCategory, level: GstDebugLevel, file: *const c_char, function: *const c_char, line: c_int, id: *const c_char, format: *const c_char, args: /*Unimplemented*/va_list); #[cfg(any(feature = "v1_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] pub fn gst_debug_log_literal( diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index 8a6db63c7..9ad834248 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +#![cfg(target_os = "linux")] + use gstreamer_sys::*; use std::env; use std::error::Error; @@ -111,7 +113,6 @@ impl Results { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_constants_with_c() { let mut c_constants: Vec<(String, String)> = Vec::new(); @@ -146,7 +147,6 @@ fn cross_validate_constants_with_c() { } #[test] -#[cfg(target_os = "linux")] fn cross_validate_layout_with_c() { let mut c_layouts = Vec::new();