From 710c4d218aa030aee9bb54856cb781eabcde81d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 21 May 2018 11:28:08 +0300 Subject: [PATCH] Regenerate everything with latest GIR and GIR files --- gstreamer-app-sys/src/lib.rs | 2 +- gstreamer-app-sys/tests/abi.rs | 6 +++--- gstreamer-app-sys/tests/constant.c | 2 +- gstreamer-app-sys/tests/layout.c | 2 +- gstreamer-audio-sys/src/lib.rs | 4 ++-- gstreamer-audio-sys/tests/abi.rs | 6 +++--- gstreamer-audio-sys/tests/constant.c | 2 +- gstreamer-audio-sys/tests/layout.c | 2 +- gstreamer-base-sys/Cargo.toml | 1 + gstreamer-base-sys/build.rs | 4 +++- gstreamer-base-sys/src/lib.rs | 8 +++++--- gstreamer-base-sys/tests/abi.rs | 6 +++--- gstreamer-base-sys/tests/constant.c | 2 +- gstreamer-base-sys/tests/layout.c | 2 +- gstreamer-mpegts-sys/src/lib.rs | 2 +- gstreamer-mpegts-sys/tests/abi.rs | 6 +++--- gstreamer-mpegts-sys/tests/constant.c | 2 +- gstreamer-mpegts-sys/tests/layout.c | 2 +- gstreamer-net-sys/src/lib.rs | 2 +- gstreamer-net-sys/tests/abi.rs | 6 +++--- gstreamer-net-sys/tests/constant.c | 2 +- gstreamer-net-sys/tests/layout.c | 2 +- gstreamer-pbutils-sys/src/lib.rs | 8 ++++---- gstreamer-pbutils-sys/tests/abi.rs | 8 ++++---- gstreamer-pbutils-sys/tests/constant.c | 2 +- gstreamer-pbutils-sys/tests/layout.c | 2 +- gstreamer-player-sys/src/lib.rs | 2 +- gstreamer-player-sys/tests/abi.rs | 6 +++--- gstreamer-player-sys/tests/constant.c | 2 +- gstreamer-player-sys/tests/layout.c | 2 +- gstreamer-rtsp-server-sys/src/lib.rs | 2 +- gstreamer-rtsp-server-sys/tests/abi.rs | 6 +++--- gstreamer-rtsp-server-sys/tests/constant.c | 2 +- gstreamer-rtsp-server-sys/tests/layout.c | 2 +- gstreamer-rtsp-sys/src/lib.rs | 2 +- gstreamer-rtsp-sys/tests/abi.rs | 6 +++--- gstreamer-rtsp-sys/tests/constant.c | 2 +- gstreamer-rtsp-sys/tests/layout.c | 2 +- gstreamer-sdp-sys/src/lib.rs | 2 +- gstreamer-sdp-sys/tests/abi.rs | 6 +++--- gstreamer-sdp-sys/tests/constant.c | 2 +- gstreamer-sdp-sys/tests/layout.c | 2 +- gstreamer-sys/src/lib.rs | 10 +++++----- gstreamer-sys/tests/abi.rs | 8 ++++---- gstreamer-sys/tests/constant.c | 2 +- gstreamer-sys/tests/layout.c | 2 +- gstreamer-tag-sys/src/lib.rs | 18 +++++++++--------- gstreamer-tag-sys/tests/abi.rs | 6 +++--- gstreamer-tag-sys/tests/constant.c | 2 +- gstreamer-tag-sys/tests/layout.c | 2 +- gstreamer-video-sys/src/lib.rs | 4 ++-- gstreamer-video-sys/tests/abi.rs | 6 +++--- gstreamer-video-sys/tests/constant.c | 2 +- gstreamer-video-sys/tests/layout.c | 2 +- gstreamer-webrtc-sys/src/lib.rs | 2 +- gstreamer-webrtc-sys/tests/abi.rs | 6 +++--- gstreamer-webrtc-sys/tests/constant.c | 2 +- gstreamer-webrtc-sys/tests/layout.c | 2 +- 58 files changed, 111 insertions(+), 106 deletions(-) diff --git a/gstreamer-app-sys/src/lib.rs b/gstreamer-app-sys/src/lib.rs index 6fbb516f7..2b9f81e8e 100644 --- a/gstreamer-app-sys/src/lib.rs +++ b/gstreamer-app-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app-sys/tests/abi.rs b/gstreamer-app-sys/tests/abi.rs index 58c40d4da..a0fe0bb8f 100644 --- a/gstreamer-app-sys/tests/abi.rs +++ b/gstreamer-app-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-app-sys/tests/constant.c b/gstreamer-app-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-app-sys/tests/constant.c +++ b/gstreamer-app-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app-sys/tests/layout.c b/gstreamer-app-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-app-sys/tests/layout.c +++ b/gstreamer-app-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio-sys/src/lib.rs b/gstreamer-audio-sys/src/lib.rs index eeec0bec5..06baccf29 100644 --- a/gstreamer-audio-sys/src/lib.rs +++ b/gstreamer-audio-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -1601,7 +1601,7 @@ extern "C" { pub fn gst_audio_ring_buffer_set_callback(buf: *mut GstAudioRingBuffer, cb: GstAudioRingBufferCallback, user_data: gpointer); #[cfg(any(feature = "v1_12", feature = "dox"))] pub fn gst_audio_ring_buffer_set_callback_full(buf: *mut GstAudioRingBuffer, cb: GstAudioRingBufferCallback, user_data: gpointer, notify: glib::GDestroyNotify); - pub fn gst_audio_ring_buffer_set_channel_positions(buf: *mut GstAudioRingBuffer, position: *const GstAudioChannelPosition); + pub fn gst_audio_ring_buffer_set_channel_positions(buf: *mut GstAudioRingBuffer, position: *mut GstAudioChannelPosition); pub fn gst_audio_ring_buffer_set_flushing(buf: *mut GstAudioRingBuffer, flushing: gboolean); pub fn gst_audio_ring_buffer_set_sample(buf: *mut GstAudioRingBuffer, sample: u64); pub fn gst_audio_ring_buffer_set_timestamp(buf: *mut GstAudioRingBuffer, readseg: c_int, timestamp: gst::GstClockTime); diff --git a/gstreamer-audio-sys/tests/abi.rs b/gstreamer-audio-sys/tests/abi.rs index 512758b2a..ccda2fb95 100644 --- a/gstreamer-audio-sys/tests/abi.rs +++ b/gstreamer-audio-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-audio-sys/tests/constant.c b/gstreamer-audio-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-audio-sys/tests/constant.c +++ b/gstreamer-audio-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio-sys/tests/layout.c b/gstreamer-audio-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-audio-sys/tests/layout.c +++ b/gstreamer-audio-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base-sys/Cargo.toml b/gstreamer-base-sys/Cargo.toml index c17ddf6f7..39a5d55eb 100644 --- a/gstreamer-base-sys/Cargo.toml +++ b/gstreamer-base-sys/Cargo.toml @@ -23,6 +23,7 @@ v1_10 = ["v1_8"] v1_12 = ["v1_10"] v1_12_1 = ["v1_12"] v1_14 = ["v1_12_1"] +v1_14_1 = ["v1_14"] dox = [] [lib] diff --git a/gstreamer-base-sys/build.rs b/gstreamer-base-sys/build.rs index ee8aefe4c..aa5847f0b 100644 --- a/gstreamer-base-sys/build.rs +++ b/gstreamer-base-sys/build.rs @@ -16,7 +16,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-base-1.0"; let shared_libs = ["gstbase-1.0"]; - let version = if cfg!(feature = "v1_14") { + let version = if cfg!(feature = "v1_14_1") { + "1.14.1" + } else if cfg!(feature = "v1_14") { "1.14" } else if cfg!(feature = "v1_12_1") { "1.12.1" diff --git a/gstreamer-base-sys/src/lib.rs b/gstreamer-base-sys/src/lib.rs index d6cf5f3ab..83405b345 100644 --- a/gstreamer-base-sys/src/lib.rs +++ b/gstreamer-base-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -1075,7 +1075,7 @@ extern "C" { pub fn gst_byte_writer_put_int8(writer: *mut GstByteWriter, val: i8) -> gboolean; pub fn gst_byte_writer_put_string_utf16(writer: *mut GstByteWriter, data: *mut u16) -> gboolean; pub fn gst_byte_writer_put_string_utf32(writer: *mut GstByteWriter, data: *mut u32) -> gboolean; - pub fn gst_byte_writer_put_string_utf8(writer: *mut GstByteWriter, data: *mut c_char) -> gboolean; + pub fn gst_byte_writer_put_string_utf8(writer: *mut GstByteWriter, data: *const c_char) -> gboolean; pub fn gst_byte_writer_put_uint16_be(writer: *mut GstByteWriter, val: u16) -> gboolean; pub fn gst_byte_writer_put_uint16_le(writer: *mut GstByteWriter, val: u16) -> gboolean; pub fn gst_byte_writer_put_uint24_be(writer: *mut GstByteWriter, val: u32) -> gboolean; @@ -1220,6 +1220,8 @@ extern "C" { //========================================================================= pub fn gst_aggregator_pad_get_type() -> GType; pub fn gst_aggregator_pad_drop_buffer(pad: *mut GstAggregatorPad) -> gboolean; + #[cfg(any(feature = "v1_14_1", feature = "dox"))] + pub fn gst_aggregator_pad_has_buffer(pad: *mut GstAggregatorPad) -> gboolean; pub fn gst_aggregator_pad_is_eos(pad: *mut GstAggregatorPad) -> gboolean; pub fn gst_aggregator_pad_peek_buffer(pad: *mut GstAggregatorPad) -> *mut gst::GstBuffer; pub fn gst_aggregator_pad_pop_buffer(pad: *mut GstAggregatorPad) -> *mut gst::GstBuffer; @@ -1405,7 +1407,7 @@ extern "C" { //========================================================================= pub fn gst_type_find_helper(src: *mut gst::GstPad, size: u64) -> *mut gst::GstCaps; pub fn gst_type_find_helper_for_buffer(obj: *mut gst::GstObject, buf: *mut gst::GstBuffer, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps; - pub fn gst_type_find_helper_for_data(obj: *mut gst::GstObject, data: *const u8, size: size_t, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps; + pub fn gst_type_find_helper_for_data(obj: *mut gst::GstObject, data: *mut u8, size: size_t, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps; pub fn gst_type_find_helper_for_extension(obj: *mut gst::GstObject, extension: *const c_char) -> *mut gst::GstCaps; pub fn gst_type_find_helper_get_range(obj: *mut gst::GstObject, parent: *mut gst::GstObject, func: GstTypeFindHelperGetRangeFunction, size: u64, extension: *const c_char, prob: *mut gst::GstTypeFindProbability) -> *mut gst::GstCaps; diff --git a/gstreamer-base-sys/tests/abi.rs b/gstreamer-base-sys/tests/abi.rs index 4a7626fca..3fb328690 100644 --- a/gstreamer-base-sys/tests/abi.rs +++ b/gstreamer-base-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-base-sys/tests/constant.c b/gstreamer-base-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-base-sys/tests/constant.c +++ b/gstreamer-base-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base-sys/tests/layout.c b/gstreamer-base-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-base-sys/tests/layout.c +++ b/gstreamer-base-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/src/lib.rs b/gstreamer-mpegts-sys/src/lib.rs index 7ecd75386..9ab24c27a 100644 --- a/gstreamer-mpegts-sys/src/lib.rs +++ b/gstreamer-mpegts-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/tests/abi.rs b/gstreamer-mpegts-sys/tests/abi.rs index 2e5321b75..3653a4a64 100644 --- a/gstreamer-mpegts-sys/tests/abi.rs +++ b/gstreamer-mpegts-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-mpegts-sys/tests/constant.c b/gstreamer-mpegts-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-mpegts-sys/tests/constant.c +++ b/gstreamer-mpegts-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/tests/layout.c b/gstreamer-mpegts-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-mpegts-sys/tests/layout.c +++ b/gstreamer-mpegts-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/src/lib.rs b/gstreamer-net-sys/src/lib.rs index c5c11da70..dc3836451 100644 --- a/gstreamer-net-sys/src/lib.rs +++ b/gstreamer-net-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/tests/abi.rs b/gstreamer-net-sys/tests/abi.rs index 28d791cc5..e8e23b03f 100644 --- a/gstreamer-net-sys/tests/abi.rs +++ b/gstreamer-net-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-net-sys/tests/constant.c b/gstreamer-net-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-net-sys/tests/constant.c +++ b/gstreamer-net-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/tests/layout.c b/gstreamer-net-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-net-sys/tests/layout.c +++ b/gstreamer-net-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils-sys/src/lib.rs b/gstreamer-pbutils-sys/src/lib.rs index 724486624..5922bcbb7 100644 --- a/gstreamer-pbutils-sys/src/lib.rs +++ b/gstreamer-pbutils-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -69,7 +69,7 @@ pub const GST_ENCODING_CATEGORY_FILE_EXTENSION: *const c_char = b"file-extension pub const GST_ENCODING_CATEGORY_ONLINE_SERVICE: *const c_char = b"online-service\0" as *const u8 as *const c_char; pub const GST_ENCODING_CATEGORY_STORAGE_EDITING: *const c_char = b"storage-editing\0" as *const u8 as *const c_char; pub const GST_PLUGINS_BASE_VERSION_MAJOR: c_int = 1; -pub const GST_PLUGINS_BASE_VERSION_MICRO: c_int = 0; +pub const GST_PLUGINS_BASE_VERSION_MICRO: c_int = 1; pub const GST_PLUGINS_BASE_VERSION_MINOR: c_int = 14; pub const GST_PLUGINS_BASE_VERSION_NANO: c_int = 0; @@ -584,9 +584,9 @@ extern "C" { #[cfg(any(feature = "v1_8", feature = "dox"))] pub fn gst_codec_utils_opus_create_header(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *mut u8, pre_skip: u16, output_gain: i16) -> *mut gst::GstBuffer; #[cfg(any(feature = "v1_8", feature = "dox"))] - pub fn gst_codec_utils_opus_parse_caps(caps: *mut gst::GstCaps, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: u8) -> gboolean; + pub fn gst_codec_utils_opus_parse_caps(caps: *mut gst::GstCaps, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: [u8; 256]) -> gboolean; #[cfg(any(feature = "v1_8", feature = "dox"))] - pub fn gst_codec_utils_opus_parse_header(header: *mut gst::GstBuffer, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: u8, pre_skip: *mut u16, output_gain: *mut i16) -> gboolean; + pub fn gst_codec_utils_opus_parse_header(header: *mut gst::GstBuffer, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: [u8; 256], pre_skip: *mut u16, output_gain: *mut i16) -> gboolean; pub fn gst_encoding_list_all_targets(categoryname: *const c_char) -> *mut glib::GList; pub fn gst_encoding_list_available_categories() -> *mut glib::GList; pub fn gst_install_plugins_async(details: *mut *mut c_char, ctx: *mut GstInstallPluginsContext, func: GstInstallPluginsResultFunc, user_data: gpointer) -> GstInstallPluginsReturn; diff --git a/gstreamer-pbutils-sys/tests/abi.rs b/gstreamer-pbutils-sys/tests/abi.rs index 884ec3094..048b2b9d9 100644 --- a/gstreamer-pbutils-sys/tests/abi.rs +++ b/gstreamer-pbutils-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; @@ -287,7 +287,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("GST_INSTALL_PLUGINS_SUCCESS", "0"), ("GST_INSTALL_PLUGINS_USER_ABORT", "4"), ("GST_PLUGINS_BASE_VERSION_MAJOR", "1"), - ("GST_PLUGINS_BASE_VERSION_MICRO", "0"), + ("GST_PLUGINS_BASE_VERSION_MICRO", "1"), ("GST_PLUGINS_BASE_VERSION_MINOR", "14"), ("GST_PLUGINS_BASE_VERSION_NANO", "0"), ]; diff --git a/gstreamer-pbutils-sys/tests/constant.c b/gstreamer-pbutils-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-pbutils-sys/tests/constant.c +++ b/gstreamer-pbutils-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils-sys/tests/layout.c b/gstreamer-pbutils-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-pbutils-sys/tests/layout.c +++ b/gstreamer-pbutils-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/src/lib.rs b/gstreamer-player-sys/src/lib.rs index ee13a6aeb..3cb73fba9 100644 --- a/gstreamer-player-sys/src/lib.rs +++ b/gstreamer-player-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/tests/abi.rs b/gstreamer-player-sys/tests/abi.rs index d9bae110f..95cb89bb4 100644 --- a/gstreamer-player-sys/tests/abi.rs +++ b/gstreamer-player-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-player-sys/tests/constant.c b/gstreamer-player-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-player-sys/tests/constant.c +++ b/gstreamer-player-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/tests/layout.c b/gstreamer-player-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-player-sys/tests/layout.c +++ b/gstreamer-player-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/src/lib.rs b/gstreamer-rtsp-server-sys/src/lib.rs index d99cde6b9..941ed40df 100644 --- a/gstreamer-rtsp-server-sys/src/lib.rs +++ b/gstreamer-rtsp-server-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/tests/abi.rs b/gstreamer-rtsp-server-sys/tests/abi.rs index 988c7d128..0735d5137 100644 --- a/gstreamer-rtsp-server-sys/tests/abi.rs +++ b/gstreamer-rtsp-server-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-rtsp-server-sys/tests/constant.c b/gstreamer-rtsp-server-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-rtsp-server-sys/tests/constant.c +++ b/gstreamer-rtsp-server-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/tests/layout.c b/gstreamer-rtsp-server-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-rtsp-server-sys/tests/layout.c +++ b/gstreamer-rtsp-server-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/src/lib.rs b/gstreamer-rtsp-sys/src/lib.rs index 323a06947..e15abe80b 100644 --- a/gstreamer-rtsp-sys/src/lib.rs +++ b/gstreamer-rtsp-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/tests/abi.rs b/gstreamer-rtsp-sys/tests/abi.rs index a525545ef..bbc24b83d 100644 --- a/gstreamer-rtsp-sys/tests/abi.rs +++ b/gstreamer-rtsp-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-rtsp-sys/tests/constant.c b/gstreamer-rtsp-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-rtsp-sys/tests/constant.c +++ b/gstreamer-rtsp-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/tests/layout.c b/gstreamer-rtsp-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-rtsp-sys/tests/layout.c +++ b/gstreamer-rtsp-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/src/lib.rs b/gstreamer-sdp-sys/src/lib.rs index eecd4fec3..efdbfc082 100644 --- a/gstreamer-sdp-sys/src/lib.rs +++ b/gstreamer-sdp-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/tests/abi.rs b/gstreamer-sdp-sys/tests/abi.rs index 70bc07af3..d62a85d1b 100644 --- a/gstreamer-sdp-sys/tests/abi.rs +++ b/gstreamer-sdp-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-sdp-sys/tests/constant.c b/gstreamer-sdp-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-sdp-sys/tests/constant.c +++ b/gstreamer-sdp-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/tests/layout.c b/gstreamer-sdp-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-sdp-sys/tests/layout.c +++ b/gstreamer-sdp-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sys/src/lib.rs b/gstreamer-sys/src/lib.rs index 457f17ccf..8ef549dc3 100644 --- a/gstreamer-sys/src/lib.rs +++ b/gstreamer-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -588,7 +588,7 @@ pub const GST_VALUE_GREATER_THAN: c_int = 1; pub const GST_VALUE_LESS_THAN: c_int = -1; pub const GST_VALUE_UNORDERED: c_int = 2; pub const GST_VERSION_MAJOR: c_int = 1; -pub const GST_VERSION_MICRO: c_int = 0; +pub const GST_VERSION_MICRO: c_int = 1; pub const GST_VERSION_MINOR: c_int = 14; pub const GST_VERSION_NANO: c_int = 0; @@ -4614,7 +4614,7 @@ extern "C" { #[cfg(any(feature = "v1_2", feature = "dox"))] pub fn gst_meta_api_type_get_tags(api: GType) -> *mut *mut c_char; pub fn gst_meta_api_type_has_tag(api: GType, tag: glib::GQuark) -> gboolean; - pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *const c_char) -> GType; + pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *mut c_char) -> GType; pub fn gst_meta_get_info(impl_: *const c_char) -> *const GstMetaInfo; pub fn gst_meta_register(api: GType, impl_: *const c_char, size: size_t, init_func: GstMetaInitFunction, free_func: GstMetaFreeFunction, transform_func: GstMetaTransformFunction) -> *const GstMetaInfo; @@ -6094,7 +6094,7 @@ extern "C" { #[cfg(any(feature = "v1_12", feature = "dox"))] pub fn gst_println(format: *const c_char, ...); #[cfg(any(feature = "v1_14", feature = "dox"))] - pub fn gst_protection_filter_systems_by_available_decryptors(system_identifiers: *mut *const c_char) -> *mut *mut c_char; + pub fn gst_protection_filter_systems_by_available_decryptors(system_identifiers: *mut *mut c_char) -> *mut *mut c_char; pub fn gst_protection_meta_api_get_type() -> GType; #[cfg(any(feature = "v1_6", feature = "dox"))] pub fn gst_protection_select_system(system_identifiers: *mut *mut c_char) -> *const c_char; @@ -6119,7 +6119,7 @@ extern "C" { pub fn gst_util_double_to_fraction(src: c_double, dest_n: *mut c_int, dest_d: *mut c_int); #[cfg(any(feature = "v1_14", feature = "dox"))] pub fn gst_util_dump_buffer(buf: *mut GstBuffer); - pub fn gst_util_dump_mem(mem: *const u8, size: c_uint); + pub fn gst_util_dump_mem(mem: *mut u8, size: c_uint); pub fn gst_util_fraction_add(a_n: c_int, a_d: c_int, b_n: c_int, b_d: c_int, res_n: *mut c_int, res_d: *mut c_int) -> gboolean; pub fn gst_util_fraction_compare(a_n: c_int, a_d: c_int, b_n: c_int, b_d: c_int) -> c_int; pub fn gst_util_fraction_multiply(a_n: c_int, a_d: c_int, b_n: c_int, b_d: c_int, res_n: *mut c_int, res_d: *mut c_int) -> gboolean; diff --git a/gstreamer-sys/tests/abi.rs b/gstreamer-sys/tests/abi.rs index fd03f7e55..6c2eaee9d 100644 --- a/gstreamer-sys/tests/abi.rs +++ b/gstreamer-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; @@ -1116,7 +1116,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("GST_VALUE_LESS_THAN", "-1"), ("GST_VALUE_UNORDERED", "2"), ("GST_VERSION_MAJOR", "1"), - ("GST_VERSION_MICRO", "0"), + ("GST_VERSION_MICRO", "1"), ("GST_VERSION_MINOR", "14"), ("GST_VERSION_NANO", "0"), ]; diff --git a/gstreamer-sys/tests/constant.c b/gstreamer-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-sys/tests/constant.c +++ b/gstreamer-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sys/tests/layout.c b/gstreamer-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-sys/tests/layout.c +++ b/gstreamer-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-tag-sys/src/lib.rs b/gstreamer-tag-sys/src/lib.rs index 05655bdf1..fdeb4b5e9 100644 --- a/gstreamer-tag-sys/src/lib.rs +++ b/gstreamer-tag-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -265,7 +265,7 @@ extern "C" { // Other functions //========================================================================= pub fn gst_tag_check_language_code(lang_code: *const c_char) -> gboolean; - pub fn gst_tag_freeform_string_to_utf8(data: *const c_char, size: c_int, env_vars: *mut *const c_char) -> *mut c_char; + pub fn gst_tag_freeform_string_to_utf8(data: *mut c_char, size: c_int, env_vars: *mut *mut c_char) -> *mut c_char; pub fn gst_tag_from_id3_tag(id3_tag: *const c_char) -> *const c_char; pub fn gst_tag_from_id3_user_tag(type_: *const c_char, id3_user_tag: *const c_char) -> *const c_char; pub fn gst_tag_from_vorbis_tag(vorbis_tag: *const c_char) -> *const c_char; @@ -284,19 +284,19 @@ extern "C" { pub fn gst_tag_get_licenses() -> *mut *mut c_char; pub fn gst_tag_id3_genre_count() -> c_uint; pub fn gst_tag_id3_genre_get(id: c_uint) -> *const c_char; - pub fn gst_tag_image_data_to_image_sample(image_data: *const u8, image_data_len: c_uint, image_type: GstTagImageType) -> *mut gst::GstSample; - pub fn gst_tag_list_add_id3_image(tag_list: *mut gst::GstTagList, image_data: *const u8, image_data_len: c_uint, id3_picture_type: c_uint) -> gboolean; + pub fn gst_tag_image_data_to_image_sample(image_data: *mut u8, image_data_len: c_uint, image_type: GstTagImageType) -> *mut gst::GstSample; + pub fn gst_tag_list_add_id3_image(tag_list: *mut gst::GstTagList, image_data: *mut u8, image_data_len: c_uint, id3_picture_type: c_uint) -> gboolean; pub fn gst_tag_list_from_exif_buffer(buffer: *mut gst::GstBuffer, byte_order: c_int, base_offset: u32) -> *mut gst::GstTagList; pub fn gst_tag_list_from_exif_buffer_with_tiff_header(buffer: *mut gst::GstBuffer) -> *mut gst::GstTagList; pub fn gst_tag_list_from_id3v2_tag(buffer: *mut gst::GstBuffer) -> *mut gst::GstTagList; - pub fn gst_tag_list_from_vorbiscomment(data: *const u8, size: size_t, id_data: *const u8, id_data_length: c_uint, vendor_string: *mut *mut c_char) -> *mut gst::GstTagList; - pub fn gst_tag_list_from_vorbiscomment_buffer(buffer: *mut gst::GstBuffer, id_data: *const u8, id_data_length: c_uint, vendor_string: *mut *mut c_char) -> *mut gst::GstTagList; + pub fn gst_tag_list_from_vorbiscomment(data: *mut u8, size: size_t, id_data: *mut u8, id_data_length: c_uint, vendor_string: *mut *mut c_char) -> *mut gst::GstTagList; + pub fn gst_tag_list_from_vorbiscomment_buffer(buffer: *mut gst::GstBuffer, id_data: *mut u8, id_data_length: c_uint, vendor_string: *mut *mut c_char) -> *mut gst::GstTagList; pub fn gst_tag_list_from_xmp_buffer(buffer: *mut gst::GstBuffer) -> *mut gst::GstTagList; - pub fn gst_tag_list_new_from_id3v1(data: *const u8) -> *mut gst::GstTagList; + pub fn gst_tag_list_new_from_id3v1(data: *mut [u8; 128]) -> *mut gst::GstTagList; pub fn gst_tag_list_to_exif_buffer(taglist: *const gst::GstTagList, byte_order: c_int, base_offset: u32) -> *mut gst::GstBuffer; pub fn gst_tag_list_to_exif_buffer_with_tiff_header(taglist: *const gst::GstTagList) -> *mut gst::GstBuffer; - pub fn gst_tag_list_to_vorbiscomment_buffer(list: *const gst::GstTagList, id_data: *const u8, id_data_length: c_uint, vendor_string: *const c_char) -> *mut gst::GstBuffer; - pub fn gst_tag_list_to_xmp_buffer(list: *const gst::GstTagList, read_only: gboolean, schemas: *mut *const c_char) -> *mut gst::GstBuffer; + pub fn gst_tag_list_to_vorbiscomment_buffer(list: *const gst::GstTagList, id_data: *mut u8, id_data_length: c_uint, vendor_string: *const c_char) -> *mut gst::GstBuffer; + pub fn gst_tag_list_to_xmp_buffer(list: *const gst::GstTagList, read_only: gboolean, schemas: *mut *mut c_char) -> *mut gst::GstBuffer; pub fn gst_tag_parse_extended_comment(ext_comment: *const c_char, key: *mut *mut c_char, lang: *mut *mut c_char, value: *mut *mut c_char, fail_if_no_key: gboolean) -> gboolean; pub fn gst_tag_register_musicbrainz_tags(); pub fn gst_tag_to_id3_tag(gst_tag: *const c_char) -> *const c_char; diff --git a/gstreamer-tag-sys/tests/abi.rs b/gstreamer-tag-sys/tests/abi.rs index c001711d4..63ec74374 100644 --- a/gstreamer-tag-sys/tests/abi.rs +++ b/gstreamer-tag-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-tag-sys/tests/constant.c b/gstreamer-tag-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-tag-sys/tests/constant.c +++ b/gstreamer-tag-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-tag-sys/tests/layout.c b/gstreamer-tag-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-tag-sys/tests/layout.c +++ b/gstreamer-tag-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video-sys/src/lib.rs b/gstreamer-video-sys/src/lib.rs index 0f2526a71..e4340a04d 100644 --- a/gstreamer-video-sys/src/lib.rs +++ b/gstreamer-video-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -1722,7 +1722,7 @@ extern "C" { // GstVideoColorRange //========================================================================= pub fn gst_video_color_range_get_type() -> GType; - pub fn gst_video_color_range_offsets(range: GstVideoColorRange, info: *const GstVideoFormatInfo, offset: c_int, scale: c_int); + pub fn gst_video_color_range_offsets(range: GstVideoColorRange, info: *const GstVideoFormatInfo, offset: [c_int; 4], scale: [c_int; 4]); //========================================================================= // GstVideoDitherMethod diff --git a/gstreamer-video-sys/tests/abi.rs b/gstreamer-video-sys/tests/abi.rs index 36823829b..7c9bac9f9 100644 --- a/gstreamer-video-sys/tests/abi.rs +++ b/gstreamer-video-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-video-sys/tests/constant.c b/gstreamer-video-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-video-sys/tests/constant.c +++ b/gstreamer-video-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video-sys/tests/layout.c b/gstreamer-video-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-video-sys/tests/layout.c +++ b/gstreamer-video-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/src/lib.rs b/gstreamer-webrtc-sys/src/lib.rs index b4157d491..7507858de 100644 --- a/gstreamer-webrtc-sys/src/lib.rs +++ b/gstreamer-webrtc-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1795530) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/tests/abi.rs b/gstreamer-webrtc-sys/tests/abi.rs index 748799a4b..ded25868f 100644 --- a/gstreamer-webrtc-sys/tests/abi.rs +++ b/gstreamer-webrtc-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -34,7 +34,7 @@ impl Compiler { pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { let arg = match val.into() { - None => format!("-D{}", var), + None => format!("-D{}", var), Some(val) => format!("-D{}={}", var, val), }; self.args.push(arg); @@ -77,7 +77,7 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { cmd.args(packages); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {:?} returned {}", + return Err(format!("command {:?} returned {}", &cmd, out.status).into()); } let stdout = str::from_utf8(&out.stdout)?; diff --git a/gstreamer-webrtc-sys/tests/constant.c b/gstreamer-webrtc-sys/tests/constant.c index f95b609c2..f1e698e3e 100644 --- a/gstreamer-webrtc-sys/tests/constant.c +++ b/gstreamer-webrtc-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/tests/layout.c b/gstreamer-webrtc-sys/tests/layout.c index e4be962df..d05bb7d3f 100644 --- a/gstreamer-webrtc-sys/tests/layout.c +++ b/gstreamer-webrtc-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 1825132) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT