diff --git a/Cargo.lock b/Cargo.lock index f15ca0e8c..a371364c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -175,7 +175,7 @@ checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "cairo-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "bitflags 2.6.0", "cairo-sys-rs", @@ -186,7 +186,7 @@ dependencies = [ [[package]] name = "cairo-sys-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "libc", @@ -718,7 +718,7 @@ dependencies = [ [[package]] name = "gio" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "futures-channel", "futures-core", @@ -734,7 +734,7 @@ dependencies = [ [[package]] name = "gio-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "gobject-sys", @@ -763,7 +763,7 @@ dependencies = [ [[package]] name = "glib" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "bitflags 2.6.0", "futures-channel", @@ -783,7 +783,7 @@ dependencies = [ [[package]] name = "glib-macros" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "heck", "proc-macro-crate", @@ -795,7 +795,7 @@ dependencies = [ [[package]] name = "glib-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "libc", "system-deps", @@ -869,7 +869,7 @@ dependencies = [ [[package]] name = "gobject-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "libc", @@ -1956,7 +1956,7 @@ dependencies = [ [[package]] name = "pango" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "gio", "glib", @@ -1967,7 +1967,7 @@ dependencies = [ [[package]] name = "pango-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "gobject-sys", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "pangocairo" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "cairo-rs", "glib", @@ -1990,7 +1990,7 @@ dependencies = [ [[package]] name = "pangocairo-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#d34db6baf53bda50c65af02d9493d536087d2cf4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "cairo-sys-rs", "glib-sys", diff --git a/gir b/gir index ae08ff966..a11b11f2e 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit ae08ff9667478ee9609ab728ebb699fad52e137b +Subproject commit a11b11f2e403d615edd94497b6fe5b3c5283145b diff --git a/gir-files b/gir-files index 4d1189172..62da9eb7c 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit 4d1189172a70c6cd6cd8db4954d7cfed2af3983b +Subproject commit 62da9eb7c4bd5d6091a0eaab0d5e97a51f59fd6d diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-allocators/sys/src/lib.rs b/gstreamer-allocators/sys/src/lib.rs index ad86c71ee..a38814696 100644 --- a/gstreamer-allocators/sys/src/lib.rs +++ b/gstreamer-allocators/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gobject_sys as gobject; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -187,7 +188,6 @@ impl ::std::fmt::Debug for GstPhysMemoryAllocator { } } -#[link(name = "gstallocators-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-analytics/src/auto/versions.txt b/gstreamer-analytics/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-analytics/src/auto/versions.txt +++ b/gstreamer-analytics/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-analytics/sys/src/auto/versions.txt b/gstreamer-analytics/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-analytics/sys/src/auto/versions.txt +++ b/gstreamer-analytics/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-analytics/sys/src/lib.rs b/gstreamer-analytics/sys/src/lib.rs index d7b02c5b7..fb52c031a 100644 --- a/gstreamer-analytics/sys/src/lib.rs +++ b/gstreamer-analytics/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -158,7 +159,6 @@ impl ::std::fmt::Debug for GstAnalyticsTrackingMtd { } } -#[link(name = "gstanalytics-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index 6b4276b35..6799055cd 100644 --- a/gstreamer-app/sys/src/lib.rs +++ b/gstreamer-app/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gstreamer_base_sys as gst_base; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -200,7 +201,6 @@ impl ::std::fmt::Debug for GstAppSrc { } } -#[link(name = "gstapp-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index e8c1f358e..045163489 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -17,14 +17,15 @@ use gobject_sys as gobject; use gstreamer_base_sys as gst_base; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -1521,7 +1522,6 @@ impl ::std::fmt::Debug for GstStreamVolume { } } -#[link(name = "gstaudio-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 728a2ce99..cedd32bc0 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gobject_sys as gobject; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -1275,7 +1276,6 @@ impl ::std::fmt::Debug for GstPushSrc { } } -#[link(name = "gstbase-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index bf1a9b410..c2a191405 100644 --- a/gstreamer-check/sys/src/lib.rs +++ b/gstreamer-check/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gobject_sys as gobject; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -124,7 +125,6 @@ impl ::std::fmt::Debug for GstTestClock { } } -#[link(name = "gstcheck-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 3397bc668..de83796bc 100644 --- a/gstreamer-controller/sys/src/lib.rs +++ b/gstreamer-controller/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gobject_sys as gobject; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -422,7 +423,6 @@ impl ::std::fmt::Debug for GstTriggerControlSource { } } -#[link(name = "gstcontroller-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-editing-services/src/auto/discoverer_manager.rs b/gstreamer-editing-services/src/auto/discoverer_manager.rs index 3142c8854..754008762 100644 --- a/gstreamer-editing-services/src/auto/discoverer_manager.rs +++ b/gstreamer-editing-services/src/auto/discoverer_manager.rs @@ -135,7 +135,7 @@ impl DiscovererManager { F: Fn(&DiscovererManager, &str) -> Option + 'static, >( this: *mut ffi::GESDiscovererManager, - uri: *mut libc::c_char, + uri: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> *mut gst_pbutils::ffi::GstDiscovererInfo { let f: &F = &*(f as *const F); diff --git a/gstreamer-editing-services/src/auto/meta_container.rs b/gstreamer-editing-services/src/auto/meta_container.rs index 5bf0a60bf..9b2cc1a2a 100644 --- a/gstreamer-editing-services/src/auto/meta_container.rs +++ b/gstreamer-editing-services/src/auto/meta_container.rs @@ -70,7 +70,7 @@ pub trait MetaContainerExt: IsA + sealed::Sealed + 'static { let func_data: P = func; unsafe extern "C" fn func_func( container: *const ffi::GESMetaContainer, - key: *const libc::c_char, + key: *const std::ffi::c_char, value: *const glib::gobject_ffi::GValue, user_data: glib::ffi::gpointer, ) { @@ -598,7 +598,7 @@ pub trait MetaContainerExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str, Option<&glib::Value>) + 'static, >( this: *mut ffi::GESMetaContainer, - key: *mut libc::c_char, + key: *mut std::ffi::c_char, value: *mut glib::gobject_ffi::GValue, f: glib::ffi::gpointer, ) { diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index 85000b658..452958a20 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -351,7 +351,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GESProject, error: *mut glib::ffi::GError, - id: *mut libc::c_char, + id: *mut std::ffi::c_char, extractable_type: glib::ffi::GType, f: glib::ffi::gpointer, ) { @@ -445,7 +445,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { error: *mut glib::ffi::GError, wrong_asset: *mut ffi::GESAsset, f: glib::ffi::gpointer, - ) -> *mut libc::c_char { + ) -> *mut std::ffi::c_char { let f: &F = &*(f as *const F); f( Project::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index e3d1c1cc8..2788b6b11 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -18,14 +18,15 @@ use gobject_sys as gobject; use gstreamer_pbutils_sys as gst_pbutils; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -2883,7 +2884,6 @@ impl ::std::fmt::Debug for GESMetaContainer { } } -#[link(name = "ges-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index 77b3313d4..e5e86937a 100644 --- a/gstreamer-gl/egl/sys/src/lib.rs +++ b/gstreamer-gl/egl/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gstreamer_gl_sys as gst_gl; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -65,7 +66,6 @@ impl ::std::fmt::Debug for GstGLDisplayEGL { } } -#[link(name = "gstgl-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index 91786483c..8bef5fa75 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -216,8 +216,8 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str, &str) + Send + Sync + 'static, >( this: *mut ffi::GstGLWindow, - id: *mut libc::c_char, - key: *mut libc::c_char, + id: *mut std::ffi::c_char, + key: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -250,10 +250,10 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str, i32, f64, f64) + Send + Sync + 'static, >( this: *mut ffi::GstGLWindow, - id: *mut libc::c_char, - button: libc::c_int, - x: libc::c_double, - y: libc::c_double, + id: *mut std::ffi::c_char, + button: std::ffi::c_int, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -290,10 +290,10 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { F: Fn(&P, f64, f64, f64, f64) + Send + Sync + 'static, >( this: *mut ffi::GstGLWindow, - x: libc::c_double, - y: libc::c_double, - delta_x: libc::c_double, - delta_y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, + delta_x: std::ffi::c_double, + delta_y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index 017541eec..a8ec10337 100644 --- a/gstreamer-gl/sys/src/lib.rs +++ b/gstreamer-gl/sys/src/lib.rs @@ -22,14 +22,15 @@ mod manual; pub use manual::*; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -1673,7 +1674,6 @@ impl ::std::fmt::Debug for GstGLWindow { } } -#[link(name = "gstgl-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 3434fe7c1..45e188d58 100644 --- a/gstreamer-gl/wayland/sys/src/lib.rs +++ b/gstreamer-gl/wayland/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gstreamer_gl_sys as gst_gl; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -71,7 +72,6 @@ impl ::std::fmt::Debug for GstGLDisplayWayland { } } -#[link(name = "gstgl-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 325085c91..09301a254 100644 --- a/gstreamer-gl/x11/sys/src/lib.rs +++ b/gstreamer-gl/x11/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gstreamer_gl_sys as gst_gl; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -63,7 +64,6 @@ impl ::std::fmt::Debug for GstGLDisplayX11 { } } -#[link(name = "gstgl-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index 6cf86215a..ae078d4fb 100644 --- a/gstreamer-mpegts/sys/src/lib.rs +++ b/gstreamer-mpegts/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -2084,7 +2085,6 @@ impl ::std::fmt::Debug for GstMpegtsTerrestrialDeliverySystemDescriptor { } } -#[link(name = "gstmpegts-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index 9f1652332..d7c3c4551 100644 --- a/gstreamer-net/sys/src/lib.rs +++ b/gstreamer-net/sys/src/lib.rs @@ -16,14 +16,15 @@ use gio_sys as gio; use glib_sys as glib; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -243,7 +244,6 @@ impl ::std::fmt::Debug for GstPtpClock { } } -#[link(name = "gstnet-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index 137063652..7390589a3 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -162,7 +162,7 @@ impl Discoverer { F: Fn(&Discoverer, &str) -> Option + Send + Sync + 'static, >( this: *mut ffi::GstDiscoverer, - uri: *mut libc::c_char, + uri: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> *mut ffi::GstDiscovererInfo { let f: &F = &*(f as *const F); diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index d308bdd3f..3768362ab 100644 --- a/gstreamer-pbutils/sys/src/lib.rs +++ b/gstreamer-pbutils/sys/src/lib.rs @@ -18,14 +18,15 @@ use gstreamer_audio_sys as gst_audio; use gstreamer_sys as gst; use gstreamer_video_sys as gst_video; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -427,7 +428,6 @@ impl ::std::fmt::Debug for GstEncodingVideoProfile { } } -#[link(name = "gstpbutils-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-play/src/auto/play_signal_adapter.rs b/gstreamer-play/src/auto/play_signal_adapter.rs index c5f475670..762b6e7d8 100644 --- a/gstreamer-play/src/auto/play_signal_adapter.rs +++ b/gstreamer-play/src/auto/play_signal_adapter.rs @@ -61,7 +61,7 @@ impl PlaySignalAdapter { F: Fn(&PlaySignalAdapter, i32) + Send + 'static, >( this: *mut ffi::GstPlaySignalAdapter, - object: libc::c_int, + object: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -229,7 +229,7 @@ impl PlaySignalAdapter { F: Fn(&PlaySignalAdapter, &str) + Send + 'static, >( this: *mut ffi::GstPlaySignalAdapter, - object: *mut libc::c_char, + object: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -260,8 +260,8 @@ impl PlaySignalAdapter { F: Fn(&PlaySignalAdapter, u32, u32) + Send + 'static, >( this: *mut ffi::GstPlaySignalAdapter, - object: libc::c_uint, - p0: libc::c_uint, + object: std::ffi::c_uint, + p0: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -289,7 +289,7 @@ impl PlaySignalAdapter { F: Fn(&PlaySignalAdapter, f64) + Send + 'static, >( this: *mut ffi::GstPlaySignalAdapter, - object: libc::c_double, + object: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-play/sys/src/lib.rs b/gstreamer-play/sys/src/lib.rs index 9bbbc2e3f..c3b006b6e 100644 --- a/gstreamer-play/sys/src/lib.rs +++ b/gstreamer-play/sys/src/lib.rs @@ -17,14 +17,15 @@ use gobject_sys as gobject; use gstreamer_sys as gst; use gstreamer_video_sys as gst_video; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -300,7 +301,6 @@ impl ::std::fmt::Debug for GstPlayVideoRenderer { } } -#[link(name = "gstplay-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 87ebb004f..9fb48fca8 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -429,7 +429,7 @@ impl Player { pub fn connect_buffering(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn buffering_trampoline( this: *mut ffi::GstPlayer, - object: libc::c_int, + object: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -578,7 +578,7 @@ impl Player { pub fn connect_uri_loaded(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn uri_loaded_trampoline( this: *mut ffi::GstPlayer, - object: *mut libc::c_char, + object: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -609,8 +609,8 @@ impl Player { F: Fn(&Player, i32, i32) + Send + 'static, >( this: *mut ffi::GstPlayer, - object: libc::c_int, - p0: libc::c_int, + object: std::ffi::c_int, + p0: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index 636917a0d..80e49d215 100644 --- a/gstreamer-player/sys/src/lib.rs +++ b/gstreamer-player/sys/src/lib.rs @@ -17,14 +17,15 @@ use gobject_sys as gobject; use gstreamer_sys as gst; use gstreamer_video_sys as gst_video; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -325,7 +326,6 @@ impl ::std::fmt::Debug for GstPlayerVideoRenderer { } } -#[link(name = "gstplayer-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-rtp/src/auto/rtp_base_depayload.rs b/gstreamer-rtp/src/auto/rtp_base_depayload.rs index 6befd2582..e6828a2f4 100644 --- a/gstreamer-rtp/src/auto/rtp_base_depayload.rs +++ b/gstreamer-rtp/src/auto/rtp_base_depayload.rs @@ -272,8 +272,8 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static F: Fn(&P, u32, Option<&str>) -> Option + Send + Sync + 'static, >( this: *mut ffi::GstRTPBaseDepayload, - ext_id: libc::c_uint, - ext_uri: *mut libc::c_char, + ext_id: std::ffi::c_uint, + ext_uri: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> *mut ffi::GstRTPHeaderExtension { let f: &F = &*(f as *const F); diff --git a/gstreamer-rtp/src/auto/rtp_base_payload.rs b/gstreamer-rtp/src/auto/rtp_base_payload.rs index ba19acd7f..064c00291 100644 --- a/gstreamer-rtp/src/auto/rtp_base_payload.rs +++ b/gstreamer-rtp/src/auto/rtp_base_payload.rs @@ -380,8 +380,8 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { F: Fn(&P, u32, &str) -> Option + Send + Sync + 'static, >( this: *mut ffi::GstRTPBasePayload, - ext_id: libc::c_uint, - ext_uri: *mut libc::c_char, + ext_id: std::ffi::c_uint, + ext_uri: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> *mut ffi::GstRTPHeaderExtension { let f: &F = &*(f as *const F); diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index 783a3d0c7..b202fcc4c 100644 --- a/gstreamer-rtp/sys/src/lib.rs +++ b/gstreamer-rtp/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gstreamer_base_sys as gst_base; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -599,7 +600,6 @@ impl ::std::fmt::Debug for GstRTPHeaderExtension { } } -#[link(name = "gstrtp-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index 770c4ff8c..f8e6b46cb 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -889,7 +889,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { F: Fn(&P, i32) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, - object: libc::c_int, + object: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -1007,7 +1007,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { F: Fn(&P, i32) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, - object: libc::c_int, + object: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index 39cc49e9b..d8a0ede0c 100644 --- a/gstreamer-rtsp-server/sys/src/lib.rs +++ b/gstreamer-rtsp-server/sys/src/lib.rs @@ -20,14 +20,15 @@ use gstreamer_rtsp_sys as gst_rtsp; use gstreamer_sdp_sys as gst_sdp; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -1319,7 +1320,6 @@ impl ::std::fmt::Debug for GstRTSPThreadPool { } } -#[link(name = "gstrtspserver-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index a926c162a..e45b27006 100644 --- a/gstreamer-rtsp/sys/src/lib.rs +++ b/gstreamer-rtsp/sys/src/lib.rs @@ -18,14 +18,15 @@ use gobject_sys as gobject; use gstreamer_sdp_sys as gst_sdp; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -719,7 +720,6 @@ impl ::std::fmt::Debug for GstRTSPExtension { } } -#[link(name = "gstrtsp-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index ff38cd895..d0e56970f 100644 --- a/gstreamer-sdp/sys/src/lib.rs +++ b/gstreamer-sdp/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -549,7 +550,6 @@ impl ::std::fmt::Debug for GstSDPZone { } } -#[link(name = "gstsdp-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index dd77d5bdf..58ca88c51 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gobject_sys as gobject; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -261,7 +262,6 @@ impl ::std::fmt::Debug for GstTagXmpWriter { } } -#[link(name = "gsttag-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-validate/sys/src/lib.rs b/gstreamer-validate/sys/src/lib.rs index fa2fcdb60..60f85bf35 100644 --- a/gstreamer-validate/sys/src/lib.rs +++ b/gstreamer-validate/sys/src/lib.rs @@ -17,14 +17,15 @@ use glib_sys as glib; use gobject_sys as gobject; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -974,7 +975,6 @@ impl ::std::fmt::Debug for GstValidateReporter { } } -#[link(name = "gstvalidate-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-video/src/auto/color_balance.rs b/gstreamer-video/src/auto/color_balance.rs index 0a3070afc..d9896b8b1 100644 --- a/gstreamer-video/src/auto/color_balance.rs +++ b/gstreamer-video/src/auto/color_balance.rs @@ -96,7 +96,7 @@ pub trait ColorBalanceExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GstColorBalance, channel: *mut ffi::GstColorBalanceChannel, - value: libc::c_int, + value: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-video/src/auto/color_balance_channel.rs b/gstreamer-video/src/auto/color_balance_channel.rs index ad035abc7..0738fe02b 100644 --- a/gstreamer-video/src/auto/color_balance_channel.rs +++ b/gstreamer-video/src/auto/color_balance_channel.rs @@ -43,7 +43,7 @@ pub trait ColorBalanceChannelExt: IsA + sealed::Sealed + 's F: Fn(&P, i32) + Send + Sync + 'static, >( this: *mut ffi::GstColorBalanceChannel, - value: libc::c_int, + value: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index be7f8a0fb..e11d94341 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -17,14 +17,15 @@ use gobject_sys as gobject; use gstreamer_base_sys as gst_base; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -2585,7 +2586,6 @@ impl ::std::fmt::Debug for GstVideoOverlay { } } -#[link(name = "gstvideo-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs index 97cc894cc..e7de35a5f 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -287,7 +287,7 @@ impl WebRTCDataChannel { F: Fn(&WebRTCDataChannel, Option<&str>) + Send + Sync + 'static, >( this: *mut ffi::GstWebRTCDataChannel, - data: *mut libc::c_char, + data: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -382,7 +382,7 @@ impl WebRTCDataChannel { F: Fn(&WebRTCDataChannel, Option<&str>) + Send + Sync + 'static, >( this: *mut ffi::GstWebRTCDataChannel, - data: *mut libc::c_char, + data: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-webrtc/src/auto/web_rtcice.rs b/gstreamer-webrtc/src/auto/web_rtcice.rs index c8342954b..e99bfb8cc 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice.rs @@ -220,8 +220,8 @@ pub trait WebRTCICEExt: IsA + sealed::Sealed + 'static { let func_data: Box_

= Box_::new(func); unsafe extern "C" fn func_func( ice: *mut ffi::GstWebRTCICE, - stream_id: libc::c_uint, - candidate: *const libc::c_char, + stream_id: std::ffi::c_uint, + candidate: *const std::ffi::c_char, user_data: glib::ffi::gpointer, ) { let ice = from_glib_borrow(ice); @@ -333,7 +333,7 @@ pub trait WebRTCICEExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) -> bool + Send + Sync + 'static, >( this: *mut ffi::GstWebRTCICE, - address: *mut libc::c_char, + address: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index 067391b5d..288555973 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -82,7 +82,7 @@ impl WebRTCICETransport { F: Fn(&WebRTCICETransport, &str) + Send + Sync + 'static, >( this: *mut ffi::GstWebRTCICETransport, - object: *mut libc::c_char, + object: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index 1fc390ac3..d070cc63c 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -16,14 +16,15 @@ use glib_sys as glib; use gstreamer_sdp_sys as gst_sdp; use gstreamer_sys as gst; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -573,7 +574,6 @@ impl ::std::fmt::Debug for GstWebRTCSCTPTransport { } } -#[link(name = "gstwebrtc-1.0")] extern "C" { //========================================================================= diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index d1ef20e96..1ac22990e 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -128,7 +128,7 @@ pub trait ChildProxyExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GstChildProxy, object: *mut glib::gobject_ffi::GObject, - name: *mut libc::c_char, + name: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -162,7 +162,7 @@ pub trait ChildProxyExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GstChildProxy, object: *mut glib::gobject_ffi::GObject, - name: *mut libc::c_char, + name: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 69e19ecc9..65b15babe 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -163,7 +163,7 @@ pub trait DeviceProviderExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) + Send + Sync + 'static, >( this: *mut ffi::GstDeviceProvider, - object: *mut libc::c_char, + object: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -195,7 +195,7 @@ pub trait DeviceProviderExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) + Send + Sync + 'static, >( this: *mut ffi::GstDeviceProvider, - object: *mut libc::c_char, + object: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index ae7b03069..e638c6b60 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 @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer/src/macos.rs b/gstreamer/src/macos.rs index ff78ce9fb..59a547be7 100644 --- a/gstreamer/src/macos.rs +++ b/gstreamer/src/macos.rs @@ -2,7 +2,6 @@ type GstMainFuncSimple = Option; -#[link(name = "gstreamer-1.0")] extern "C" { #[cfg(feature = "v1_22")] fn gst_macos_main_simple(func: GstMainFuncSimple, user_data: glib::ffi::gpointer); diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index ae7b03069..e638c6b60 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ ae08ff966747) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ db97a3ad67f5) diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 2497184d1..cd44f2021 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -15,14 +15,15 @@ use glib_sys as glib; use gobject_sys as gobject; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -4029,7 +4030,6 @@ impl ::std::fmt::Debug for GstURIHandler { } } -#[link(name = "gstreamer-1.0")] extern "C" { //=========================================================================