diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-allocators/sys/build.rs b/gstreamer-allocators/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-allocators/sys/build.rs +++ b/gstreamer-allocators/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-allocators/sys/src/lib.rs b/gstreamer-allocators/sys/src/lib.rs index 29a84daac..44c19878b 100644 --- a/gstreamer-allocators/sys/src/lib.rs +++ b/gstreamer-allocators/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-allocators/sys/tests/abi.rs b/gstreamer-allocators/sys/tests/abi.rs index f47b6d1d6..8fa0752ab 100644 --- a/gstreamer-allocators/sys/tests/abi.rs +++ b/gstreamer-allocators/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_allocators_sys::*; diff --git a/gstreamer-allocators/sys/tests/constant.c b/gstreamer-allocators/sys/tests/constant.c index fab0ff3e1..0d3ec1314 100644 --- a/gstreamer-allocators/sys/tests/constant.c +++ b/gstreamer-allocators/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-allocators/sys/tests/layout.c b/gstreamer-allocators/sys/tests/layout.c index a02ed9e35..b6a5612c8 100644 --- a/gstreamer-allocators/sys/tests/layout.c +++ b/gstreamer-allocators/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-app/sys/build.rs +++ b/gstreamer-app/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index cf3b40af9..b118d6cad 100644 --- a/gstreamer-app/sys/src/lib.rs +++ b/gstreamer-app/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 f980ba768..91ee4a8aa 100644 --- a/gstreamer-app/sys/tests/abi.rs +++ b/gstreamer-app/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_app_sys::*; diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index c1da953d8..a245bc37f 100644 --- a/gstreamer-app/sys/tests/constant.c +++ b/gstreamer-app/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index 223fdd16a..7a396ae53 100644 --- a/gstreamer-app/sys/tests/layout.c +++ b/gstreamer-app/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-audio/sys/build.rs +++ b/gstreamer-audio/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index 4aa9b2372..ea596bb27 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index e0dc3a14b..7ef39fa18 100644 --- a/gstreamer-audio/sys/tests/abi.rs +++ b/gstreamer-audio/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_audio_sys::*; diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index fadd8a3ae..04b821be4 100644 --- a/gstreamer-audio/sys/tests/constant.c +++ b/gstreamer-audio/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index 58a99a7f1..f45ea9b6b 100644 --- a/gstreamer-audio/sys/tests/layout.c +++ b/gstreamer-audio/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-base/sys/build.rs +++ b/gstreamer-base/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index af99f9ac9..55ab9d975 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 0fba212bb..49a3ee2cd 100644 --- a/gstreamer-base/sys/tests/abi.rs +++ b/gstreamer-base/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_base_sys::*; diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index 876be7ef1..6b32c99a5 100644 --- a/gstreamer-base/sys/tests/constant.c +++ b/gstreamer-base/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 450307c1f..c1489f240 100644 --- a/gstreamer-base/sys/tests/layout.c +++ b/gstreamer-base/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-check/sys/build.rs +++ b/gstreamer-check/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index b1ead1143..9cb11f148 100644 --- a/gstreamer-check/sys/src/lib.rs +++ b/gstreamer-check/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 b0e838cd4..f75c06a48 100644 --- a/gstreamer-check/sys/tests/abi.rs +++ b/gstreamer-check/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_check_sys::*; diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index f6a334d23..32ea44596 100644 --- a/gstreamer-check/sys/tests/constant.c +++ b/gstreamer-check/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index 95a3710f3..637f9e49c 100644 --- a/gstreamer-check/sys/tests/layout.c +++ b/gstreamer-check/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-controller/sys/build.rs +++ b/gstreamer-controller/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 8b951efd7..60c3c8bd0 100644 --- a/gstreamer-controller/sys/src/lib.rs +++ b/gstreamer-controller/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index c27296b7d..b04b1f176 100644 --- a/gstreamer-controller/sys/tests/abi.rs +++ b/gstreamer-controller/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_controller_sys::*; diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index 105bdb45f..bfdc5570a 100644 --- a/gstreamer-controller/sys/tests/constant.c +++ b/gstreamer-controller/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index 3fa00e673..e11c1b1c1 100644 --- a/gstreamer-controller/sys/tests/layout.c +++ b/gstreamer-controller/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-editing-services/Gir.toml b/gstreamer-editing-services/Gir.toml index 46e58e03a..2fc2f1002 100644 --- a/gstreamer-editing-services/Gir.toml +++ b/gstreamer-editing-services/Gir.toml @@ -25,6 +25,7 @@ manual = [ "GLib.Source", "GLib.Type", "GObject.Object", + "GObject.ParamSpec", "GObject.Value", "Gst.Bin", "Gst.ChildProxy", @@ -409,6 +410,16 @@ manual_traits = ["TimelineElementExtManual"] [object.function.return] bool_return_is_error = "Failed to set name" + [[object.function]] + name = "add_child_property" + [object.function.return] + bool_return_is_error = "Failed to add child property" + + [[object.function]] + name = "remove_child_property" + [object.function.return] + bool_return_is_error = "Failed to remove child property" + [[object.function]] name = "set_child_property" [object.function.return] @@ -470,6 +481,20 @@ status = "generate" [object.function.return] bool_return_is_error = "Failed to remove control binding" + [[object.function]] + name = "set_child_property" + [[object.function.parameter]] + name = "value" + const = true + [object.function.return] + bool_return_is_error = "Failed to set child property" + + [[object.function]] + name = "set_child_property_by_pspec" + [[object.function.parameter]] + name = "value" + const = true + [[object]] name = "GES.TrackType" status = "generate" diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index 78a1aa83b..a6e5d91bb 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -24,12 +24,8 @@ use glib::translate::*; use glib::StaticType; use glib::ToValue; use std::boxed::Box as Box_; -#[cfg(any(feature = "v1_18", feature = "dox"))] -#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::mem; use std::mem::transmute; -#[cfg(any(feature = "v1_18", feature = "dox"))] -#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::ptr; glib::wrapper! { @@ -46,8 +42,12 @@ impl TimelineElement { } pub trait TimelineElementExt: 'static { - //#[doc(alias = "ges_timeline_element_add_child_property")] - //fn add_child_property(&self, pspec: /*Ignored*/&glib::ParamSpec, child: &impl IsA) -> bool; + #[doc(alias = "ges_timeline_element_add_child_property")] + fn add_child_property( + &self, + pspec: impl AsRef, + child: &impl IsA, + ) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_element_copy")] fn copy(&self, deep: bool) -> Result; @@ -83,9 +83,9 @@ pub trait TimelineElementExt: 'static { #[doc(alias = "get_child_property")] fn child_property(&self, property_name: &str) -> Option; - //#[doc(alias = "ges_timeline_element_get_child_property_by_pspec")] - //#[doc(alias = "get_child_property_by_pspec")] - //fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec) -> glib::Value; + #[doc(alias = "ges_timeline_element_get_child_property_by_pspec")] + #[doc(alias = "get_child_property_by_pspec")] + fn child_property_by_pspec(&self, pspec: impl AsRef) -> glib::Value; //#[doc(alias = "ges_timeline_element_get_child_property_valist")] //#[doc(alias = "get_child_property_valist")] @@ -145,17 +145,20 @@ pub trait TimelineElementExt: 'static { #[doc(alias = "get_track_types")] fn track_types(&self) -> TrackType; - //#[doc(alias = "ges_timeline_element_list_children_properties")] - //fn list_children_properties(&self) -> /*Ignored*/Vec; + #[doc(alias = "ges_timeline_element_list_children_properties")] + fn list_children_properties(&self) -> Vec; - //#[doc(alias = "ges_timeline_element_lookup_child")] - //fn lookup_child(&self, prop_name: &str, pspec: /*Ignored*/glib::ParamSpec) -> Option; + #[doc(alias = "ges_timeline_element_lookup_child")] + fn lookup_child(&self, prop_name: &str) -> Option<(glib::Object, glib::ParamSpec)>; #[doc(alias = "ges_timeline_element_paste")] fn paste(&self, paste_position: gst::ClockTime) -> Result; - //#[doc(alias = "ges_timeline_element_remove_child_property")] - //fn remove_child_property(&self, pspec: /*Ignored*/&glib::ParamSpec) -> bool; + #[doc(alias = "ges_timeline_element_remove_child_property")] + fn remove_child_property( + &self, + pspec: impl AsRef, + ) -> Result<(), glib::error::BoolError>; #[doc(alias = "ges_timeline_element_ripple")] fn ripple(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError>; @@ -179,8 +182,8 @@ pub trait TimelineElementExt: 'static { value: &glib::Value, ) -> Result<(), glib::error::BoolError>; - //#[doc(alias = "ges_timeline_element_set_child_property_by_pspec")] - //fn set_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: &glib::Value); + #[doc(alias = "ges_timeline_element_set_child_property_by_pspec")] + fn set_child_property_by_pspec(&self, pspec: impl AsRef, value: &glib::Value); #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] @@ -232,18 +235,28 @@ pub trait TimelineElementExt: 'static { fn set_serialize(&self, serialize: bool); - //#[cfg(any(feature = "v1_18", feature = "dox"))] - //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - //#[doc(alias = "child-property-added")] - //fn connect_child_property_added(&self, f: F) -> SignalHandlerId; + #[cfg(any(feature = "v1_18", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "child-property-added")] + fn connect_child_property_added( + &self, + f: F, + ) -> SignalHandlerId; - //#[cfg(any(feature = "v1_18", feature = "dox"))] - //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - //#[doc(alias = "child-property-removed")] - //fn connect_child_property_removed(&self, f: F) -> SignalHandlerId; + #[cfg(any(feature = "v1_18", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + #[doc(alias = "child-property-removed")] + fn connect_child_property_removed( + &self, + f: F, + ) -> SignalHandlerId; - //#[doc(alias = "deep-notify")] - //fn connect_deep_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId; + #[doc(alias = "deep-notify")] + fn connect_deep_notify( + &self, + detail: Option<&str>, + f: F, + ) -> SignalHandlerId; #[doc(alias = "duration")] fn connect_duration_notify(&self, f: F) -> SignalHandlerId; @@ -275,9 +288,22 @@ pub trait TimelineElementExt: 'static { } impl> TimelineElementExt for O { - //fn add_child_property(&self, pspec: /*Ignored*/&glib::ParamSpec, child: &impl IsA) -> bool { - // unsafe { TODO: call ffi:ges_timeline_element_add_child_property() } - //} + fn add_child_property( + &self, + pspec: impl AsRef, + child: &impl IsA, + ) -> Result<(), glib::error::BoolError> { + unsafe { + glib::result_from_gboolean!( + ffi::ges_timeline_element_add_child_property( + self.as_ref().to_glib_none().0, + pspec.as_ref().to_glib_none().0, + child.as_ref().to_glib_none().0 + ), + "Failed to add child property" + ) + } + } fn copy(&self, deep: bool) -> Result { unsafe { @@ -359,9 +385,17 @@ impl> TimelineElementExt for O { } } - //fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec) -> glib::Value { - // unsafe { TODO: call ffi:ges_timeline_element_get_child_property_by_pspec() } - //} + fn child_property_by_pspec(&self, pspec: impl AsRef) -> glib::Value { + unsafe { + let mut value = glib::Value::uninitialized(); + ffi::ges_timeline_element_get_child_property_by_pspec( + self.as_ref().to_glib_none().0, + pspec.as_ref().to_glib_none().0, + value.to_glib_none_mut().0, + ); + value + } + } //fn child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) { // unsafe { TODO: call ffi:ges_timeline_element_get_child_property_valist() } @@ -471,13 +505,37 @@ impl> TimelineElementExt for O { } } - //fn list_children_properties(&self) -> /*Ignored*/Vec { - // unsafe { TODO: call ffi:ges_timeline_element_list_children_properties() } - //} + fn list_children_properties(&self) -> Vec { + unsafe { + let mut n_properties = mem::MaybeUninit::uninit(); + let ret = FromGlibContainer::from_glib_full_num( + ffi::ges_timeline_element_list_children_properties( + self.as_ref().to_glib_none().0, + n_properties.as_mut_ptr(), + ), + n_properties.assume_init() as usize, + ); + ret + } + } - //fn lookup_child(&self, prop_name: &str, pspec: /*Ignored*/glib::ParamSpec) -> Option { - // unsafe { TODO: call ffi:ges_timeline_element_lookup_child() } - //} + fn lookup_child(&self, prop_name: &str) -> Option<(glib::Object, glib::ParamSpec)> { + unsafe { + let mut child = ptr::null_mut(); + let mut pspec = ptr::null_mut(); + let ret = from_glib(ffi::ges_timeline_element_lookup_child( + self.as_ref().to_glib_none().0, + prop_name.to_glib_none().0, + &mut child, + &mut pspec, + )); + if ret { + Some((from_glib_full(child), from_glib_full(pspec))) + } else { + None + } + } + } fn paste(&self, paste_position: gst::ClockTime) -> Result { unsafe { @@ -489,9 +547,20 @@ impl> TimelineElementExt for O { } } - //fn remove_child_property(&self, pspec: /*Ignored*/&glib::ParamSpec) -> bool { - // unsafe { TODO: call ffi:ges_timeline_element_remove_child_property() } - //} + fn remove_child_property( + &self, + pspec: impl AsRef, + ) -> Result<(), glib::error::BoolError> { + unsafe { + glib::result_from_gboolean!( + ffi::ges_timeline_element_remove_child_property( + self.as_ref().to_glib_none().0, + pspec.as_ref().to_glib_none().0 + ), + "Failed to remove child property" + ) + } + } fn ripple(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError> { unsafe { @@ -556,9 +625,15 @@ impl> TimelineElementExt for O { } } - //fn set_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: &glib::Value) { - // unsafe { TODO: call ffi:ges_timeline_element_set_child_property_by_pspec() } - //} + fn set_child_property_by_pspec(&self, pspec: impl AsRef, value: &glib::Value) { + unsafe { + ffi::ges_timeline_element_set_child_property_by_pspec( + self.as_ref().to_glib_none().0, + pspec.as_ref().to_glib_none().0, + value.to_glib_none().0, + ); + } + } #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] @@ -694,21 +769,113 @@ impl> TimelineElementExt for O { glib::ObjectExt::set_property(self.as_ref(), "serialize", &serialize) } - //#[cfg(any(feature = "v1_18", feature = "dox"))] - //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - //fn connect_child_property_added(&self, f: F) -> SignalHandlerId { - // Ignored prop: GObject.ParamSpec - //} + #[cfg(any(feature = "v1_18", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + fn connect_child_property_added( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn child_property_added_trampoline< + P: IsA, + F: Fn(&P, &glib::Object, &glib::ParamSpec) + 'static, + >( + this: *mut ffi::GESTimelineElement, + prop_object: *mut glib::gobject_ffi::GObject, + prop: *mut glib::gobject_ffi::GParamSpec, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f( + TimelineElement::from_glib_borrow(this).unsafe_cast_ref(), + &from_glib_borrow(prop_object), + &from_glib_borrow(prop), + ) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"child-property-added\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + child_property_added_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } - //#[cfg(any(feature = "v1_18", feature = "dox"))] - //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] - //fn connect_child_property_removed(&self, f: F) -> SignalHandlerId { - // Ignored prop: GObject.ParamSpec - //} + #[cfg(any(feature = "v1_18", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] + fn connect_child_property_removed( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn child_property_removed_trampoline< + P: IsA, + F: Fn(&P, &glib::Object, &glib::ParamSpec) + 'static, + >( + this: *mut ffi::GESTimelineElement, + prop_object: *mut glib::gobject_ffi::GObject, + prop: *mut glib::gobject_ffi::GParamSpec, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f( + TimelineElement::from_glib_borrow(this).unsafe_cast_ref(), + &from_glib_borrow(prop_object), + &from_glib_borrow(prop), + ) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"child-property-removed\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + child_property_removed_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } - //fn connect_deep_notify(&self, detail: Option<&str>, f: F) -> SignalHandlerId { - // Ignored prop: GObject.ParamSpec - //} + fn connect_deep_notify( + &self, + detail: Option<&str>, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn deep_notify_trampoline< + P: IsA, + F: Fn(&P, &glib::Object, &glib::ParamSpec) + 'static, + >( + this: *mut ffi::GESTimelineElement, + prop_object: *mut glib::gobject_ffi::GObject, + prop: *mut glib::gobject_ffi::GParamSpec, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f( + TimelineElement::from_glib_borrow(this).unsafe_cast_ref(), + &from_glib_borrow(prop_object), + &from_glib_borrow(prop), + ) + } + unsafe { + let f: Box_ = Box_::new(f); + let detailed_signal_name = detail.map(|name| format!("deep-notify::{}\0", name)); + let signal_name: &[u8] = detailed_signal_name + .as_ref() + .map_or(&b"deep-notify\0"[..], |n| n.as_bytes()); + connect_raw( + self.as_ptr() as *mut _, + signal_name.as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + deep_notify_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } fn connect_duration_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_duration_trampoline< diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index cfe8d1a8f..f505bb2df 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -17,7 +17,9 @@ use glib::signal::connect_raw; use glib::signal::SignalHandlerId; use glib::translate::*; use std::boxed::Box as Box_; +use std::mem; use std::mem::transmute; +use std::ptr; glib::wrapper! { #[doc(alias = "GESTrackElement")] @@ -67,6 +69,22 @@ pub trait TrackElementExt: 'static { #[doc(alias = "get_auto_clamp_control_sources")] fn is_auto_clamp_control_sources(&self) -> bool; + //#[doc(alias = "ges_track_element_get_child_properties")] + //#[doc(alias = "get_child_properties")] + //fn child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs); + + #[doc(alias = "ges_track_element_get_child_property")] + #[doc(alias = "get_child_property")] + fn child_property(&self, property_name: &str) -> Option; + + #[doc(alias = "ges_track_element_get_child_property_by_pspec")] + #[doc(alias = "get_child_property_by_pspec")] + fn child_property_by_pspec(&self, pspec: impl AsRef) -> glib::Value; + + //#[doc(alias = "ges_track_element_get_child_property_valist")] + //#[doc(alias = "get_child_property_valist")] + //fn child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported); + #[doc(alias = "ges_track_element_get_control_binding")] #[doc(alias = "get_control_binding")] fn control_binding(&self, property_name: &str) -> Option; @@ -104,8 +122,11 @@ pub trait TrackElementExt: 'static { #[doc(alias = "ges_track_element_is_core")] fn is_core(&self) -> bool; - //#[doc(alias = "ges_track_element_lookup_child")] - //fn lookup_child(&self, prop_name: &str, pspec: /*Ignored*/glib::ParamSpec) -> Option; + #[doc(alias = "ges_track_element_list_children_properties")] + fn list_children_properties(&self) -> Vec; + + #[doc(alias = "ges_track_element_lookup_child")] + fn lookup_child(&self, prop_name: &str) -> Option<(gst::Element, glib::ParamSpec)>; #[doc(alias = "ges_track_element_remove_control_binding")] fn remove_control_binding(&self, property_name: &str) -> Result<(), glib::error::BoolError>; @@ -118,6 +139,22 @@ pub trait TrackElementExt: 'static { #[doc(alias = "ges_track_element_set_auto_clamp_control_sources")] fn set_auto_clamp_control_sources(&self, auto_clamp: bool); + //#[doc(alias = "ges_track_element_set_child_properties")] + //fn set_child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs); + + #[doc(alias = "ges_track_element_set_child_property")] + fn set_child_property( + &self, + property_name: &str, + value: &glib::Value, + ) -> Result<(), glib::error::BoolError>; + + #[doc(alias = "ges_track_element_set_child_property_by_pspec")] + fn set_child_property_by_pspec(&self, pspec: impl AsRef, value: &glib::Value); + + //#[doc(alias = "ges_track_element_set_child_property_valist")] + //fn set_child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported); + #[doc(alias = "ges_track_element_set_control_source")] fn set_control_source( &self, @@ -234,6 +271,42 @@ impl> TrackElementExt for O { } } + //fn child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) { + // unsafe { TODO: call ffi:ges_track_element_get_child_properties() } + //} + + fn child_property(&self, property_name: &str) -> Option { + unsafe { + let mut value = glib::Value::uninitialized(); + let ret = from_glib(ffi::ges_track_element_get_child_property( + self.as_ref().to_glib_none().0, + property_name.to_glib_none().0, + value.to_glib_none_mut().0, + )); + if ret { + Some(value) + } else { + None + } + } + } + + fn child_property_by_pspec(&self, pspec: impl AsRef) -> glib::Value { + unsafe { + let mut value = glib::Value::uninitialized(); + ffi::ges_track_element_get_child_property_by_pspec( + self.as_ref().to_glib_none().0, + pspec.as_ref().to_glib_none().0, + value.to_glib_none_mut().0, + ); + value + } + } + + //fn child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) { + // unsafe { TODO: call ffi:ges_track_element_get_child_property_valist() } + //} + fn control_binding(&self, property_name: &str) -> Option { unsafe { from_glib_none(ffi::ges_track_element_get_control_binding( @@ -311,9 +384,37 @@ impl> TrackElementExt for O { } } - //fn lookup_child(&self, prop_name: &str, pspec: /*Ignored*/glib::ParamSpec) -> Option { - // unsafe { TODO: call ffi:ges_track_element_lookup_child() } - //} + fn list_children_properties(&self) -> Vec { + unsafe { + let mut n_properties = mem::MaybeUninit::uninit(); + let ret = FromGlibContainer::from_glib_full_num( + ffi::ges_track_element_list_children_properties( + self.as_ref().to_glib_none().0, + n_properties.as_mut_ptr(), + ), + n_properties.assume_init() as usize, + ); + ret + } + } + + fn lookup_child(&self, prop_name: &str) -> Option<(gst::Element, glib::ParamSpec)> { + unsafe { + let mut element = ptr::null_mut(); + let mut pspec = ptr::null_mut(); + let ret = from_glib(ffi::ges_track_element_lookup_child( + self.as_ref().to_glib_none().0, + prop_name.to_glib_none().0, + &mut element, + &mut pspec, + )); + if ret { + Some((from_glib_full(element), from_glib_full(pspec))) + } else { + None + } + } + } fn remove_control_binding(&self, property_name: &str) -> Result<(), glib::error::BoolError> { unsafe { @@ -347,6 +448,41 @@ impl> TrackElementExt for O { } } + //fn set_child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) { + // unsafe { TODO: call ffi:ges_track_element_set_child_properties() } + //} + + fn set_child_property( + &self, + property_name: &str, + value: &glib::Value, + ) -> Result<(), glib::error::BoolError> { + unsafe { + glib::result_from_gboolean!( + ffi::ges_track_element_set_child_property( + self.as_ref().to_glib_none().0, + property_name.to_glib_none().0, + mut_override(value.to_glib_none().0) + ), + "Failed to set child property" + ) + } + } + + fn set_child_property_by_pspec(&self, pspec: impl AsRef, value: &glib::Value) { + unsafe { + ffi::ges_track_element_set_child_property_by_pspec( + self.as_ref().to_glib_none().0, + pspec.as_ref().to_glib_none().0, + mut_override(value.to_glib_none().0), + ); + } + } + + //fn set_child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) { + // unsafe { TODO: call ffi:ges_track_element_set_child_property_valist() } + //} + fn set_control_source( &self, source: &impl IsA, diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-editing-services/sys/build.rs +++ b/gstreamer-editing-services/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 b1f2c1b4a..4afb0bbcd 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 57976e449..4078f3691 100644 --- a/gstreamer-editing-services/sys/tests/abi.rs +++ b/gstreamer-editing-services/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_editing_services_sys::*; diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index 5d656ed2e..09c74e100 100644 --- a/gstreamer-editing-services/sys/tests/constant.c +++ b/gstreamer-editing-services/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 1545654a2..3d0bce0f2 100644 --- a/gstreamer-editing-services/sys/tests/layout.c +++ b/gstreamer-editing-services/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-gl/egl/sys/build.rs +++ b/gstreamer-gl/egl/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index 4b57395c5..9db3f1b2d 100644 --- a/gstreamer-gl/egl/sys/src/lib.rs +++ b/gstreamer-gl/egl/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 2c0621209..b9daec3e7 100644 --- a/gstreamer-gl/egl/sys/tests/abi.rs +++ b/gstreamer-gl/egl/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_gl_egl_sys::*; diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 561afa3d2..469489e2f 100644 --- a/gstreamer-gl/egl/sys/tests/constant.c +++ b/gstreamer-gl/egl/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index 81c0d3b5a..3df9d49f0 100644 --- a/gstreamer-gl/egl/sys/tests/layout.c +++ b/gstreamer-gl/egl/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-gl/sys/build.rs +++ b/gstreamer-gl/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index bb2e5e294..4c0c7116f 100644 --- a/gstreamer-gl/sys/src/lib.rs +++ b/gstreamer-gl/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index 487ca6750..85e3136af 100644 --- a/gstreamer-gl/sys/tests/abi.rs +++ b/gstreamer-gl/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_gl_sys::*; diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index ba29c81ed..76049818f 100644 --- a/gstreamer-gl/sys/tests/constant.c +++ b/gstreamer-gl/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index 9ea8e69fe..f6cdeca4d 100644 --- a/gstreamer-gl/sys/tests/layout.c +++ b/gstreamer-gl/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-gl/wayland/sys/build.rs +++ b/gstreamer-gl/wayland/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index b78b8760d..6685ce9bd 100644 --- a/gstreamer-gl/wayland/sys/src/lib.rs +++ b/gstreamer-gl/wayland/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index cc90afaa8..5e7a5cd1c 100644 --- a/gstreamer-gl/wayland/sys/tests/abi.rs +++ b/gstreamer-gl/wayland/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_gl_wayland_sys::*; diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index f6a334d23..32ea44596 100644 --- a/gstreamer-gl/wayland/sys/tests/constant.c +++ b/gstreamer-gl/wayland/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index d8e7ca2e5..bbaf81009 100644 --- a/gstreamer-gl/wayland/sys/tests/layout.c +++ b/gstreamer-gl/wayland/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-gl/x11/sys/build.rs +++ b/gstreamer-gl/x11/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index df3847516..d10aef80a 100644 --- a/gstreamer-gl/x11/sys/src/lib.rs +++ b/gstreamer-gl/x11/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 2864563af..a1119a5cc 100644 --- a/gstreamer-gl/x11/sys/tests/abi.rs +++ b/gstreamer-gl/x11/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_gl_x11_sys::*; diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index f6a334d23..32ea44596 100644 --- a/gstreamer-gl/x11/sys/tests/constant.c +++ b/gstreamer-gl/x11/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index d10a2a1e1..404bab5a9 100644 --- a/gstreamer-gl/x11/sys/tests/layout.c +++ b/gstreamer-gl/x11/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-mpegts/sys/build.rs +++ b/gstreamer-mpegts/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index af79fd9b4..6c1117784 100644 --- a/gstreamer-mpegts/sys/src/lib.rs +++ b/gstreamer-mpegts/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 290f541d0..a350cc3f2 100644 --- a/gstreamer-mpegts/sys/tests/abi.rs +++ b/gstreamer-mpegts/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_mpegts_sys::*; diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 1bade6ef9..eb91da8a6 100644 --- a/gstreamer-mpegts/sys/tests/constant.c +++ b/gstreamer-mpegts/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index da8f05cc2..8815645f6 100644 --- a/gstreamer-mpegts/sys/tests/layout.c +++ b/gstreamer-mpegts/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-net/sys/build.rs +++ b/gstreamer-net/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index 0471f4895..34b39701f 100644 --- a/gstreamer-net/sys/src/lib.rs +++ b/gstreamer-net/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 0728059ff..af04048d5 100644 --- a/gstreamer-net/sys/tests/abi.rs +++ b/gstreamer-net/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_net_sys::*; diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index 3de3e991a..2efb6a0d2 100644 --- a/gstreamer-net/sys/tests/constant.c +++ b/gstreamer-net/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 37b39abed..161b0be74 100644 --- a/gstreamer-net/sys/tests/layout.c +++ b/gstreamer-net/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index 229374a86..ea9f2ab6d 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -25,6 +25,18 @@ impl DiscovererContainerInfo { )) } } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "gst_discoverer_container_info_get_tags")] + #[doc(alias = "get_tags")] + pub fn tags(&self) -> Option { + unsafe { + from_glib_none(ffi::gst_discoverer_container_info_get_tags( + self.to_glib_none().0, + )) + } + } } unsafe impl Send for DiscovererContainerInfo {} diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-pbutils/src/discoverer_container_info.rs b/gstreamer-pbutils/src/discoverer_container_info.rs deleted file mode 100644 index a3e8f303d..000000000 --- a/gstreamer-pbutils/src/discoverer_container_info.rs +++ /dev/null @@ -1,20 +0,0 @@ -// Take a look at the license at the top of the repository in the LICENSE file. - -use crate::DiscovererContainerInfo; - -#[cfg(any(feature = "v1_20", feature = "dox"))] -use glib::translate::*; - -impl DiscovererContainerInfo { - #[cfg(any(feature = "v1_20", feature = "dox"))] - #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] - #[doc(alias = "get_tags")] - #[doc(alias = "gst_discoverer_container_info_get_tags")] - pub fn tags(&self) -> Option { - unsafe { - from_glib_none(ffi::gst_discoverer_container_info_get_tags( - self.to_glib_none().0, - )) - } - } -} diff --git a/gstreamer-pbutils/src/lib.rs b/gstreamer-pbutils/src/lib.rs index 9598dd118..503d323d8 100644 --- a/gstreamer-pbutils/src/lib.rs +++ b/gstreamer-pbutils/src/lib.rs @@ -49,7 +49,6 @@ mod flag_serde; mod discoverer; pub use crate::discoverer::*; -mod discoverer_container_info; pub mod discoverer_stream_info; mod discoverer_video_info; diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-pbutils/sys/build.rs +++ b/gstreamer-pbutils/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 0e90ac30d..66804ac14 100644 --- a/gstreamer-pbutils/sys/src/lib.rs +++ b/gstreamer-pbutils/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 af78ad44e..adb430dfa 100644 --- a/gstreamer-pbutils/sys/tests/abi.rs +++ b/gstreamer-pbutils/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_pbutils_sys::*; diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 5bdc5466c..29a0a94b2 100644 --- a/gstreamer-pbutils/sys/tests/constant.c +++ b/gstreamer-pbutils/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index 69a6cac0b..322dd186c 100644 --- a/gstreamer-pbutils/sys/tests/layout.c +++ b/gstreamer-pbutils/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-play/sys/build.rs b/gstreamer-play/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-play/sys/build.rs +++ b/gstreamer-play/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-play/sys/src/lib.rs b/gstreamer-play/sys/src/lib.rs index 573606b95..634cba33c 100644 --- a/gstreamer-play/sys/src/lib.rs +++ b/gstreamer-play/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-play/sys/tests/abi.rs b/gstreamer-play/sys/tests/abi.rs index e70f8a4e4..32d84d466 100644 --- a/gstreamer-play/sys/tests/abi.rs +++ b/gstreamer-play/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_play_sys::*; diff --git a/gstreamer-play/sys/tests/constant.c b/gstreamer-play/sys/tests/constant.c index aef37a4a3..0cf46b388 100644 --- a/gstreamer-play/sys/tests/constant.c +++ b/gstreamer-play/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-play/sys/tests/layout.c b/gstreamer-play/sys/tests/layout.c index f20a36877..eb5e19fb2 100644 --- a/gstreamer-play/sys/tests/layout.c +++ b/gstreamer-play/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 755e95aa3..9f6c9188f 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -1097,34 +1097,6 @@ impl Player { } } - #[doc(alias = "video-renderer")] - pub fn connect_video_renderer_notify( - &self, - f: F, - ) -> SignalHandlerId { - unsafe extern "C" fn notify_video_renderer_trampoline< - F: Fn(&Player) + Send + Sync + 'static, - >( - this: *mut ffi::GstPlayer, - _param_spec: glib::ffi::gpointer, - f: glib::ffi::gpointer, - ) { - let f: &F = &*(f as *const F); - f(&from_glib_borrow(this)) - } - unsafe { - let f: Box_ = Box_::new(f); - connect_raw( - self.as_ptr() as *mut _, - b"notify::video-renderer\0".as_ptr() as *const _, - Some(transmute::<_, unsafe extern "C" fn()>( - notify_video_renderer_trampoline:: as *const (), - )), - Box_::into_raw(f), - ) - } - } - #[doc(alias = "volume")] pub fn connect_volume_notify( &self, diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-player/sys/build.rs +++ b/gstreamer-player/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index f191829c3..4ecadd145 100644 --- a/gstreamer-player/sys/src/lib.rs +++ b/gstreamer-player/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 970b500f3..76abbca15 100644 --- a/gstreamer-player/sys/tests/abi.rs +++ b/gstreamer-player/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_player_sys::*; diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index e8b0a9467..86ef0b938 100644 --- a/gstreamer-player/sys/tests/constant.c +++ b/gstreamer-player/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index aaa8ac00d..59e8dc442 100644 --- a/gstreamer-player/sys/tests/layout.c +++ b/gstreamer-player/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-rtp/sys/build.rs +++ b/gstreamer-rtp/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index 5bad20d08..30bfd921d 100644 --- a/gstreamer-rtp/sys/src/lib.rs +++ b/gstreamer-rtp/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 8314e0937..67ac8d711 100644 --- a/gstreamer-rtp/sys/tests/abi.rs +++ b/gstreamer-rtp/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_rtp_sys::*; diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index ef0bd39f3..2f13af08f 100644 --- a/gstreamer-rtp/sys/tests/constant.c +++ b/gstreamer-rtp/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index bdbdf5b3c..32056b52b 100644 --- a/gstreamer-rtp/sys/tests/layout.c +++ b/gstreamer-rtp/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-rtsp-server/sys/build.rs +++ b/gstreamer-rtsp-server/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 c81c1fcfc..b618b7dd5 100644 --- a/gstreamer-rtsp-server/sys/src/lib.rs +++ b/gstreamer-rtsp-server/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 3a36ad6c2..3ed77626f 100644 --- a/gstreamer-rtsp-server/sys/tests/abi.rs +++ b/gstreamer-rtsp-server/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_rtsp_server_sys::*; diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index d05c2b95c..57aee20a3 100644 --- a/gstreamer-rtsp-server/sys/tests/constant.c +++ b/gstreamer-rtsp-server/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 90b6d4ace..14239f653 100644 --- a/gstreamer-rtsp-server/sys/tests/layout.c +++ b/gstreamer-rtsp-server/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-rtsp/sys/build.rs +++ b/gstreamer-rtsp/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 757e388cf..2d46ebbd0 100644 --- a/gstreamer-rtsp/sys/src/lib.rs +++ b/gstreamer-rtsp/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 352b3dade..d5191ac00 100644 --- a/gstreamer-rtsp/sys/tests/abi.rs +++ b/gstreamer-rtsp/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_rtsp_sys::*; diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index 351b99615..3ad8561a1 100644 --- a/gstreamer-rtsp/sys/tests/constant.c +++ b/gstreamer-rtsp/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index 96b63c18b..660791de4 100644 --- a/gstreamer-rtsp/sys/tests/layout.c +++ b/gstreamer-rtsp/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-sdp/sys/build.rs +++ b/gstreamer-sdp/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index 2e7c65cb3..df5dc474e 100644 --- a/gstreamer-sdp/sys/src/lib.rs +++ b/gstreamer-sdp/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 d90764ee5..e9b811de3 100644 --- a/gstreamer-sdp/sys/tests/abi.rs +++ b/gstreamer-sdp/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_sdp_sys::*; diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 45a56a166..2a6b8b07a 100644 --- a/gstreamer-sdp/sys/tests/constant.c +++ b/gstreamer-sdp/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index 0cdd954b2..698bc9afc 100644 --- a/gstreamer-sdp/sys/tests/layout.c +++ b/gstreamer-sdp/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-tag/sys/build.rs +++ b/gstreamer-tag/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index 9e65453cb..b97e13359 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // 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 5287bed1f..5e82bc976 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_tag_sys::*; diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index ff39a8b50..637c87d3d 100644 --- a/gstreamer-tag/sys/tests/constant.c +++ b/gstreamer-tag/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index 4d4c6db91..0fd297b86 100644 --- a/gstreamer-tag/sys/tests/layout.c +++ b/gstreamer-tag/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-video/sys/build.rs +++ b/gstreamer-video/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index e320660fe..240b9dc52 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index d13efd486..d5af2fde7 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_video_sys::*; diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 4a2083064..08eadb07f 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 5fa48f4b8..ebd2ced3b 100644 --- a/gstreamer-video/sys/tests/layout.c +++ b/gstreamer-video/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-webrtc/Gir.toml b/gstreamer-webrtc/Gir.toml index efcc0c418..f879e5720 100644 --- a/gstreamer-webrtc/Gir.toml +++ b/gstreamer-webrtc/Gir.toml @@ -23,10 +23,12 @@ generate = [ "GstWebRTC.WebRTCDTLSTransportState", "GstWebRTC.WebRTCError", "GstWebRTC.WebRTCFECType", + "GstWebRTC.WebRTCICE", "GstWebRTC.WebRTCICEComponent", "GstWebRTC.WebRTCICEConnectionState", "GstWebRTC.WebRTCICEGatheringState", "GstWebRTC.WebRTCICERole", + "GstWebRTC.WebRTCICEStream", "GstWebRTC.WebRTCICETransportPolicy", "GstWebRTC.WebRTCKind", "GstWebRTC.WebRTCPeerConnectionState", diff --git a/gstreamer-webrtc/src/auto/mod.rs b/gstreamer-webrtc/src/auto/mod.rs index bbc0285ca..017cc391b 100644 --- a/gstreamer-webrtc/src/auto/mod.rs +++ b/gstreamer-webrtc/src/auto/mod.rs @@ -13,6 +13,12 @@ mod web_rtc_data_channel; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] pub use self::web_rtc_data_channel::WebRTCDataChannel; +mod web_rtcice; +pub use self::web_rtcice::WebRTCICE; + +mod web_rtcice_stream; +pub use self::web_rtcice_stream::WebRTCICEStream; + mod web_rtcice_transport; pub use self::web_rtcice_transport::WebRTCICETransport; @@ -71,3 +77,9 @@ pub use self::enums::WebRTCSCTPTransportState; pub use self::enums::WebRTCSDPType; pub use self::enums::WebRTCSignalingState; pub use self::enums::WebRTCStatsType; + +#[doc(hidden)] +pub mod traits { + pub use super::web_rtcice::WebRTCICEExt; + pub use super::web_rtcice_stream::WebRTCICEStreamExt; +} diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer-webrtc/src/auto/web_rtcice.rs b/gstreamer-webrtc/src/auto/web_rtcice.rs new file mode 100644 index 000000000..324af7027 --- /dev/null +++ b/gstreamer-webrtc/src/auto/web_rtcice.rs @@ -0,0 +1,568 @@ +// This file was generated by gir (https://github.com/gtk-rs/gir) +// 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 + +#[cfg(any(feature = "v1_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] +use crate::WebRTCICEComponent; +#[cfg(any(feature = "v1_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] +use crate::WebRTCICEStream; +#[cfg(any(feature = "v1_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] +use crate::WebRTCICETransport; +use glib::object::Cast; +use glib::object::IsA; +use glib::object::ObjectExt; +use glib::signal::connect_raw; +use glib::signal::SignalHandlerId; +use glib::translate::*; +#[cfg(any(feature = "v1_20", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] +use glib::StaticType; +#[cfg(any(feature = "v1_20", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] +use glib::ToValue; +use std::boxed::Box as Box_; +use std::mem::transmute; + +glib::wrapper! { + #[doc(alias = "GstWebRTCICE")] + pub struct WebRTCICE(Object); + + match fn { + type_ => || ffi::gst_webrtc_ice_get_type(), + } +} + +impl WebRTCICE { + pub const NONE: Option<&'static WebRTCICE> = None; + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //#[doc(alias = "gst_webrtc_ice_candidate_stats_free")] + //pub fn candidate_stats_free(stats: /*Ignored*/&mut WebRTCICECandidateStats) { + // unsafe { TODO: call ffi:gst_webrtc_ice_candidate_stats_free() } + //} +} + +unsafe impl Send for WebRTCICE {} +unsafe impl Sync for WebRTCICE {} + +pub trait WebRTCICEExt: 'static { + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_add_candidate")] + fn add_candidate(&self, stream: &impl IsA, candidate: &str); + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_add_stream")] + fn add_stream(&self, session_id: u32) -> Option; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_add_turn_server")] + fn add_turn_server(&self, uri: &str) -> bool; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_find_transport")] + fn find_transport( + &self, + stream: &impl IsA, + component: WebRTCICEComponent, + ) -> Option; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_gather_candidates")] + fn gather_candidates(&self, stream: &impl IsA) -> bool; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_get_is_controller")] + #[doc(alias = "get_is_controller")] + fn is_controller(&self) -> bool; + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //#[doc(alias = "gst_webrtc_ice_get_local_candidates")] + //#[doc(alias = "get_local_candidates")] + //fn local_candidates(&self, stream: &impl IsA) -> /*Unknown conversion*//*Unimplemented*/Array TypeId { ns_id: 1, id: 12 }; + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //#[doc(alias = "gst_webrtc_ice_get_remote_candidates")] + //#[doc(alias = "get_remote_candidates")] + //fn remote_candidates(&self, stream: &impl IsA) -> /*Unknown conversion*//*Unimplemented*/Array TypeId { ns_id: 1, id: 12 }; + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //#[doc(alias = "gst_webrtc_ice_get_selected_pair")] + //#[doc(alias = "get_selected_pair")] + //fn is_selected_pair(&self, stream: &impl IsA, local_stats: /*Ignored*/&mut WebRTCICECandidateStats, remote_stats: /*Ignored*/&mut WebRTCICECandidateStats) -> bool; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_get_stun_server")] + #[doc(alias = "get_stun_server")] + fn stun_server(&self) -> Option; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_get_turn_server")] + #[doc(alias = "get_turn_server")] + fn turn_server(&self) -> Option; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_force_relay")] + fn set_force_relay(&self, force_relay: bool); + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_is_controller")] + fn set_is_controller(&self, controller: bool); + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_local_credentials")] + fn set_local_credentials( + &self, + stream: &impl IsA, + ufrag: &str, + pwd: &str, + ) -> bool; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_on_ice_candidate")] + fn set_on_ice_candidate(&self, func: P); + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_remote_credentials")] + fn set_remote_credentials( + &self, + stream: &impl IsA, + ufrag: &str, + pwd: &str, + ) -> bool; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_stun_server")] + fn set_stun_server(&self, uri: &str); + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_tos")] + fn set_tos(&self, stream: &impl IsA, tos: u32); + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_set_turn_server")] + fn set_turn_server(&self, uri: &str); + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "max-rtp-port")] + fn max_rtp_port(&self) -> u32; + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "max-rtp-port")] + fn set_max_rtp_port(&self, max_rtp_port: u32); + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "min-rtp-port")] + fn min_rtp_port(&self) -> u32; + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "min-rtp-port")] + fn set_min_rtp_port(&self, min_rtp_port: u32); + + #[doc(alias = "add-local-ip-address")] + fn connect_add_local_ip_address bool + Send + Sync + 'static>( + &self, + f: F, + ) -> SignalHandlerId; + + fn emit_add_local_ip_address(&self, address: &str) -> bool; + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "max-rtp-port")] + fn connect_max_rtp_port_notify( + &self, + f: F, + ) -> SignalHandlerId; + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + #[doc(alias = "min-rtp-port")] + fn connect_min_rtp_port_notify( + &self, + f: F, + ) -> SignalHandlerId; +} + +impl> WebRTCICEExt for O { + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn add_candidate(&self, stream: &impl IsA, candidate: &str) { + unsafe { + ffi::gst_webrtc_ice_add_candidate( + self.as_ref().to_glib_none().0, + stream.as_ref().to_glib_none().0, + candidate.to_glib_none().0, + ); + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn add_stream(&self, session_id: u32) -> Option { + unsafe { + from_glib_full(ffi::gst_webrtc_ice_add_stream( + self.as_ref().to_glib_none().0, + session_id, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn add_turn_server(&self, uri: &str) -> bool { + unsafe { + from_glib(ffi::gst_webrtc_ice_add_turn_server( + self.as_ref().to_glib_none().0, + uri.to_glib_none().0, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn find_transport( + &self, + stream: &impl IsA, + component: WebRTCICEComponent, + ) -> Option { + unsafe { + from_glib_full(ffi::gst_webrtc_ice_find_transport( + self.as_ref().to_glib_none().0, + stream.as_ref().to_glib_none().0, + component.into_glib(), + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn gather_candidates(&self, stream: &impl IsA) -> bool { + unsafe { + from_glib(ffi::gst_webrtc_ice_gather_candidates( + self.as_ref().to_glib_none().0, + stream.as_ref().to_glib_none().0, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn is_controller(&self) -> bool { + unsafe { + from_glib(ffi::gst_webrtc_ice_get_is_controller( + self.as_ref().to_glib_none().0, + )) + } + } + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //fn local_candidates(&self, stream: &impl IsA) -> /*Unknown conversion*//*Unimplemented*/Array TypeId { ns_id: 1, id: 12 } { + // unsafe { TODO: call ffi:gst_webrtc_ice_get_local_candidates() } + //} + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //fn remote_candidates(&self, stream: &impl IsA) -> /*Unknown conversion*//*Unimplemented*/Array TypeId { ns_id: 1, id: 12 } { + // unsafe { TODO: call ffi:gst_webrtc_ice_get_remote_candidates() } + //} + + //#[cfg(any(feature = "v1_22", feature = "dox"))] + //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + //fn is_selected_pair(&self, stream: &impl IsA, local_stats: /*Ignored*/&mut WebRTCICECandidateStats, remote_stats: /*Ignored*/&mut WebRTCICECandidateStats) -> bool { + // unsafe { TODO: call ffi:gst_webrtc_ice_get_selected_pair() } + //} + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn stun_server(&self) -> Option { + unsafe { + from_glib_full(ffi::gst_webrtc_ice_get_stun_server( + self.as_ref().to_glib_none().0, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn turn_server(&self) -> Option { + unsafe { + from_glib_full(ffi::gst_webrtc_ice_get_turn_server( + self.as_ref().to_glib_none().0, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_force_relay(&self, force_relay: bool) { + unsafe { + ffi::gst_webrtc_ice_set_force_relay( + self.as_ref().to_glib_none().0, + force_relay.into_glib(), + ); + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_is_controller(&self, controller: bool) { + unsafe { + ffi::gst_webrtc_ice_set_is_controller( + self.as_ref().to_glib_none().0, + controller.into_glib(), + ); + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_local_credentials( + &self, + stream: &impl IsA, + ufrag: &str, + pwd: &str, + ) -> bool { + unsafe { + from_glib(ffi::gst_webrtc_ice_set_local_credentials( + self.as_ref().to_glib_none().0, + stream.as_ref().to_glib_none().0, + ufrag.to_glib_none().0, + pwd.to_glib_none().0, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_on_ice_candidate(&self, func: P) { + let func_data: Box_

= Box_::new(func); + unsafe extern "C" fn func_func( + ice: *mut ffi::GstWebRTCICE, + stream_id: libc::c_uint, + candidate: *mut libc::c_char, + user_data: glib::ffi::gpointer, + ) { + let ice = from_glib_borrow(ice); + let candidate: Borrowed = from_glib_borrow(candidate); + let callback: &P = &*(user_data as *mut _); + (*callback)(&ice, stream_id, candidate.as_str()); + } + let func = Some(func_func::

as _); + unsafe extern "C" fn notify_func( + data: glib::ffi::gpointer, + ) { + let _callback: Box_

= Box_::from_raw(data as *mut _); + } + let destroy_call3 = Some(notify_func::

as _); + let super_callback0: Box_

= func_data; + unsafe { + ffi::gst_webrtc_ice_set_on_ice_candidate( + self.as_ref().to_glib_none().0, + func, + Box_::into_raw(super_callback0) as *mut _, + destroy_call3, + ); + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_remote_credentials( + &self, + stream: &impl IsA, + ufrag: &str, + pwd: &str, + ) -> bool { + unsafe { + from_glib(ffi::gst_webrtc_ice_set_remote_credentials( + self.as_ref().to_glib_none().0, + stream.as_ref().to_glib_none().0, + ufrag.to_glib_none().0, + pwd.to_glib_none().0, + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_stun_server(&self, uri: &str) { + unsafe { + ffi::gst_webrtc_ice_set_stun_server( + self.as_ref().to_glib_none().0, + uri.to_glib_none().0, + ); + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_tos(&self, stream: &impl IsA, tos: u32) { + unsafe { + ffi::gst_webrtc_ice_set_tos( + self.as_ref().to_glib_none().0, + stream.as_ref().to_glib_none().0, + tos, + ); + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn set_turn_server(&self, uri: &str) { + unsafe { + ffi::gst_webrtc_ice_set_turn_server( + self.as_ref().to_glib_none().0, + uri.to_glib_none().0, + ); + } + } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + fn max_rtp_port(&self) -> u32 { + glib::ObjectExt::property(self.as_ref(), "max-rtp-port") + } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + fn set_max_rtp_port(&self, max_rtp_port: u32) { + glib::ObjectExt::set_property(self.as_ref(), "max-rtp-port", &max_rtp_port) + } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + fn min_rtp_port(&self) -> u32 { + glib::ObjectExt::property(self.as_ref(), "min-rtp-port") + } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + fn set_min_rtp_port(&self, min_rtp_port: u32) { + glib::ObjectExt::set_property(self.as_ref(), "min-rtp-port", &min_rtp_port) + } + + fn connect_add_local_ip_address bool + Send + Sync + 'static>( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn add_local_ip_address_trampoline< + P: IsA, + F: Fn(&P, &str) -> bool + Send + Sync + 'static, + >( + this: *mut ffi::GstWebRTCICE, + address: *mut libc::c_char, + f: glib::ffi::gpointer, + ) -> glib::ffi::gboolean { + let f: &F = &*(f as *const F); + f( + WebRTCICE::from_glib_borrow(this).unsafe_cast_ref(), + &glib::GString::from_glib_borrow(address), + ) + .into_glib() + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"add-local-ip-address\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + add_local_ip_address_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + + fn emit_add_local_ip_address(&self, address: &str) -> bool { + self.emit_by_name("add-local-ip-address", &[&address]) + } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + fn connect_max_rtp_port_notify( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn notify_max_rtp_port_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( + this: *mut ffi::GstWebRTCICE, + _param_spec: glib::ffi::gpointer, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f(WebRTCICE::from_glib_borrow(this).unsafe_cast_ref()) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"notify::max-rtp-port\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + notify_max_rtp_port_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + + #[cfg(any(feature = "v1_20", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))] + fn connect_min_rtp_port_notify( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn notify_min_rtp_port_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( + this: *mut ffi::GstWebRTCICE, + _param_spec: glib::ffi::gpointer, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f(WebRTCICE::from_glib_borrow(this).unsafe_cast_ref()) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"notify::min-rtp-port\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + notify_min_rtp_port_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } +} diff --git a/gstreamer-webrtc/src/auto/web_rtcice_stream.rs b/gstreamer-webrtc/src/auto/web_rtcice_stream.rs new file mode 100644 index 000000000..2597833e2 --- /dev/null +++ b/gstreamer-webrtc/src/auto/web_rtcice_stream.rs @@ -0,0 +1,72 @@ +// This file was generated by gir (https://github.com/gtk-rs/gir) +// 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 + +#[cfg(any(feature = "v1_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] +use crate::WebRTCICEComponent; +#[cfg(any(feature = "v1_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] +use crate::WebRTCICETransport; +use glib::object::IsA; +use glib::translate::*; +use glib::StaticType; + +glib::wrapper! { + #[doc(alias = "GstWebRTCICEStream")] + pub struct WebRTCICEStream(Object); + + match fn { + type_ => || ffi::gst_webrtc_ice_stream_get_type(), + } +} + +impl WebRTCICEStream { + pub const NONE: Option<&'static WebRTCICEStream> = None; +} + +unsafe impl Send for WebRTCICEStream {} +unsafe impl Sync for WebRTCICEStream {} + +pub trait WebRTCICEStreamExt: 'static { + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_stream_find_transport")] + fn find_transport(&self, component: WebRTCICEComponent) -> Option; + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + #[doc(alias = "gst_webrtc_ice_stream_gather_candidates")] + fn gather_candidates(&self) -> bool; + + #[doc(alias = "stream-id")] + fn stream_id(&self) -> u32; +} + +impl> WebRTCICEStreamExt for O { + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn find_transport(&self, component: WebRTCICEComponent) -> Option { + unsafe { + from_glib_full(ffi::gst_webrtc_ice_stream_find_transport( + self.as_ref().to_glib_none().0, + component.into_glib(), + )) + } + } + + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + fn gather_candidates(&self) -> bool { + unsafe { + from_glib(ffi::gst_webrtc_ice_stream_gather_candidates( + self.as_ref().to_glib_none().0, + )) + } + } + + fn stream_id(&self) -> u32 { + glib::ObjectExt::property(self.as_ref(), "stream-id") + } +} diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index eec8bb5a6..9f57628af 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -24,6 +24,45 @@ glib::wrapper! { } impl WebRTCICETransport { + #[doc(alias = "gst_webrtc_ice_transport_connection_state_change")] + pub fn connection_state_change(&self, new_state: WebRTCICEConnectionState) { + unsafe { + ffi::gst_webrtc_ice_transport_connection_state_change( + self.to_glib_none().0, + new_state.into_glib(), + ); + } + } + + #[doc(alias = "gst_webrtc_ice_transport_gathering_state_change")] + pub fn gathering_state_change(&self, new_state: WebRTCICEGatheringState) { + unsafe { + ffi::gst_webrtc_ice_transport_gathering_state_change( + self.to_glib_none().0, + new_state.into_glib(), + ); + } + } + + #[doc(alias = "gst_webrtc_ice_transport_new_candidate")] + pub fn new_candidate(&self, stream_id: u32, component: WebRTCICEComponent, attr: &str) { + unsafe { + ffi::gst_webrtc_ice_transport_new_candidate( + self.to_glib_none().0, + stream_id, + component.into_glib(), + attr.to_glib_none().0, + ); + } + } + + #[doc(alias = "gst_webrtc_ice_transport_selected_pair_change")] + pub fn selected_pair_change(&self) { + unsafe { + ffi::gst_webrtc_ice_transport_selected_pair_change(self.to_glib_none().0); + } + } + pub fn component(&self) -> WebRTCICEComponent { glib::ObjectExt::property(self, "component") } diff --git a/gstreamer-webrtc/sys/Cargo.toml b/gstreamer-webrtc/sys/Cargo.toml index cb74b2801..b13f95a86 100644 --- a/gstreamer-webrtc/sys/Cargo.toml +++ b/gstreamer-webrtc/sys/Cargo.toml @@ -8,6 +8,10 @@ libc = "0.2" package = "glib-sys" git = "https://github.com/gtk-rs/gtk-rs-core" +[dependencies.gst] +package = "gstreamer-sys" +path = "../../gstreamer/sys" + [dependencies.gst_sdp] package = "gstreamer-sdp-sys" path = "../../gstreamer-sdp/sys" diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer-webrtc/sys/build.rs +++ b/gstreamer-webrtc/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index a1eef2918..628aca3af 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -153,6 +153,10 @@ pub const GST_WEBRTC_STATS_LOCAL_CANDIDATE: GstWebRTCStatsType = 12; pub const GST_WEBRTC_STATS_REMOTE_CANDIDATE: GstWebRTCStatsType = 13; pub const GST_WEBRTC_STATS_CERTIFICATE: GstWebRTCStatsType = 14; +// Callbacks +pub type GstWebRTCICEOnCandidateFunc = + Option; + // Records #[repr(C)] pub struct _GstWebRTCDTLSTransportClass { @@ -170,13 +174,167 @@ pub struct _GstWebRTCDataChannelClass { pub type GstWebRTCDataChannelClass = *mut _GstWebRTCDataChannelClass; +#[derive(Copy, Clone)] #[repr(C)] -pub struct _GstWebRTCICETransportClass { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, +pub struct GstWebRTCICECandidateStats { + pub ipaddr: *mut c_char, + pub port: c_uint, + pub stream_id: c_uint, + pub type_: *const c_char, + pub proto: *const c_char, + pub relay_proto: *const c_char, + pub prio: c_uint, + pub url: *mut c_char, } -pub type GstWebRTCICETransportClass = *mut _GstWebRTCICETransportClass; +impl ::std::fmt::Debug for GstWebRTCICECandidateStats { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCICECandidateStats @ {:p}", self)) + .field("ipaddr", &self.ipaddr) + .field("port", &self.port) + .field("stream_id", &self.stream_id) + .field("type_", &self.type_) + .field("proto", &self.proto) + .field("relay_proto", &self.relay_proto) + .field("prio", &self.prio) + .field("url", &self.url) + .finish() + } +} + +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstWebRTCICEClass { + pub parent_class: gst::GstObjectClass, + pub add_stream: + Option *mut GstWebRTCICEStream>, + pub find_transport: Option< + unsafe extern "C" fn( + *mut GstWebRTCICE, + *mut GstWebRTCICEStream, + GstWebRTCICEComponent, + ) -> *mut GstWebRTCICETransport, + >, + pub gather_candidates: + Option gboolean>, + pub add_candidate: + Option, + pub set_local_credentials: Option< + unsafe extern "C" fn( + *mut GstWebRTCICE, + *mut GstWebRTCICEStream, + *mut c_char, + *mut c_char, + ) -> gboolean, + >, + pub set_remote_credentials: Option< + unsafe extern "C" fn( + *mut GstWebRTCICE, + *mut GstWebRTCICEStream, + *mut c_char, + *mut c_char, + ) -> gboolean, + >, + pub add_turn_server: Option gboolean>, + pub set_is_controller: Option, + pub get_is_controller: Option gboolean>, + pub set_force_relay: Option, + pub set_stun_server: Option, + pub get_stun_server: Option *mut c_char>, + pub set_turn_server: Option, + pub get_turn_server: Option *mut c_char>, + pub set_tos: Option, + pub set_on_ice_candidate: Option< + unsafe extern "C" fn( + *mut GstWebRTCICE, + GstWebRTCICEOnCandidateFunc, + gpointer, + glib::GDestroyNotify, + ), + >, + pub get_local_candidates: Option< + unsafe extern "C" fn(*mut GstWebRTCICE, *mut GstWebRTCICEStream) -> *mut glib::GArray, + >, + pub get_remote_candidates: Option< + unsafe extern "C" fn(*mut GstWebRTCICE, *mut GstWebRTCICEStream) -> *mut glib::GArray, + >, + pub get_selected_pair: Option< + unsafe extern "C" fn( + *mut GstWebRTCICE, + *mut GstWebRTCICEStream, + *mut *mut GstWebRTCICECandidateStats, + *mut *mut GstWebRTCICECandidateStats, + ) -> gboolean, + >, +} + +impl ::std::fmt::Debug for GstWebRTCICEClass { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCICEClass @ {:p}", self)) + .field("parent_class", &self.parent_class) + .field("add_stream", &self.add_stream) + .field("find_transport", &self.find_transport) + .field("gather_candidates", &self.gather_candidates) + .field("add_candidate", &self.add_candidate) + .field("set_local_credentials", &self.set_local_credentials) + .field("set_remote_credentials", &self.set_remote_credentials) + .field("add_turn_server", &self.add_turn_server) + .field("set_is_controller", &self.set_is_controller) + .field("get_is_controller", &self.get_is_controller) + .field("set_force_relay", &self.set_force_relay) + .field("set_stun_server", &self.set_stun_server) + .field("get_stun_server", &self.get_stun_server) + .field("set_turn_server", &self.set_turn_server) + .field("get_turn_server", &self.get_turn_server) + .field("set_tos", &self.set_tos) + .field("set_on_ice_candidate", &self.set_on_ice_candidate) + .field("get_local_candidates", &self.get_local_candidates) + .field("get_remote_candidates", &self.get_remote_candidates) + .field("get_selected_pair", &self.get_selected_pair) + .finish() + } +} + +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstWebRTCICEStreamClass { + pub parent_class: gst::GstObjectClass, + pub find_transport: Option< + unsafe extern "C" fn( + *mut GstWebRTCICEStream, + GstWebRTCICEComponent, + ) -> *mut GstWebRTCICETransport, + >, + pub gather_candidates: Option gboolean>, +} + +impl ::std::fmt::Debug for GstWebRTCICEStreamClass { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCICEStreamClass @ {:p}", self)) + .field("parent_class", &self.parent_class) + .field("find_transport", &self.find_transport) + .field("gather_candidates", &self.gather_candidates) + .finish() + } +} + +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstWebRTCICETransportClass { + pub parent_class: gst::GstObjectClass, + pub gather_candidates: Option gboolean>, + pub _padding: [gpointer; 4], +} + +impl ::std::fmt::Debug for GstWebRTCICETransportClass { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCICETransportClass @ {:p}", self)) + .field("parent_class", &self.parent_class) + .field("gather_candidates", &self.gather_candidates) + .field("_padding", &self._padding) + .finish() + } +} #[repr(C)] pub struct _GstWebRTCRTPReceiverClass { @@ -253,15 +411,68 @@ impl ::std::fmt::Debug for GstWebRTCDataChannel { } } +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstWebRTCICE { + pub parent: gst::GstObject, + pub ice_gathering_state: GstWebRTCICEGatheringState, + pub ice_connection_state: GstWebRTCICEConnectionState, + pub min_rtp_port: c_uint, + pub max_rtp_port: c_uint, +} + +impl ::std::fmt::Debug for GstWebRTCICE { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCICE @ {:p}", self)) + .field("parent", &self.parent) + .field("ice_gathering_state", &self.ice_gathering_state) + .field("ice_connection_state", &self.ice_connection_state) + .field("min_rtp_port", &self.min_rtp_port) + .field("max_rtp_port", &self.max_rtp_port) + .finish() + } +} + +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstWebRTCICEStream { + pub parent: gst::GstObject, + pub stream_id: c_uint, +} + +impl ::std::fmt::Debug for GstWebRTCICEStream { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstWebRTCICEStream @ {:p}", self)) + .field("parent", &self.parent) + .field("stream_id", &self.stream_id) + .finish() + } +} + +#[derive(Copy, Clone)] #[repr(C)] pub struct GstWebRTCICETransport { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, + pub parent: gst::GstObject, + pub role: GstWebRTCICERole, + pub component: GstWebRTCICEComponent, + pub state: GstWebRTCICEConnectionState, + pub gathering_state: GstWebRTCICEGatheringState, + pub src: *mut gst::GstElement, + pub sink: *mut gst::GstElement, + pub _padding: [gpointer; 4], } impl ::std::fmt::Debug for GstWebRTCICETransport { fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { f.debug_struct(&format!("GstWebRTCICETransport @ {:p}", self)) + .field("parent", &self.parent) + .field("role", &self.role) + .field("component", &self.component) + .field("state", &self.state) + .field("gathering_state", &self.gathering_state) + .field("src", &self.src) + .field("sink", &self.sink) + .field("_padding", &self._padding) .finish() } } @@ -476,10 +687,148 @@ extern "C" { str: *const c_char, ); + //========================================================================= + // GstWebRTCICE + //========================================================================= + pub fn gst_webrtc_ice_get_type() -> GType; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_candidate_stats_free(stats: *mut GstWebRTCICECandidateStats); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_add_candidate( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + candidate: *const c_char, + ); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_add_stream( + ice: *mut GstWebRTCICE, + session_id: c_uint, + ) -> *mut GstWebRTCICEStream; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_add_turn_server(ice: *mut GstWebRTCICE, uri: *const c_char) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_find_transport( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + component: GstWebRTCICEComponent, + ) -> *mut GstWebRTCICETransport; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_gather_candidates( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + ) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_get_is_controller(ice: *mut GstWebRTCICE) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_get_local_candidates( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + ) -> *mut glib::GArray; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_get_remote_candidates( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + ) -> *mut glib::GArray; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_get_selected_pair( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + local_stats: *mut *mut GstWebRTCICECandidateStats, + remote_stats: *mut *mut GstWebRTCICECandidateStats, + ) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_get_stun_server(ice: *mut GstWebRTCICE) -> *mut c_char; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_get_turn_server(ice: *mut GstWebRTCICE) -> *mut c_char; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_force_relay(ice: *mut GstWebRTCICE, force_relay: gboolean); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_is_controller(ice: *mut GstWebRTCICE, controller: gboolean); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_local_credentials( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + ufrag: *mut c_char, + pwd: *mut c_char, + ) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_on_ice_candidate( + ice: *mut GstWebRTCICE, + func: GstWebRTCICEOnCandidateFunc, + user_data: gpointer, + notify: glib::GDestroyNotify, + ); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_remote_credentials( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + ufrag: *mut c_char, + pwd: *mut c_char, + ) -> gboolean; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_stun_server(ice: *mut GstWebRTCICE, uri: *const c_char); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_tos( + ice: *mut GstWebRTCICE, + stream: *mut GstWebRTCICEStream, + tos: c_uint, + ); + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_set_turn_server(ice: *mut GstWebRTCICE, uri: *const c_char); + + //========================================================================= + // GstWebRTCICEStream + //========================================================================= + pub fn gst_webrtc_ice_stream_get_type() -> GType; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_stream_find_transport( + stream: *mut GstWebRTCICEStream, + component: GstWebRTCICEComponent, + ) -> *mut GstWebRTCICETransport; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_webrtc_ice_stream_gather_candidates(ice: *mut GstWebRTCICEStream) -> gboolean; + //========================================================================= // GstWebRTCICETransport //========================================================================= pub fn gst_webrtc_ice_transport_get_type() -> GType; + pub fn gst_webrtc_ice_transport_connection_state_change( + ice: *mut GstWebRTCICETransport, + new_state: GstWebRTCICEConnectionState, + ); + pub fn gst_webrtc_ice_transport_gathering_state_change( + ice: *mut GstWebRTCICETransport, + new_state: GstWebRTCICEGatheringState, + ); + pub fn gst_webrtc_ice_transport_new_candidate( + ice: *mut GstWebRTCICETransport, + stream_id: c_uint, + component: GstWebRTCICEComponent, + attr: *mut c_char, + ); + pub fn gst_webrtc_ice_transport_selected_pair_change(ice: *mut GstWebRTCICETransport); //========================================================================= // GstWebRTCRTPReceiver diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index 59649681b..3d7e7c4f8 100644 --- a/gstreamer-webrtc/sys/tests/abi.rs +++ b/gstreamer-webrtc/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_webrtc_sys::*; @@ -244,6 +244,27 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstWebRTCICE", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstWebRTCICECandidateStats", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstWebRTCICEClass", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ( "GstWebRTCICEComponent", Layout { @@ -272,6 +293,34 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstWebRTCICEStream", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstWebRTCICEStreamClass", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstWebRTCICETransport", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstWebRTCICETransportClass", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ( "GstWebRTCICETransportPolicy", Layout { diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index c6431020d..247617aa8 100644 --- a/gstreamer-webrtc/sys/tests/constant.c +++ b/gstreamer-webrtc/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index 1c72f73ff..c742014fb 100644 --- a/gstreamer-webrtc/sys/tests/layout.c +++ b/gstreamer-webrtc/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" @@ -14,10 +14,17 @@ int main() { printf("%s;%zu;%zu\n", "GstWebRTCDataChannelState", sizeof(GstWebRTCDataChannelState), alignof(GstWebRTCDataChannelState)); printf("%s;%zu;%zu\n", "GstWebRTCError", sizeof(GstWebRTCError), alignof(GstWebRTCError)); printf("%s;%zu;%zu\n", "GstWebRTCFECType", sizeof(GstWebRTCFECType), alignof(GstWebRTCFECType)); + printf("%s;%zu;%zu\n", "GstWebRTCICE", sizeof(GstWebRTCICE), alignof(GstWebRTCICE)); + printf("%s;%zu;%zu\n", "GstWebRTCICECandidateStats", sizeof(GstWebRTCICECandidateStats), alignof(GstWebRTCICECandidateStats)); + printf("%s;%zu;%zu\n", "GstWebRTCICEClass", sizeof(GstWebRTCICEClass), alignof(GstWebRTCICEClass)); printf("%s;%zu;%zu\n", "GstWebRTCICEComponent", sizeof(GstWebRTCICEComponent), alignof(GstWebRTCICEComponent)); printf("%s;%zu;%zu\n", "GstWebRTCICEConnectionState", sizeof(GstWebRTCICEConnectionState), alignof(GstWebRTCICEConnectionState)); printf("%s;%zu;%zu\n", "GstWebRTCICEGatheringState", sizeof(GstWebRTCICEGatheringState), alignof(GstWebRTCICEGatheringState)); printf("%s;%zu;%zu\n", "GstWebRTCICERole", sizeof(GstWebRTCICERole), alignof(GstWebRTCICERole)); + printf("%s;%zu;%zu\n", "GstWebRTCICEStream", sizeof(GstWebRTCICEStream), alignof(GstWebRTCICEStream)); + printf("%s;%zu;%zu\n", "GstWebRTCICEStreamClass", sizeof(GstWebRTCICEStreamClass), alignof(GstWebRTCICEStreamClass)); + printf("%s;%zu;%zu\n", "GstWebRTCICETransport", sizeof(GstWebRTCICETransport), alignof(GstWebRTCICETransport)); + printf("%s;%zu;%zu\n", "GstWebRTCICETransportClass", sizeof(GstWebRTCICETransportClass), alignof(GstWebRTCICETransportClass)); printf("%s;%zu;%zu\n", "GstWebRTCICETransportPolicy", sizeof(GstWebRTCICETransportPolicy), alignof(GstWebRTCICETransportPolicy)); printf("%s;%zu;%zu\n", "GstWebRTCKind", sizeof(GstWebRTCKind), alignof(GstWebRTCKind)); printf("%s;%zu;%zu\n", "GstWebRTCPeerConnectionState", sizeof(GstWebRTCPeerConnectionState), alignof(GstWebRTCPeerConnectionState)); diff --git a/gstreamer/Gir.toml b/gstreamer/Gir.toml index 5fa8de2a9..c66cb1a2c 100644 --- a/gstreamer/Gir.toml +++ b/gstreamer/Gir.toml @@ -1871,6 +1871,21 @@ status = "generate" name = "delay" mandatory = true + [[object.function]] + name = "get_clock" + # useless function that is equal to the GstElement one + ignore = true + + [[object.function]] + name = "set_clock" + # useless function that is equal to the GstElement one + ignore = true + + [[object.function]] + name = "get_bus" + # useless function that is equal to the GstElement one + ignore = true + [[object]] name = "Gst.PipelineFlags" status = "generate" @@ -1913,6 +1928,10 @@ final_type = true [object.function.return] nullable_return_is_error = "Failed to load plugin" + [[object.function]] + name = "get_name" + rename = "plugin_name" + [[object]] name = "Gst.PluginDependencyFlags" status = "generate" diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index 1e1c5127a..0e5b9ad73 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -6,6 +6,7 @@ use crate::Object; use crate::PluginDependencyFlags; use glib::translate::*; +use std::fmt; use std::ptr; glib::wrapper! { @@ -74,6 +75,12 @@ impl Plugin { unsafe { from_glib_none(ffi::gst_plugin_get_license(self.to_glib_none().0)) } } + #[doc(alias = "gst_plugin_get_name")] + #[doc(alias = "get_name")] + pub fn plugin_name(&self) -> glib::GString { + unsafe { from_glib_none(ffi::gst_plugin_get_name(self.to_glib_none().0)) } + } + #[doc(alias = "gst_plugin_get_origin")] #[doc(alias = "get_origin")] pub fn origin(&self) -> glib::GString { @@ -145,5 +152,12 @@ impl Plugin { } } +impl fmt::Display for Plugin { + #[inline] + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + f.write_str(&self.plugin_name()) + } +} + unsafe impl Send for Plugin {} unsafe impl Sync for Plugin {} diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 655f598e1..0ef5cc2ce 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 @ 74b6e47217b7) -from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) diff --git a/gstreamer/src/plugin.rs b/gstreamer/src/plugin.rs index a0678fedb..dc42b5887 100644 --- a/gstreamer/src/plugin.rs +++ b/gstreamer/src/plugin.rs @@ -33,9 +33,6 @@ impl Plugin { pub trait GstPluginExtManual: 'static { #[doc(alias = "get_plugin_flags")] fn plugin_flags(&self) -> PluginFlags; - - #[doc(alias = "get_plugin_name")] - fn plugin_name(&self) -> glib::GString; } impl> GstPluginExtManual for O { @@ -46,8 +43,4 @@ impl> GstPluginExtManual for O { from_glib((*ptr).flags) } } - - fn plugin_name(&self) -> glib::GString { - unsafe { from_glib_none(ffi::gst_plugin_get_name(self.as_ref().to_glib_none().0)) } - } } diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index d65a73e3c..08a0e5f0b 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 157bd1268..586b91a4f 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] @@ -6520,6 +6520,14 @@ extern "C" { structure: *const GstStructure, fieldname: *const c_char, ) -> GType; + #[cfg(any(feature = "v1_22", feature = "dox"))] + #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] + pub fn gst_structure_get_flags( + structure: *const GstStructure, + fieldname: *const c_char, + flags_type: GType, + value: *mut c_uint, + ) -> gboolean; pub fn gst_structure_get_flagset( structure: *const GstStructure, fieldname: *const c_char, diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index 2f49dafa7..233cde650 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT use gstreamer_sys::*; diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 925bc1d41..b0a800441 100644 --- a/gstreamer/sys/tests/constant.c +++ b/gstreamer/sys/tests/constant.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index 47f17780f..f13ab1542 100644 --- a/gstreamer/sys/tests/layout.c +++ b/gstreamer/sys/tests/layout.c @@ -1,6 +1,6 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c) -// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e) +// Generated by gir (https://github.com/gtk-rs/gir @ 54e116a11822) +// from gir-files (https://github.com/gtk-rs/gir-files @ df20f22974b6) +// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ e421156aab30) // DO NOT EDIT #include "manual.h"