Commit 710c4d21 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

Regenerate everything with latest GIR and GIR files

parent 03bf57d5
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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);
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
......@@ -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]
......
......@@ -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"
......
// 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;
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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;
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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"),
];
......
// 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
......
// 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
......
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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
......
// 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<Option<&'a str>>>(&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<Vec<String>, Box<Error>> {
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)?;
......
// 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
......
// 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
......
// 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;
......
// 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<Option<&'a str>>>(&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),
};