Commit 134564ca authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate everything with latest gir and gir-files

parent 4e2c2d57
......@@ -25,6 +25,7 @@ v1_8 = ["v1_6"]
v1_10 = ["v1_8"]
v1_12 = ["v1_10"]
v1_14 = ["v1_12"]
v1_16 = ["v1_14"]
dox = []
[lib]
......
......@@ -20,7 +20,9 @@ fn main() {
fn find() -> Result<(), Error> {
let package_name = "gstreamer-app-1.0";
let shared_libs = ["gstapp-1.0"];
let version = if cfg!(feature = "v1_14") {
let version = if cfg!(feature = "v1_16") {
"1.16"
} else if cfg!(feature = "v1_14") {
"1.14"
} else if cfg!(feature = "v1_12") {
"1.12"
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// 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 @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// 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 @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// 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 @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......
......@@ -28,6 +28,7 @@ v1_8 = ["v1_6"]
v1_10 = ["v1_8"]
v1_12 = ["v1_10"]
v1_14 = ["v1_12"]
v1_16 = ["v1_14"]
dox = []
[lib]
......
......@@ -20,7 +20,9 @@ fn main() {
fn find() -> Result<(), Error> {
let package_name = "gstreamer-audio-1.0";
let shared_libs = ["gstaudio-1.0"];
let version = if cfg!(feature = "v1_14") {
let version = if cfg!(feature = "v1_16") {
"1.16"
} else if cfg!(feature = "v1_14") {
"1.14"
} else if cfg!(feature = "v1_12") {
"1.12"
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......@@ -393,6 +393,32 @@ impl ::std::fmt::Debug for GstAudioBaseSrcPrivate {
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAudioBuffer {
pub info: GstAudioInfo,
pub n_samples: size_t,
pub n_planes: c_int,
pub planes: *mut gpointer,
pub buffer: *mut gst::GstBuffer,
pub map_infos: *mut gst::GstMapInfo,
pub priv_planes_arr: [gpointer; 8],
pub priv_map_infos_arr: [gst::GstMapInfo; 8],
pub _gst_reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstAudioBuffer {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstAudioBuffer @ {:?}", self as *const _))
.field("info", &self.info)
.field("n_samples", &self.n_samples)
.field("n_planes", &self.n_planes)
.field("planes", &self.planes)
.field("buffer", &self.buffer)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAudioCdSrcClass {
......@@ -725,6 +751,28 @@ impl ::std::fmt::Debug for GstAudioInfo {
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAudioMeta {
pub meta: gst::GstMeta,
pub info: GstAudioInfo,
pub samples: size_t,
pub offsets: *mut size_t,
pub priv_offsets_arr: [size_t; 8],
pub _gst_reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstAudioMeta {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstAudioMeta @ {:?}", self as *const _))
.field("meta", &self.meta)
.field("info", &self.info)
.field("samples", &self.samples)
.field("offsets", &self.offsets)
.finish()
}
}
#[repr(C)]
pub struct GstAudioQuantize(c_void);
......@@ -925,7 +973,6 @@ pub struct GstAudioAggregatorConvertPad {
impl ::std::fmt::Debug for GstAudioAggregatorConvertPad {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstAudioAggregatorConvertPad @ {:?}", self as *const _))
.field("parent", &self.parent)
.finish()
}
}
......@@ -1150,7 +1197,6 @@ impl ::std::fmt::Debug for GstAudioRingBuffer {
.field("acquired", &self.acquired)
.field("memory", &self.memory)
.field("size", &self.size)
.field("timestamps", &self.timestamps)
.field("spec", &self.spec)
.field("samples_per_seg", &self.samples_per_seg)
.field("empty_seg", &self.empty_seg)
......@@ -1317,6 +1363,18 @@ extern "C" {
//=========================================================================
pub fn gst_audio_resampler_flags_get_type() -> GType;
//=========================================================================
// GstAudioBuffer
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_buffer_map(buffer: *mut GstAudioBuffer, info: *const GstAudioInfo, gstbuffer: *mut gst::GstBuffer, flags: gst::GstMapFlags) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_buffer_unmap(buffer: *mut GstAudioBuffer);
pub fn gst_audio_buffer_clip(buffer: *mut gst::GstBuffer, segment: *const gst::GstSegment, rate: c_int, bpf: c_int) -> *mut gst::GstBuffer;
pub fn gst_audio_buffer_reorder_channels(buffer: *mut gst::GstBuffer, format: GstAudioFormat, channels: c_int, from: *const GstAudioChannelPosition, to: *const GstAudioChannelPosition) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_buffer_truncate(buffer: *mut gst::GstBuffer, bpf: c_int, trim: size_t, samples: size_t) -> *mut gst::GstBuffer;
//=========================================================================
// GstAudioChannelMixer
//=========================================================================
......@@ -1344,6 +1402,8 @@ extern "C" {
pub fn gst_audio_converter_get_in_frames(convert: *mut GstAudioConverter, out_frames: size_t) -> size_t;
pub fn gst_audio_converter_get_max_latency(convert: *mut GstAudioConverter) -> size_t;
pub fn gst_audio_converter_get_out_frames(convert: *mut GstAudioConverter, in_frames: size_t) -> size_t;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_converter_is_passthrough(convert: *mut GstAudioConverter) -> gboolean;
pub fn gst_audio_converter_reset(convert: *mut GstAudioConverter);
pub fn gst_audio_converter_samples(convert: *mut GstAudioConverter, flags: GstAudioConverterFlags, in_: *mut gpointer, in_frames: size_t, out: *mut gpointer, out_frames: size_t) -> gboolean;
pub fn gst_audio_converter_supports_inplace(convert: *mut GstAudioConverter) -> gboolean;
......@@ -1374,6 +1434,11 @@ extern "C" {
pub fn gst_audio_info_set_format(info: *mut GstAudioInfo, format: GstAudioFormat, rate: c_int, channels: c_int, position: *const [GstAudioChannelPosition; 64]);
pub fn gst_audio_info_to_caps(info: *const GstAudioInfo) -> *mut gst::GstCaps;
//=========================================================================
// GstAudioMeta
//=========================================================================
pub fn gst_audio_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
// GstAudioQuantize
//=========================================================================
......@@ -1433,6 +1498,7 @@ extern "C" {
// GstAudioAggregator
//=========================================================================
pub fn gst_audio_aggregator_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_aggregator_set_sink_caps(aagg: *mut GstAudioAggregator, pad: *mut GstAudioAggregatorPad, caps: *mut gst::GstCaps);
//=========================================================================
......@@ -1497,6 +1563,8 @@ extern "C" {
pub fn gst_audio_decoder_get_type() -> GType;
pub fn gst_audio_decoder_allocate_output_buffer(dec: *mut GstAudioDecoder, size: size_t) -> *mut gst::GstBuffer;
pub fn gst_audio_decoder_finish_frame(dec: *mut GstAudioDecoder, buf: *mut gst::GstBuffer, frames: c_int) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_decoder_finish_subframe(dec: *mut GstAudioDecoder, buf: *mut gst::GstBuffer) -> gst::GstFlowReturn;
pub fn gst_audio_decoder_get_allocator(dec: *mut GstAudioDecoder, allocator: *mut *mut gst::GstAllocator, params: *mut gst::GstAllocationParams);
pub fn gst_audio_decoder_get_audio_info(dec: *mut GstAudioDecoder) -> *mut GstAudioInfo;
pub fn gst_audio_decoder_get_delay(dec: *mut GstAudioDecoder) -> c_int;
......@@ -1522,6 +1590,8 @@ extern "C" {
pub fn gst_audio_decoder_set_max_errors(dec: *mut GstAudioDecoder, num: c_int);
pub fn gst_audio_decoder_set_min_latency(dec: *mut GstAudioDecoder, num: gst::GstClockTime);
pub fn gst_audio_decoder_set_needs_format(dec: *mut GstAudioDecoder, enabled: gboolean);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_decoder_set_output_caps(dec: *mut GstAudioDecoder, caps: *mut gst::GstCaps) -> gboolean;
pub fn gst_audio_decoder_set_output_format(dec: *mut GstAudioDecoder, info: *const GstAudioInfo) -> gboolean;
pub fn gst_audio_decoder_set_plc(dec: *mut GstAudioDecoder, enabled: gboolean);
pub fn gst_audio_decoder_set_plc_aware(dec: *mut GstAudioDecoder, plc: gboolean);
......@@ -1632,12 +1702,11 @@ extern "C" {
//=========================================================================
// Other functions
//=========================================================================
pub fn gst_audio_buffer_clip(buffer: *mut gst::GstBuffer, segment: *const gst::GstSegment, rate: c_int, bpf: c_int) -> *mut gst::GstBuffer;
pub fn gst_audio_buffer_reorder_channels(buffer: *mut gst::GstBuffer, format: GstAudioFormat, channels: c_int, from: *const GstAudioChannelPosition, to: *const GstAudioChannelPosition) -> gboolean;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_audio_channel_get_fallback_mask(channels: c_int) -> u64;
pub fn gst_audio_channel_positions_from_mask(channels: c_int, channel_mask: u64, position: *mut GstAudioChannelPosition) -> gboolean;
pub fn gst_audio_channel_positions_to_mask(position: *const GstAudioChannelPosition, channels: c_int, force_order: gboolean, channel_mask: *mut u64) -> gboolean;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_channel_positions_to_string(position: *const GstAudioChannelPosition, channels: c_int) -> *mut c_char;
pub fn gst_audio_channel_positions_to_valid_order(position: *mut GstAudioChannelPosition, channels: c_int) -> gboolean;
pub fn gst_audio_check_valid_channel_positions(position: *const GstAudioChannelPosition, channels: c_int, force_order: gboolean) -> gboolean;
......@@ -1647,10 +1716,13 @@ extern "C" {
pub fn gst_audio_get_channel_reorder_map(channels: c_int, from: *const GstAudioChannelPosition, to: *const GstAudioChannelPosition, reorder_map: *mut c_int) -> gboolean;
pub fn gst_audio_iec61937_frame_size(spec: *const GstAudioRingBufferSpec) -> c_uint;
pub fn gst_audio_iec61937_payload(src: *const u8, src_n: c_uint, dst: *mut u8, dst_n: c_uint, spec: *const GstAudioRingBufferSpec, endianness: c_int) -> gboolean;
pub fn gst_audio_meta_api_get_type() -> GType;
pub fn gst_audio_reorder_channels(data: gpointer, size: size_t, format: GstAudioFormat, channels: c_int, from: *const GstAudioChannelPosition, to: *const GstAudioChannelPosition) -> gboolean;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_buffer_add_audio_clipping_meta(buffer: *mut gst::GstBuffer, format: gst::GstFormat, start: u64, end: u64) -> *mut GstAudioClippingMeta;
pub fn gst_buffer_add_audio_downmix_meta(buffer: *mut gst::GstBuffer, from_position: *const GstAudioChannelPosition, from_channels: c_int, to_position: *const GstAudioChannelPosition, to_channels: c_int, matrix: *mut *const c_float) -> *mut GstAudioDownmixMeta;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_buffer_add_audio_meta(buffer: *mut gst::GstBuffer, info: *const GstAudioInfo, samples: size_t, offsets: *mut size_t) -> *mut GstAudioMeta;
pub fn gst_buffer_get_audio_downmix_meta_for_channels(buffer: *mut gst::GstBuffer, to_position: *const GstAudioChannelPosition, to_channels: c_int) -> *mut GstAudioDownmixMeta;
}
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......@@ -251,6 +251,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
("GstAudioBaseSrc", Layout {size: size_of::<GstAudioBaseSrc>(), alignment: align_of::<GstAudioBaseSrc>()}),
("GstAudioBaseSrcClass", Layout {size: size_of::<GstAudioBaseSrcClass>(), alignment: align_of::<GstAudioBaseSrcClass>()}),
("GstAudioBaseSrcSlaveMethod", Layout {size: size_of::<GstAudioBaseSrcSlaveMethod>(), alignment: align_of::<GstAudioBaseSrcSlaveMethod>()}),
("GstAudioBuffer", Layout {size: size_of::<GstAudioBuffer>(), alignment: align_of::<GstAudioBuffer>()}),
("GstAudioCdSrc", Layout {size: size_of::<GstAudioCdSrc>(), alignment: align_of::<GstAudioCdSrc>()}),
("GstAudioCdSrcClass", Layout {size: size_of::<GstAudioCdSrcClass>(), alignment: align_of::<GstAudioCdSrcClass>()}),
("GstAudioCdSrcMode", Layout {size: size_of::<GstAudioCdSrcMode>(), alignment: align_of::<GstAudioCdSrcMode>()}),
......@@ -275,6 +276,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
("GstAudioFormatInfo", Layout {size: size_of::<GstAudioFormatInfo>(), alignment: align_of::<GstAudioFormatInfo>()}),
("GstAudioInfo", Layout {size: size_of::<GstAudioInfo>(), alignment: align_of::<GstAudioInfo>()}),
("GstAudioLayout", Layout {size: size_of::<GstAudioLayout>(), alignment: align_of::<GstAudioLayout>()}),
("GstAudioMeta", Layout {size: size_of::<GstAudioMeta>(), alignment: align_of::<GstAudioMeta>()}),
("GstAudioNoiseShapingMethod", Layout {size: size_of::<GstAudioNoiseShapingMethod>(), alignment: align_of::<GstAudioNoiseShapingMethod>()}),
("GstAudioPackFlags", Layout {size: size_of::<GstAudioPackFlags>(), alignment: align_of::<GstAudioPackFlags>()}),
("GstAudioQuantizeFlags", Layout {size: size_of::<GstAudioQuantizeFlags>(), alignment: align_of::<GstAudioQuantizeFlags>()}),
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// 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 @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......
......@@ -29,6 +29,7 @@ v1_12_1 = ["v1_12"]
v1_14 = ["v1_12_1"]
v1_14_1 = ["v1_14"]
v1_14_3 = ["v1_14_1"]
v1_16 = ["v1_14_3"]
dox = []
[lib]
......
......@@ -20,7 +20,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_3") {
let version = if cfg!(feature = "v1_16") {
"1.16"
} else if cfg!(feature = "v1_14_3") {
"1.14.3"
} else if cfg!(feature = "v1_14_1") {
"1.14.1"
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......@@ -469,6 +469,26 @@ impl ::std::fmt::Debug for GstBitReader {
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstBitWriter {
pub data: *mut u8,
pub bit_size: c_uint,
pub bit_capacity: c_uint,
pub auto_grow: gboolean,
pub owned: gboolean,
pub _gst_reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstBitWriter {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstBitWriter @ {:?}", self as *const _))
.field("data", &self.data)
.field("bit_size", &self.bit_size)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstByteReader {
......@@ -739,8 +759,6 @@ impl ::std::fmt::Debug for GstAggregatorPad {
f.debug_struct(&format!("GstAggregatorPad @ {:?}", self as *const _))
.field("parent", &self.parent)
.field("segment", &self.segment)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
......@@ -973,6 +991,54 @@ extern "C" {
pub fn gst_bit_reader_skip_to_byte(reader: *mut GstBitReader) -> gboolean;
pub fn gst_bit_reader_new(data: *const u8, size: c_uint) -> *mut GstBitReader;
//=========================================================================
// GstBitWriter
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_align_bytes(bitwriter: *mut GstBitWriter, trailing_bit: u8) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_free(bitwriter: *mut GstBitWriter);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_free_and_get_buffer(bitwriter: *mut GstBitWriter) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_free_and_get_data(bitwriter: *mut GstBitWriter) -> *mut u8;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_get_data(bitwriter: *const GstBitWriter) -> *mut u8;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_get_remaining(bitwriter: *const GstBitWriter) -> c_uint;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_get_size(bitwriter: *const GstBitWriter) -> c_uint;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_init(bitwriter: *mut GstBitWriter);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_init_with_data(bitwriter: *mut GstBitWriter, data: *mut u8, size: c_uint, initialized: gboolean);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_init_with_size(bitwriter: *mut GstBitWriter, size: u32, fixed: gboolean);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_put_bits_uint16(bitwriter: *mut GstBitWriter, value: u16, nbits: c_uint) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_put_bits_uint32(bitwriter: *mut GstBitWriter, value: u32, nbits: c_uint) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_put_bits_uint64(bitwriter: *mut GstBitWriter, value: u64, nbits: c_uint) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_put_bits_uint8(bitwriter: *mut GstBitWriter, value: u8, nbits: c_uint) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_put_bytes(bitwriter: *mut GstBitWriter, data: *const u8, nbytes: c_uint) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_reset(bitwriter: *mut GstBitWriter);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_reset_and_get_buffer(bitwriter: *mut GstBitWriter) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_reset_and_get_data(bitwriter: *mut GstBitWriter) -> *mut u8;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_set_pos(bitwriter: *mut GstBitWriter, pos: c_uint) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_new() -> *mut GstBitWriter;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_new_with_data(data: *mut u8, size: c_uint, initialized: gboolean) -> *mut GstBitWriter;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_bit_writer_new_with_size(size: u32, fixed: gboolean) -> *mut GstBitWriter;
//=========================================================================
// GstByteReader
//=========================================================================
......@@ -1121,6 +1187,8 @@ extern "C" {
//=========================================================================
// GstQueueArray
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_queue_array_clear(array: *mut GstQueueArray);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_drop_element(array: *mut GstQueueArray, idx: c_uint) -> gpointer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
......@@ -1137,6 +1205,10 @@ extern "C" {
pub fn gst_queue_array_peek_head(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_queue_array_peek_head_struct(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_queue_array_peek_nth(array: *mut GstQueueArray, idx: c_uint) -> gpointer;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_queue_array_peek_nth_struct(array: *mut GstQueueArray, idx: c_uint) -> gpointer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_queue_array_peek_tail(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
......@@ -1152,6 +1224,8 @@ extern "C" {
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_push_tail(array: *mut GstQueueArray, data: gpointer);
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_queue_array_set_clear_func(array: *mut GstQueueArray, clear_func: glib::GDestroyNotify);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_new(initial_size: c_uint) -> *mut GstQueueArray;
#[cfg(any(feature = "v1_6", feature = "dox"))]
......@@ -1209,22 +1283,34 @@ extern "C" {
// GstAggregator
//=========================================================================
pub fn gst_aggregator_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_finish_buffer(aggregator: *mut GstAggregator, buffer: *mut gst::GstBuffer) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_get_allocator(self_: *mut GstAggregator, allocator: *mut *mut gst::GstAllocator, params: *mut gst::GstAllocationParams);
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_get_buffer_pool(self_: *mut GstAggregator) -> *mut gst::GstBufferPool;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_get_latency(self_: *mut GstAggregator) -> gst::GstClockTime;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_set_latency(self_: *mut GstAggregator, min_latency: gst::GstClockTime, max_latency: gst::GstClockTime);
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_set_src_caps(self_: *mut GstAggregator, caps: *mut gst::GstCaps);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_aggregator_simple_get_next_time(self_: *mut GstAggregator) -> gst::GstClockTime;
//=========================================================================
// GstAggregatorPad
//=========================================================================
pub fn gst_aggregator_pad_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
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;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_pad_is_eos(pad: *mut GstAggregatorPad) -> gboolean;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_pad_peek_buffer(pad: *mut GstAggregatorPad) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_pad_pop_buffer(pad: *mut GstAggregatorPad) -> *mut gst::GstBuffer;
//=========================================================================
......@@ -1265,6 +1351,8 @@ extern "C" {
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_base_sink_get_max_bitrate(sink: *mut GstBaseSink) -> u64;
pub fn gst_base_sink_get_max_lateness(sink: *mut GstBaseSink) -> i64;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_base_sink_get_processing_deadline(sink: *mut GstBaseSink) -> gst::GstClockTime;
pub fn gst_base_sink_get_render_delay(sink: *mut GstBaseSink) -> gst::GstClockTime;
pub fn gst_base_sink_get_sync(sink: *mut GstBaseSink) -> gboolean;
pub fn gst_base_sink_get_throttle_time(sink: *mut GstBaseSink) -> u64;
......@@ -1281,6 +1369,8 @@ extern "C" {
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_base_sink_set_max_bitrate(sink: *mut GstBaseSink, max_bitrate: u64);
pub fn gst_base_sink_set_max_lateness(sink: *mut GstBaseSink, max_lateness: i64);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_base_sink_set_processing_deadline(sink: *mut GstBaseSink, processing_deadline: gst::GstClockTime);
pub fn gst_base_sink_set_qos_enabled(sink: *mut GstBaseSink, enabled: gboolean);
pub fn gst_base_sink_set_render_delay(sink: *mut GstBaseSink, delay: gst::GstClockTime);
pub fn gst_base_sink_set_sync(sink: *mut GstBaseSink, sync: gboolean);
......@@ -1408,7 +1498,11 @@ 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;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_type_find_helper_for_buffer_with_extension(obj: *mut gst::GstObject, buf: *mut gst::GstBuffer, extension: *const c_char, 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;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_type_find_helper_for_data_with_extension(obj: *mut gst::GstObject, data: *const u8, size: size_t, extension: *const c_char, 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;
#[cfg(any(feature = "v1_14_3", feature = "dox"))]
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......@@ -254,6 +254,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
("GstBaseTransform", Layout {size: size_of::<GstBaseTransform>(), alignment: align_of::<GstBaseTransform>()}),
("GstBaseTransformClass", Layout {size: size_of::<GstBaseTransformClass>(), alignment: align_of::<GstBaseTransformClass>()}),
("GstBitReader", Layout {size: size_of::<GstBitReader>(), alignment: align_of::<GstBitReader>()}),
("GstBitWriter", Layout {size: size_of::<GstBitWriter>(), alignment: align_of::<GstBitWriter>()}),
("GstByteReader", Layout {size: size_of::<GstByteReader>(), alignment: align_of::<GstByteReader>()}),
("GstByteWriter", Layout {size: size_of::<GstByteWriter>(), alignment: align_of::<GstByteWriter>()}),
("GstCollectData", Layout {size: size_of::<GstCollectData>(), alignment: align_of::<GstCollectData>()}),
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// 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 @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......
......@@ -19,14 +19,14 @@ tempdir = "0.3"
[features]
dox = []
v1_10 = ["v1_8"]
v1_12 = ["v1_10"]
v1_14 = ["v1_12"]
#v1_16 = ["v1_14"]
v1_2 = []
v1_4 = ["v1_2"]
v1_6 = ["v1_4"]
v1_8 = ["v1_6"]
v1_10 = ["v1_8"]
v1_12 = ["v1_10"]
v1_14 = ["v1_12"]
v1_16 = ["v1_14"]
[lib]
name = "gstreamer_check_sys"
......
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 58cffd4)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
......@@ -314,6 +314,8 @@ extern "C" {
pub fn gst_test_clock_process_next_clock_id(test_clock: *mut GstTestClock) -> gst::GstClockID;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_set_time(test_clock: *mut GstTestClock, new_time: gst::GstClockTime);
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_test_clock_timed_wait_for_multiple_pending_ids(test_clock: *mut GstTestClock, count: c_uint, timeout_ms: c_uint, pending_list: *mut *mut glib::GList) -> gboolean;