Regenerate everything with latest GIR

This commit is contained in:
Víctor Manuel Jáquez Leal 2018-10-30 20:15:27 +01:00 committed by Sebastian Dröge
parent c6654b8e17
commit 302075dd1c
64 changed files with 239 additions and 176 deletions

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -1322,7 +1322,7 @@ extern "C" {
//=========================================================================
pub fn gst_audio_channel_mixer_free(mix: *mut GstAudioChannelMixer);
pub fn gst_audio_channel_mixer_is_passthrough(mix: *mut GstAudioChannelMixer) -> gboolean;
pub fn gst_audio_channel_mixer_samples(mix: *mut GstAudioChannelMixer, in_: gpointer, out: gpointer, samples: c_int);
pub fn gst_audio_channel_mixer_samples(mix: *mut GstAudioChannelMixer, in_: *const gpointer, out: *mut gpointer, samples: c_int);
pub fn gst_audio_channel_mixer_new(flags: GstAudioChannelMixerFlags, format: GstAudioFormat, in_channels: c_int, in_position: *mut GstAudioChannelPosition, out_channels: c_int, out_position: *mut GstAudioChannelPosition) -> *mut GstAudioChannelMixer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_channel_mixer_new_with_matrix(flags: GstAudioChannelMixerFlags, format: GstAudioFormat, in_channels: c_int, out_channels: c_int, matrix: *mut *mut c_float) -> *mut GstAudioChannelMixer;
@ -1345,7 +1345,7 @@ extern "C" {
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;
pub fn gst_audio_converter_reset(convert: *mut GstAudioConverter);
pub fn gst_audio_converter_samples(convert: *mut GstAudioConverter, flags: GstAudioConverterFlags, in_: gpointer, in_frames: size_t, out: gpointer, out_frames: size_t) -> gboolean;
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;
pub fn gst_audio_converter_update_config(convert: *mut GstAudioConverter, in_rate: c_int, out_rate: c_int, config: *mut gst::GstStructure) -> gboolean;
@ -1371,7 +1371,7 @@ extern "C" {
pub fn gst_audio_info_init(info: *mut GstAudioInfo);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_audio_info_is_equal(info: *const GstAudioInfo, other: *const GstAudioInfo) -> gboolean;
pub fn gst_audio_info_set_format(info: *mut GstAudioInfo, format: GstAudioFormat, rate: c_int, channels: c_int, position: *mut [GstAudioChannelPosition; 64]);
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;
//=========================================================================
@ -1379,7 +1379,7 @@ extern "C" {
//=========================================================================
pub fn gst_audio_quantize_free(quant: *mut GstAudioQuantize);
pub fn gst_audio_quantize_reset(quant: *mut GstAudioQuantize);
pub fn gst_audio_quantize_samples(quant: *mut GstAudioQuantize, in_: gpointer, out: gpointer, samples: c_uint);
pub fn gst_audio_quantize_samples(quant: *mut GstAudioQuantize, in_: *const gpointer, out: *mut gpointer, samples: c_uint);
pub fn gst_audio_quantize_new(dither: GstAudioDitherMethod, ns: GstAudioNoiseShapingMethod, flags: GstAudioQuantizeFlags, format: GstAudioFormat, channels: c_uint, quantizer: c_uint) -> *mut GstAudioQuantize;
//=========================================================================
@ -1390,7 +1390,7 @@ extern "C" {
pub fn gst_audio_resampler_get_in_frames(resampler: *mut GstAudioResampler, out_frames: size_t) -> size_t;
pub fn gst_audio_resampler_get_max_latency(resampler: *mut GstAudioResampler) -> size_t;
pub fn gst_audio_resampler_get_out_frames(resampler: *mut GstAudioResampler, in_frames: size_t) -> size_t;
pub fn gst_audio_resampler_resample(resampler: *mut GstAudioResampler, in_: gpointer, in_frames: size_t, out: gpointer, out_frames: size_t);
pub fn gst_audio_resampler_resample(resampler: *mut GstAudioResampler, in_: *mut gpointer, in_frames: size_t, out: *mut gpointer, out_frames: size_t);
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
pub fn gst_audio_resampler_update(resampler: *mut GstAudioResampler, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
@ -1602,7 +1602,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: *mut GstAudioChannelPosition);
pub fn gst_audio_ring_buffer_set_channel_positions(buf: *mut GstAudioRingBuffer, position: *const 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);
@ -1633,24 +1633,24 @@ 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: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition) -> gboolean;
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: *mut GstAudioChannelPosition, channels: c_int, force_order: gboolean, channel_mask: *mut u64) -> gboolean;
pub fn gst_audio_channel_positions_to_string(position: *mut GstAudioChannelPosition, channels: c_int) -> *mut c_char;
pub fn gst_audio_channel_positions_to_mask(position: *const GstAudioChannelPosition, channels: c_int, force_order: gboolean, channel_mask: *mut u64) -> gboolean;
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: *mut GstAudioChannelPosition, channels: c_int, force_order: gboolean) -> gboolean;
pub fn gst_audio_check_valid_channel_positions(position: *const GstAudioChannelPosition, channels: c_int, force_order: gboolean) -> gboolean;
pub fn gst_audio_clipping_meta_api_get_type() -> GType;
pub fn gst_audio_downmix_meta_api_get_type() -> GType;
pub fn gst_audio_format_info_get_type() -> GType;
pub fn gst_audio_get_channel_reorder_map(channels: c_int, from: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition, reorder_map: *mut c_int) -> gboolean;
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: *mut u8, src_n: c_uint, dst: *mut u8, dst_n: c_uint, spec: *const GstAudioRingBufferSpec, endianness: c_int) -> gboolean;
pub fn gst_audio_reorder_channels(data: gpointer, size: size_t, format: GstAudioFormat, channels: c_int, from: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition) -> gboolean;
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_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: *mut GstAudioChannelPosition, from_channels: c_int, to_position: *mut GstAudioChannelPosition, to_channels: c_int, matrix: *mut *const c_float) -> *mut GstAudioDownmixMeta;
pub fn gst_buffer_get_audio_downmix_meta_for_channels(buffer: *mut gst::GstBuffer, to_position: *mut GstAudioChannelPosition, to_channels: c_int) -> *mut GstAudioDownmixMeta;
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;
pub fn gst_buffer_get_audio_downmix_meta_for_channels(buffer: *mut gst::GstBuffer, to_position: *const GstAudioChannelPosition, to_channels: c_int) -> *mut GstAudioDownmixMeta;
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -32,6 +32,7 @@ v1_12 = ["v1_10"]
v1_12_1 = ["v1_12"]
v1_14 = ["v1_12_1"]
v1_14_1 = ["v1_14"]
v1_14_3 = ["v1_14_1"]
dox = []
[lib]

View file

@ -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_1") {
let version = if cfg!(feature = "v1_14_3") {
"1.14.3"
} else if cfg!(feature = "v1_14_1") {
"1.14.1"
} else if cfg!(feature = "v1_14") {
"1.14"

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -451,7 +451,7 @@ impl ::std::fmt::Debug for GstBaseTransformPrivate {
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstBitReader {
pub data: *mut u8,
pub data: *const u8,
pub size: c_uint,
pub byte: c_uint,
pub bit: c_uint,
@ -472,7 +472,7 @@ impl ::std::fmt::Debug for GstBitReader {
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstByteReader {
pub data: *mut u8,
pub data: *const u8,
pub size: c_uint,
pub byte: c_uint,
pub _gst_reserved: [gpointer; 4],
@ -963,7 +963,7 @@ extern "C" {
pub fn gst_bit_reader_get_pos(reader: *const GstBitReader) -> c_uint;
pub fn gst_bit_reader_get_remaining(reader: *const GstBitReader) -> c_uint;
pub fn gst_bit_reader_get_size(reader: *const GstBitReader) -> c_uint;
pub fn gst_bit_reader_init(reader: *mut GstBitReader, data: *mut u8, size: c_uint);
pub fn gst_bit_reader_init(reader: *mut GstBitReader, data: *const u8, size: c_uint);
pub fn gst_bit_reader_peek_bits_uint16(reader: *const GstBitReader, val: *mut u16, nbits: c_uint) -> gboolean;
pub fn gst_bit_reader_peek_bits_uint32(reader: *const GstBitReader, val: *mut u32, nbits: c_uint) -> gboolean;
pub fn gst_bit_reader_peek_bits_uint64(reader: *const GstBitReader, val: *mut u64, nbits: c_uint) -> gboolean;
@ -971,7 +971,7 @@ extern "C" {
pub fn gst_bit_reader_set_pos(reader: *mut GstBitReader, pos: c_uint) -> gboolean;
pub fn gst_bit_reader_skip(reader: *mut GstBitReader, nbits: c_uint) -> gboolean;
pub fn gst_bit_reader_skip_to_byte(reader: *mut GstBitReader) -> gboolean;
pub fn gst_bit_reader_new(data: *mut u8, size: c_uint) -> *mut GstBitReader;
pub fn gst_bit_reader_new(data: *const u8, size: c_uint) -> *mut GstBitReader;
//=========================================================================
// GstByteReader
@ -981,7 +981,7 @@ extern "C" {
pub fn gst_byte_reader_dup_string_utf32(reader: *mut GstByteReader, str: *mut *mut u32) -> gboolean;
pub fn gst_byte_reader_dup_string_utf8(reader: *mut GstByteReader, str: *mut *mut c_char) -> gboolean;
pub fn gst_byte_reader_free(reader: *mut GstByteReader);
pub fn gst_byte_reader_get_data(reader: *mut GstByteReader, size: c_uint, val: *mut *mut u8) -> gboolean;
pub fn gst_byte_reader_get_data(reader: *mut GstByteReader, size: c_uint, val: *mut *const u8) -> gboolean;
pub fn gst_byte_reader_get_float32_be(reader: *mut GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_get_float32_le(reader: *mut GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_get_float64_be(reader: *mut GstByteReader, val: *mut c_double) -> gboolean;
@ -998,7 +998,7 @@ extern "C" {
pub fn gst_byte_reader_get_pos(reader: *const GstByteReader) -> c_uint;
pub fn gst_byte_reader_get_remaining(reader: *const GstByteReader) -> c_uint;
pub fn gst_byte_reader_get_size(reader: *const GstByteReader) -> c_uint;
pub fn gst_byte_reader_get_string_utf8(reader: *mut GstByteReader, str: *mut *mut c_char) -> gboolean;
pub fn gst_byte_reader_get_string_utf8(reader: *mut GstByteReader, str: *mut *const c_char) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_byte_reader_get_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
pub fn gst_byte_reader_get_uint16_be(reader: *mut GstByteReader, val: *mut u16) -> gboolean;
@ -1010,11 +1010,11 @@ extern "C" {
pub fn gst_byte_reader_get_uint64_be(reader: *mut GstByteReader, val: *mut u64) -> gboolean;
pub fn gst_byte_reader_get_uint64_le(reader: *mut GstByteReader, val: *mut u64) -> gboolean;
pub fn gst_byte_reader_get_uint8(reader: *mut GstByteReader, val: *mut u8) -> gboolean;
pub fn gst_byte_reader_init(reader: *mut GstByteReader, data: *mut u8, size: c_uint);
pub fn gst_byte_reader_init(reader: *mut GstByteReader, data: *const u8, size: c_uint);
pub fn gst_byte_reader_masked_scan_uint32(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_byte_reader_masked_scan_uint32_peek(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint, value: *mut u32) -> c_uint;
pub fn gst_byte_reader_peek_data(reader: *const GstByteReader, size: c_uint, val: *mut *mut u8) -> gboolean;
pub fn gst_byte_reader_peek_data(reader: *const GstByteReader, size: c_uint, val: *mut *const u8) -> gboolean;
pub fn gst_byte_reader_peek_float32_be(reader: *const GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_peek_float32_le(reader: *const GstByteReader, val: *mut c_float) -> gboolean;
pub fn gst_byte_reader_peek_float64_be(reader: *const GstByteReader, val: *mut c_double) -> gboolean;
@ -1028,7 +1028,7 @@ extern "C" {
pub fn gst_byte_reader_peek_int64_be(reader: *const GstByteReader, val: *mut i64) -> gboolean;
pub fn gst_byte_reader_peek_int64_le(reader: *const GstByteReader, val: *mut i64) -> gboolean;
pub fn gst_byte_reader_peek_int8(reader: *const GstByteReader, val: *mut i8) -> gboolean;
pub fn gst_byte_reader_peek_string_utf8(reader: *const GstByteReader, str: *mut *mut c_char) -> gboolean;
pub fn gst_byte_reader_peek_string_utf8(reader: *const GstByteReader, str: *mut *const c_char) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_byte_reader_peek_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
pub fn gst_byte_reader_peek_uint16_be(reader: *const GstByteReader, val: *mut u16) -> gboolean;
@ -1045,7 +1045,7 @@ extern "C" {
pub fn gst_byte_reader_skip_string_utf16(reader: *mut GstByteReader) -> gboolean;
pub fn gst_byte_reader_skip_string_utf32(reader: *mut GstByteReader) -> gboolean;
pub fn gst_byte_reader_skip_string_utf8(reader: *mut GstByteReader) -> gboolean;
pub fn gst_byte_reader_new(data: *mut u8, size: c_uint) -> *mut GstByteReader;
pub fn gst_byte_reader_new(data: *const u8, size: c_uint) -> *mut GstByteReader;
//=========================================================================
// GstByteWriter
@ -1060,7 +1060,7 @@ extern "C" {
pub fn gst_byte_writer_init_with_data(writer: *mut GstByteWriter, data: *mut u8, size: c_uint, initialized: gboolean);
pub fn gst_byte_writer_init_with_size(writer: *mut GstByteWriter, size: c_uint, fixed: gboolean);
pub fn gst_byte_writer_put_buffer(writer: *mut GstByteWriter, buffer: *mut gst::GstBuffer, offset: size_t, size: ssize_t) -> gboolean;
pub fn gst_byte_writer_put_data(writer: *mut GstByteWriter, data: *mut u8, size: c_uint) -> gboolean;
pub fn gst_byte_writer_put_data(writer: *mut GstByteWriter, data: *const u8, size: c_uint) -> gboolean;
pub fn gst_byte_writer_put_float32_be(writer: *mut GstByteWriter, val: c_float) -> gboolean;
pub fn gst_byte_writer_put_float32_le(writer: *mut GstByteWriter, val: c_float) -> gboolean;
pub fn gst_byte_writer_put_float64_be(writer: *mut GstByteWriter, val: c_double) -> gboolean;
@ -1074,8 +1074,8 @@ extern "C" {
pub fn gst_byte_writer_put_int64_be(writer: *mut GstByteWriter, val: i64) -> gboolean;
pub fn gst_byte_writer_put_int64_le(writer: *mut GstByteWriter, val: i64) -> gboolean;
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_utf16(writer: *mut GstByteWriter, data: *const u16) -> gboolean;
pub fn gst_byte_writer_put_string_utf32(writer: *mut GstByteWriter, data: *const u32) -> 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;
@ -1408,8 +1408,10 @@ 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: *mut u8, size: size_t, 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_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"))]
pub fn gst_type_find_helper_get_range_full(obj: *mut gst::GstObject, parent: *mut gst::GstObject, func: GstTypeFindHelperGetRangeFunction, size: u64, extension: *const c_char, caps: *mut *mut gst::GstCaps, prob: *mut gst::GstTypeFindProbability) -> gst::GstFlowReturn;
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -16,7 +16,9 @@ fn main() {
fn find() -> Result<(), Error> {
let package_name = "gstreamer-gl-1.0";
let shared_libs = ["gstgl-1.0"];
let version = "1.14";
let version = {
"1.14"
};
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
for lib_ in shared_libs.iter() {

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -128,6 +128,7 @@ pub const GST_GL_CONTEXT_TYPE_EGL: *const c_char = b"gst.gl.context.EGL\0" as *c
pub const GST_GL_CONTEXT_TYPE_GLX: *const c_char = b"gst.gl.context.GLX\0" as *const u8 as *const c_char;
pub const GST_GL_CONTEXT_TYPE_WGL: *const c_char = b"gst.gl.context.WGL\0" as *const u8 as *const c_char;
pub const GST_GL_DISPLAY_CONTEXT_TYPE: *const c_char = b"gst.gl.GLDisplay\0" as *const u8 as *const c_char;
#[cfg(any(feature = "egl", feature = "dox"))]
pub const GST_GL_DISPLAY_EGL_NAME: *const c_char = b"gst.gl.display.egl\0" as *const u8 as *const c_char;
pub const GST_GL_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLMemory\0" as *const u8 as *const c_char;
pub const GST_GL_MEMORY_PBO_ALLOCATOR_NAME: *const c_char = b"GLMemoryPBO\0" as *const u8 as *const c_char;
@ -519,6 +520,24 @@ impl ::std::fmt::Debug for GstGLDisplayClass {
}
}
#[cfg(any(feature = "egl", feature = "dox"))]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstGLDisplayEGLClass {
pub object_class: GstGLDisplayClass,
pub _padding: [gpointer; 4],
}
#[cfg(any(feature = "egl", feature = "dox"))]
impl ::std::fmt::Debug for GstGLDisplayEGLClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstGLDisplayEGLClass @ {:?}", self as *const _))
.field("object_class", &self.object_class)
.field("_padding", &self._padding)
.finish()
}
}
#[repr(C)]
pub struct GstGLDisplayPrivate(c_void);
@ -1115,6 +1134,25 @@ impl ::std::fmt::Debug for GstGLDisplay {
}
}
#[cfg(any(feature = "egl", feature = "dox"))]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstGLDisplayEGL {
pub parent: GstGLDisplay,
pub display: gpointer,
pub foreign_display: gboolean,
pub _padding: [gpointer; 4],
}
#[cfg(any(feature = "egl", feature = "dox"))]
impl ::std::fmt::Debug for GstGLDisplayEGL {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstGLDisplayEGL @ {:?}", self as *const _))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstGLFilter {
@ -1577,6 +1615,18 @@ extern "C" {
pub fn gst_gl_display_get_handle_type(display: *mut GstGLDisplay) -> GstGLDisplayType;
pub fn gst_gl_display_remove_window(display: *mut GstGLDisplay, window: *mut GstGLWindow) -> gboolean;
//=========================================================================
// GstGLDisplayEGL
//=========================================================================
#[cfg(any(feature = "egl", feature = "dox"))]
pub fn gst_gl_display_egl_get_type() -> GType;
#[cfg(any(feature = "egl", feature = "dox"))]
pub fn gst_gl_display_egl_new() -> *mut GstGLDisplayEGL;
#[cfg(any(feature = "egl", feature = "dox"))]
pub fn gst_gl_display_egl_new_with_egl_display(display: gpointer) -> *mut GstGLDisplayEGL;
#[cfg(any(feature = "egl", feature = "dox"))]
pub fn gst_gl_display_egl_get_from_native(type_: GstGLDisplayType, display: uintptr_t) -> gpointer;
//=========================================================================
// GstGLFilter
//=========================================================================
@ -1633,13 +1683,13 @@ extern "C" {
pub fn gst_glsl_stage_new_default_fragment(context: *mut GstGLContext) -> *mut GstGLSLStage;
pub fn gst_glsl_stage_new_default_vertex(context: *mut GstGLContext) -> *mut GstGLSLStage;
pub fn gst_glsl_stage_new_with_string(context: *mut GstGLContext, type_: c_uint, version: GstGLSLVersion, profile: GstGLSLProfile, str: *const c_char) -> *mut GstGLSLStage;
pub fn gst_glsl_stage_new_with_strings(context: *mut GstGLContext, type_: c_uint, version: GstGLSLVersion, profile: GstGLSLProfile, n_strings: c_int, str: *mut *mut c_char) -> *mut GstGLSLStage;
pub fn gst_glsl_stage_new_with_strings(context: *mut GstGLContext, type_: c_uint, version: GstGLSLVersion, profile: GstGLSLProfile, n_strings: c_int, str: *mut *const c_char) -> *mut GstGLSLStage;
pub fn gst_glsl_stage_compile(stage: *mut GstGLSLStage, error: *mut *mut glib::GError) -> gboolean;
pub fn gst_glsl_stage_get_handle(stage: *mut GstGLSLStage) -> c_uint;
pub fn gst_glsl_stage_get_profile(stage: *mut GstGLSLStage) -> GstGLSLProfile;
pub fn gst_glsl_stage_get_shader_type(stage: *mut GstGLSLStage) -> c_uint;
pub fn gst_glsl_stage_get_version(stage: *mut GstGLSLStage) -> GstGLSLVersion;
pub fn gst_glsl_stage_set_strings(stage: *mut GstGLSLStage, version: GstGLSLVersion, profile: GstGLSLProfile, n_strings: c_int, str: *mut *mut c_char) -> gboolean;
pub fn gst_glsl_stage_set_strings(stage: *mut GstGLSLStage, version: GstGLSLVersion, profile: GstGLSLProfile, n_strings: c_int, str: *mut *const c_char) -> gboolean;
//=========================================================================
// GstGLShader
@ -1663,21 +1713,21 @@ extern "C" {
pub fn gst_gl_shader_release(shader: *mut GstGLShader);
pub fn gst_gl_shader_release_unlocked(shader: *mut GstGLShader);
pub fn gst_gl_shader_set_uniform_1f(shader: *mut GstGLShader, name: *const c_char, value: c_float);
pub fn gst_gl_shader_set_uniform_1fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_float);
pub fn gst_gl_shader_set_uniform_1fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_float);
pub fn gst_gl_shader_set_uniform_1i(shader: *mut GstGLShader, name: *const c_char, value: c_int);
pub fn gst_gl_shader_set_uniform_1iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_int);
pub fn gst_gl_shader_set_uniform_1iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_int);
pub fn gst_gl_shader_set_uniform_2f(shader: *mut GstGLShader, name: *const c_char, v0: c_float, v1: c_float);
pub fn gst_gl_shader_set_uniform_2fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_float);
pub fn gst_gl_shader_set_uniform_2fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_float);
pub fn gst_gl_shader_set_uniform_2i(shader: *mut GstGLShader, name: *const c_char, v0: c_int, v1: c_int);
pub fn gst_gl_shader_set_uniform_2iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_int);
pub fn gst_gl_shader_set_uniform_2iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_int);
pub fn gst_gl_shader_set_uniform_3f(shader: *mut GstGLShader, name: *const c_char, v0: c_float, v1: c_float, v2: c_float);
pub fn gst_gl_shader_set_uniform_3fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_float);
pub fn gst_gl_shader_set_uniform_3fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_float);
pub fn gst_gl_shader_set_uniform_3i(shader: *mut GstGLShader, name: *const c_char, v0: c_int, v1: c_int, v2: c_int);
pub fn gst_gl_shader_set_uniform_3iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_int);
pub fn gst_gl_shader_set_uniform_3iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_int);
pub fn gst_gl_shader_set_uniform_4f(shader: *mut GstGLShader, name: *const c_char, v0: c_float, v1: c_float, v2: c_float, v3: c_float);
pub fn gst_gl_shader_set_uniform_4fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_float);
pub fn gst_gl_shader_set_uniform_4fv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_float);
pub fn gst_gl_shader_set_uniform_4i(shader: *mut GstGLShader, name: *const c_char, v0: c_int, v1: c_int, v2: c_int, v3: c_int);
pub fn gst_gl_shader_set_uniform_4iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *mut c_int);
pub fn gst_gl_shader_set_uniform_4iv(shader: *mut GstGLShader, name: *const c_char, count: c_uint, value: *const c_int);
pub fn gst_gl_shader_set_uniform_matrix_2fv(shader: *mut GstGLShader, name: *const c_char, count: c_int, transpose: gboolean, value: *const c_float);
pub fn gst_gl_shader_set_uniform_matrix_2x3fv(shader: *mut GstGLShader, name: *const c_char, count: c_int, transpose: gboolean, value: *const c_float);
pub fn gst_gl_shader_set_uniform_matrix_2x4fv(shader: *mut GstGLShader, name: *const c_char, count: c_int, transpose: gboolean, value: *const c_float);

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -254,6 +254,10 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
("GstGLContextError", Layout {size: size_of::<GstGLContextError>(), alignment: align_of::<GstGLContextError>()}),
("GstGLDisplay", Layout {size: size_of::<GstGLDisplay>(), alignment: align_of::<GstGLDisplay>()}),
("GstGLDisplayClass", Layout {size: size_of::<GstGLDisplayClass>(), alignment: align_of::<GstGLDisplayClass>()}),
#[cfg(any(feature = "egl", feature = "dox"))]
("GstGLDisplayEGL", Layout {size: size_of::<GstGLDisplayEGL>(), alignment: align_of::<GstGLDisplayEGL>()}),
#[cfg(any(feature = "egl", feature = "dox"))]
("GstGLDisplayEGLClass", Layout {size: size_of::<GstGLDisplayEGLClass>(), alignment: align_of::<GstGLDisplayEGLClass>()}),
("GstGLDisplayType", Layout {size: size_of::<GstGLDisplayType>(), alignment: align_of::<GstGLDisplayType>()}),
("GstGLFilter", Layout {size: size_of::<GstGLFilter>(), alignment: align_of::<GstGLFilter>()}),
("GstGLFilterClass", Layout {size: size_of::<GstGLFilterClass>(), alignment: align_of::<GstGLFilterClass>()}),

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -251,7 +251,7 @@ extern "C" {
// GstNetTimePacket
//=========================================================================
pub fn gst_net_time_packet_get_type() -> GType;
pub fn gst_net_time_packet_new(buffer: *mut u8) -> *mut GstNetTimePacket;
pub fn gst_net_time_packet_new(buffer: *const u8) -> *mut GstNetTimePacket;
pub fn gst_net_time_packet_copy(packet: *const GstNetTimePacket) -> *mut GstNetTimePacket;
pub fn gst_net_time_packet_free(packet: *mut GstNetTimePacket);
pub fn gst_net_time_packet_send(packet: *const GstNetTimePacket, socket: *mut gio::GSocket, dest_address: *mut gio::GSocketAddress, error: *mut *mut glib::GError) -> gboolean;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -431,7 +431,7 @@ extern "C" {
pub fn gst_discoverer_info_get_live(info: *const GstDiscovererInfo) -> gboolean;
pub fn gst_discoverer_info_get_misc(info: *const GstDiscovererInfo) -> *const gst::GstStructure;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_discoverer_info_get_missing_elements_installer_details(info: *const GstDiscovererInfo) -> *mut *mut c_char;
pub fn gst_discoverer_info_get_missing_elements_installer_details(info: *const GstDiscovererInfo) -> *mut *const c_char;
pub fn gst_discoverer_info_get_result(info: *const GstDiscovererInfo) -> GstDiscovererResult;
pub fn gst_discoverer_info_get_seekable(info: *const GstDiscovererInfo) -> gboolean;
pub fn gst_discoverer_info_get_stream_info(info: *mut GstDiscovererInfo) -> *mut GstDiscovererStreamInfo;
@ -555,41 +555,41 @@ extern "C" {
//=========================================================================
// Other functions
//=========================================================================
pub fn gst_codec_utils_aac_caps_set_level_and_profile(caps: *mut gst::GstCaps, audio_config: *mut u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_aac_get_channels(audio_config: *mut u8, len: c_uint) -> c_uint;
pub fn gst_codec_utils_aac_caps_set_level_and_profile(caps: *mut gst::GstCaps, audio_config: *const u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_aac_get_channels(audio_config: *const u8, len: c_uint) -> c_uint;
pub fn gst_codec_utils_aac_get_index_from_sample_rate(rate: c_uint) -> c_int;
pub fn gst_codec_utils_aac_get_level(audio_config: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_aac_get_profile(audio_config: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_aac_get_sample_rate(audio_config: *mut u8, len: c_uint) -> c_uint;
pub fn gst_codec_utils_aac_get_level(audio_config: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_aac_get_profile(audio_config: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_aac_get_sample_rate(audio_config: *const u8, len: c_uint) -> c_uint;
pub fn gst_codec_utils_aac_get_sample_rate_from_index(sr_idx: c_uint) -> c_uint;
pub fn gst_codec_utils_h264_caps_set_level_and_profile(caps: *mut gst::GstCaps, sps: *mut u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_h264_get_level(sps: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h264_caps_set_level_and_profile(caps: *mut gst::GstCaps, sps: *const u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_h264_get_level(sps: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h264_get_level_idc(level: *const c_char) -> u8;
pub fn gst_codec_utils_h264_get_profile(sps: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h265_caps_set_level_tier_and_profile(caps: *mut gst::GstCaps, profile_tier_level: *mut u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_h265_get_level(profile_tier_level: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h264_get_profile(sps: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h265_caps_set_level_tier_and_profile(caps: *mut gst::GstCaps, profile_tier_level: *const u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_h265_get_level(profile_tier_level: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h265_get_level_idc(level: *const c_char) -> u8;
pub fn gst_codec_utils_h265_get_profile(profile_tier_level: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h265_get_tier(profile_tier_level: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_mpeg4video_caps_set_level_and_profile(caps: *mut gst::GstCaps, vis_obj_seq: *mut u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_mpeg4video_get_level(vis_obj_seq: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_mpeg4video_get_profile(vis_obj_seq: *mut u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h265_get_profile(profile_tier_level: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_h265_get_tier(profile_tier_level: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_mpeg4video_caps_set_level_and_profile(caps: *mut gst::GstCaps, vis_obj_seq: *const u8, len: c_uint) -> gboolean;
pub fn gst_codec_utils_mpeg4video_get_level(vis_obj_seq: *const u8, len: c_uint) -> *const c_char;
pub fn gst_codec_utils_mpeg4video_get_profile(vis_obj_seq: *const u8, len: c_uint) -> *const c_char;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_codec_utils_opus_create_caps(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *mut u8) -> *mut gst::GstCaps;
pub fn gst_codec_utils_opus_create_caps(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8) -> *mut gst::GstCaps;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_codec_utils_opus_create_caps_from_header(header: *mut gst::GstBuffer, comments: *mut gst::GstBuffer) -> *mut gst::GstCaps;
#[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;
pub fn gst_codec_utils_opus_create_header(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const 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; 256]) -> 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: *mut [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; 256], 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: *mut [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;
pub fn gst_install_plugins_async(details: *const *const c_char, ctx: *mut GstInstallPluginsContext, func: GstInstallPluginsResultFunc, user_data: gpointer) -> GstInstallPluginsReturn;
pub fn gst_install_plugins_installation_in_progress() -> gboolean;
pub fn gst_install_plugins_supported() -> gboolean;
pub fn gst_install_plugins_sync(details: *mut *mut c_char, ctx: *mut GstInstallPluginsContext) -> GstInstallPluginsReturn;
pub fn gst_install_plugins_sync(details: *const *const c_char, ctx: *mut GstInstallPluginsContext) -> GstInstallPluginsReturn;
pub fn gst_is_missing_plugin_message(msg: *mut gst::GstMessage) -> gboolean;
pub fn gst_missing_decoder_installer_detail_new(decode_caps: *const gst::GstCaps) -> *mut c_char;
pub fn gst_missing_decoder_message_new(element: *mut gst::GstElement, decode_caps: *const gst::GstCaps) -> *mut gst::GstMessage;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -810,7 +810,7 @@ extern "C" {
pub fn gst_rtsp_message_remove_header(msg: *mut GstRTSPMessage, field: GstRTSPHeaderField, indx: c_int) -> GstRTSPResult;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_message_remove_header_by_name(msg: *mut GstRTSPMessage, header: *const c_char, index: c_int) -> GstRTSPResult;
pub fn gst_rtsp_message_set_body(msg: *mut GstRTSPMessage, data: *mut u8, size: c_uint) -> GstRTSPResult;
pub fn gst_rtsp_message_set_body(msg: *mut GstRTSPMessage, data: *const u8, size: c_uint) -> GstRTSPResult;
pub fn gst_rtsp_message_steal_body(msg: *mut GstRTSPMessage, data: *mut *mut u8, size: *mut c_uint) -> GstRTSPResult;
pub fn gst_rtsp_message_take_body(msg: *mut GstRTSPMessage, data: *mut u8, size: c_uint) -> GstRTSPResult;
pub fn gst_rtsp_message_take_header(msg: *mut GstRTSPMessage, field: GstRTSPHeaderField, value: *mut c_char) -> GstRTSPResult;
@ -868,7 +868,7 @@ extern "C" {
pub fn gst_rtsp_watch_unref(watch: *mut GstRTSPWatch);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_rtsp_watch_wait_backlog(watch: *mut GstRTSPWatch, timeout: *mut glib::GTimeVal) -> GstRTSPResult;
pub fn gst_rtsp_watch_write_data(watch: *mut GstRTSPWatch, data: *mut u8, size: c_uint, id: *mut c_uint) -> GstRTSPResult;
pub fn gst_rtsp_watch_write_data(watch: *mut GstRTSPWatch, data: *const u8, size: c_uint, id: *mut c_uint) -> GstRTSPResult;
pub fn gst_rtsp_watch_new(conn: *mut GstRTSPConnection, funcs: *mut GstRTSPWatchFuncs, user_data: gpointer, notify: glib::GDestroyNotify) -> *mut GstRTSPWatch;
//=========================================================================

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -562,13 +562,13 @@ extern "C" {
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_payload(msg: *mut GstMIKEYMessage, payload: *mut GstMIKEYPayload) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_pke(msg: *mut GstMIKEYMessage, C: GstMIKEYCacheType, data_len: u16, data: *mut u8) -> gboolean;
pub fn gst_mikey_message_add_pke(msg: *mut GstMIKEYMessage, C: GstMIKEYCacheType, data_len: u16, data: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_rand(msg: *mut GstMIKEYMessage, len: u8, rand: *mut u8) -> gboolean;
pub fn gst_mikey_message_add_rand(msg: *mut GstMIKEYMessage, len: u8, rand: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_rand_len(msg: *mut GstMIKEYMessage, len: u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_t(msg: *mut GstMIKEYMessage, type_: GstMIKEYTSType, ts_value: *mut u8) -> gboolean;
pub fn gst_mikey_message_add_t(msg: *mut GstMIKEYMessage, type_: GstMIKEYTSType, ts_value: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_t_now_ntp_utc(msg: *mut GstMIKEYMessage) -> gboolean;
#[cfg(any(feature = "v1_8", feature = "dox"))]
@ -619,19 +619,19 @@ extern "C" {
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_kemac_set(payload: *mut GstMIKEYPayload, enc_alg: GstMIKEYEncAlg, mac_alg: GstMIKEYMacAlg) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_key_data_set_interval(payload: *mut GstMIKEYPayload, vf_len: u8, vf_data: *mut u8, vt_len: u8, vt_data: *mut u8) -> gboolean;
pub fn gst_mikey_payload_key_data_set_interval(payload: *mut GstMIKEYPayload, vf_len: u8, vf_data: *const u8, vt_len: u8, vt_data: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_key_data_set_key(payload: *mut GstMIKEYPayload, key_type: GstMIKEYKeyDataType, key_len: u16, key_data: *mut u8) -> gboolean;
pub fn gst_mikey_payload_key_data_set_key(payload: *mut GstMIKEYPayload, key_type: GstMIKEYKeyDataType, key_len: u16, key_data: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_key_data_set_salt(payload: *mut GstMIKEYPayload, salt_len: u16, salt_data: *mut u8) -> gboolean;
pub fn gst_mikey_payload_key_data_set_salt(payload: *mut GstMIKEYPayload, salt_len: u16, salt_data: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_key_data_set_spi(payload: *mut GstMIKEYPayload, spi_len: u8, spi_data: *mut u8) -> gboolean;
pub fn gst_mikey_payload_key_data_set_spi(payload: *mut GstMIKEYPayload, spi_len: u8, spi_data: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_pke_set(payload: *mut GstMIKEYPayload, C: GstMIKEYCacheType, data_len: u16, data: *mut u8) -> gboolean;
pub fn gst_mikey_payload_pke_set(payload: *mut GstMIKEYPayload, C: GstMIKEYCacheType, data_len: u16, data: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_rand_set(payload: *mut GstMIKEYPayload, len: u8, rand: *mut u8) -> gboolean;
pub fn gst_mikey_payload_rand_set(payload: *mut GstMIKEYPayload, len: u8, rand: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_sp_add_param(payload: *mut GstMIKEYPayload, type_: u8, len: u8, val: *mut u8) -> gboolean;
pub fn gst_mikey_payload_sp_add_param(payload: *mut GstMIKEYPayload, type_: u8, len: u8, val: *const u8) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_sp_get_n_params(payload: *const GstMIKEYPayload) -> c_uint;
#[cfg(any(feature = "v1_4", feature = "dox"))]
@ -641,7 +641,7 @@ extern "C" {
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_sp_set(payload: *mut GstMIKEYPayload, policy: c_uint, proto: GstMIKEYSecProto) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_t_set(payload: *mut GstMIKEYPayload, type_: GstMIKEYTSType, ts_value: *mut u8) -> gboolean;
pub fn gst_mikey_payload_t_set(payload: *mut GstMIKEYPayload, type_: GstMIKEYTSType, ts_value: *const u8) -> gboolean;
//=========================================================================
// GstSDPAttribute
@ -744,7 +744,7 @@ extern "C" {
pub fn gst_sdp_message_add_email(msg: *mut GstSDPMessage, email: *const c_char) -> GstSDPResult;
pub fn gst_sdp_message_add_media(msg: *mut GstSDPMessage, media: *mut GstSDPMedia) -> GstSDPResult;
pub fn gst_sdp_message_add_phone(msg: *mut GstSDPMessage, phone: *const c_char) -> GstSDPResult;
pub fn gst_sdp_message_add_time(msg: *mut GstSDPMessage, start: *const c_char, stop: *const c_char, repeat: *mut *mut c_char) -> GstSDPResult;
pub fn gst_sdp_message_add_time(msg: *mut GstSDPMessage, start: *const c_char, stop: *const c_char, repeat: *mut *const c_char) -> GstSDPResult;
pub fn gst_sdp_message_add_zone(msg: *mut GstSDPMessage, adj_time: *const c_char, typed_time: *const c_char) -> GstSDPResult;
pub fn gst_sdp_message_as_text(msg: *const GstSDPMessage) -> *mut c_char;
pub fn gst_sdp_message_attributes_len(msg: *const GstSDPMessage) -> c_uint;
@ -825,7 +825,7 @@ extern "C" {
pub fn gst_sdp_message_zones_len(msg: *const GstSDPMessage) -> c_uint;
pub fn gst_sdp_message_as_uri(scheme: *const c_char, msg: *const GstSDPMessage) -> *mut c_char;
pub fn gst_sdp_message_new(msg: *mut *mut GstSDPMessage) -> GstSDPResult;
pub fn gst_sdp_message_parse_buffer(data: *mut u8, size: c_uint, msg: *mut GstSDPMessage) -> GstSDPResult;
pub fn gst_sdp_message_parse_buffer(data: *const u8, size: c_uint, msg: *mut GstSDPMessage) -> GstSDPResult;
pub fn gst_sdp_message_parse_uri(uri: *const c_char, msg: *mut GstSDPMessage) -> GstSDPResult;
//=========================================================================
@ -834,7 +834,7 @@ extern "C" {
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_time_clear(t: *mut GstSDPTime) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_time_set(t: *mut GstSDPTime, start: *const c_char, stop: *const c_char, repeat: *mut *mut c_char) -> GstSDPResult;
pub fn gst_sdp_time_set(t: *mut GstSDPTime, start: *const c_char, stop: *const c_char, repeat: *mut *const c_char) -> GstSDPResult;
//=========================================================================
// GstSDPZone

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -1197,7 +1197,7 @@ impl ::std::fmt::Debug for GstBufferPoolAcquireParams {
#[derive(Copy, Clone)]
pub struct GstBufferPoolClass {
pub object_class: GstObjectClass,
pub get_options: Option<unsafe extern "C" fn(*mut GstBufferPool) -> *mut *mut c_char>,
pub get_options: Option<unsafe extern "C" fn(*mut GstBufferPool) -> *mut *const c_char>,
pub set_config: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstStructure) -> gboolean>,
pub start: Option<unsafe extern "C" fn(*mut GstBufferPool) -> gboolean>,
pub stop: Option<unsafe extern "C" fn(*mut GstBufferPool) -> gboolean>,
@ -4609,9 +4609,9 @@ extern "C" {
// GstMeta
//=========================================================================
#[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_get_tags(api: GType) -> *const *const 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 *mut c_char) -> GType;
pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *const 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;
@ -4791,7 +4791,7 @@ extern "C" {
pub fn gst_query_set_convert(query: *mut GstQuery, src_format: GstFormat, src_value: i64, dest_format: GstFormat, dest_value: i64);
pub fn gst_query_set_duration(query: *mut GstQuery, format: GstFormat, duration: i64);
pub fn gst_query_set_formats(query: *mut GstQuery, n_formats: c_int, ...);
pub fn gst_query_set_formatsv(query: *mut GstQuery, n_formats: c_int, formats: *mut GstFormat);
pub fn gst_query_set_formatsv(query: *mut GstQuery, n_formats: c_int, formats: *const GstFormat);
pub fn gst_query_set_latency(query: *mut GstQuery, live: gboolean, min_latency: GstClockTime, max_latency: GstClockTime);
pub fn gst_query_set_nth_allocation_param(query: *mut GstQuery, index: c_uint, allocator: *mut GstAllocator, params: *const GstAllocationParams);
pub fn gst_query_set_nth_allocation_pool(query: *mut GstQuery, index: c_uint, pool: *mut GstBufferPool, size: c_uint, min_buffers: c_uint, max_buffers: c_uint);
@ -5046,7 +5046,7 @@ extern "C" {
// GstTypeFind
//=========================================================================
pub fn gst_type_find_get_length(find: *mut GstTypeFind) -> u64;
pub fn gst_type_find_peek(find: *mut GstTypeFind, offset: i64, size: c_uint) -> *mut u8;
pub fn gst_type_find_peek(find: *mut GstTypeFind, offset: i64, size: c_uint) -> *const u8;
pub fn gst_type_find_suggest(find: *mut GstTypeFind, probability: c_uint, caps: *mut GstCaps);
pub fn gst_type_find_suggest_simple(find: *mut GstTypeFind, probability: c_uint, media_type: *const c_char, fieldname: *const c_char, ...);
pub fn gst_type_find_register(plugin: *mut GstPlugin, name: *const c_char, rank: c_uint, func: GstTypeFindFunction, extensions: *const c_char, possible_caps: *mut GstCaps, data: gpointer, data_notify: glib::GDestroyNotify) -> gboolean;
@ -5201,7 +5201,7 @@ extern "C" {
pub fn gst_buffer_pool_config_validate_params(config: *mut GstStructure, caps: *mut GstCaps, size: c_uint, min_buffers: c_uint, max_buffers: c_uint) -> gboolean;
pub fn gst_buffer_pool_acquire_buffer(pool: *mut GstBufferPool, buffer: *mut *mut GstBuffer, params: *mut GstBufferPoolAcquireParams) -> GstFlowReturn;
pub fn gst_buffer_pool_get_config(pool: *mut GstBufferPool) -> *mut GstStructure;
pub fn gst_buffer_pool_get_options(pool: *mut GstBufferPool) -> *mut *mut c_char;
pub fn gst_buffer_pool_get_options(pool: *mut GstBufferPool) -> *mut *const c_char;
pub fn gst_buffer_pool_has_option(pool: *mut GstBufferPool, option: *const c_char) -> gboolean;
pub fn gst_buffer_pool_is_active(pool: *mut GstBufferPool) -> gboolean;
pub fn gst_buffer_pool_release_buffer(pool: *mut GstBufferPool, buffer: *mut GstBuffer);
@ -5516,7 +5516,7 @@ extern "C" {
pub fn gst_element_factory_get_metadata_keys(factory: *mut GstElementFactory) -> *mut *mut c_char;
pub fn gst_element_factory_get_num_pad_templates(factory: *mut GstElementFactory) -> c_uint;
pub fn gst_element_factory_get_static_pad_templates(factory: *mut GstElementFactory) -> *const glib::GList;
pub fn gst_element_factory_get_uri_protocols(factory: *mut GstElementFactory) -> *mut *mut c_char;
pub fn gst_element_factory_get_uri_protocols(factory: *mut GstElementFactory) -> *const *const c_char;
pub fn gst_element_factory_get_uri_type(factory: *mut GstElementFactory) -> GstURIType;
pub fn gst_element_factory_has_interface(factory: *mut GstElementFactory, interfacename: *const c_char) -> gboolean;
pub fn gst_element_factory_list_is_type(factory: *mut GstElementFactory, type_: GstElementFactoryListType) -> gboolean;
@ -5748,7 +5748,7 @@ extern "C" {
pub fn gst_plugin_load_file(filename: *const c_char, error: *mut *mut glib::GError) -> *mut GstPlugin;
pub fn gst_plugin_register_static(major_version: c_int, minor_version: c_int, name: *const c_char, description: *const c_char, init_func: GstPluginInitFunc, version: *const c_char, license: *const c_char, source: *const c_char, package: *const c_char, origin: *const c_char) -> gboolean;
pub fn gst_plugin_register_static_full(major_version: c_int, minor_version: c_int, name: *const c_char, description: *const c_char, init_full_func: GstPluginInitFullFunc, version: *const c_char, license: *const c_char, source: *const c_char, package: *const c_char, origin: *const c_char, user_data: gpointer) -> gboolean;
pub fn gst_plugin_add_dependency(plugin: *mut GstPlugin, env_vars: *mut *mut c_char, paths: *mut *mut c_char, names: *mut *mut c_char, flags: GstPluginDependencyFlags);
pub fn gst_plugin_add_dependency(plugin: *mut GstPlugin, env_vars: *mut *const c_char, paths: *mut *const c_char, names: *mut *const c_char, flags: GstPluginDependencyFlags);
pub fn gst_plugin_add_dependency_simple(plugin: *mut GstPlugin, env_vars: *const c_char, paths: *const c_char, names: *const c_char, flags: GstPluginDependencyFlags);
pub fn gst_plugin_get_cache_data(plugin: *mut GstPlugin) -> *const GstStructure;
pub fn gst_plugin_get_description(plugin: *mut GstPlugin) -> *const c_char;
@ -5916,7 +5916,7 @@ extern "C" {
pub fn gst_type_find_factory_get_list() -> *mut glib::GList;
pub fn gst_type_find_factory_call_function(factory: *mut GstTypeFindFactory, find: *mut GstTypeFind);
pub fn gst_type_find_factory_get_caps(factory: *mut GstTypeFindFactory) -> *mut GstCaps;
pub fn gst_type_find_factory_get_extensions(factory: *mut GstTypeFindFactory) -> *mut *mut c_char;
pub fn gst_type_find_factory_get_extensions(factory: *mut GstTypeFindFactory) -> *const *const c_char;
pub fn gst_type_find_factory_has_function(factory: *mut GstTypeFindFactory) -> gboolean;
//=========================================================================
@ -6057,7 +6057,7 @@ extern "C" {
pub fn gst_filename_to_uri(filename: *const c_char, error: *mut *mut glib::GError) -> *mut c_char;
pub fn gst_flow_get_name(ret: GstFlowReturn) -> *const c_char;
pub fn gst_flow_to_quark(ret: GstFlowReturn) -> glib::GQuark;
pub fn gst_formats_contains(formats: *mut GstFormat, format: GstFormat) -> gboolean;
pub fn gst_formats_contains(formats: *const GstFormat, format: GstFormat) -> gboolean;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_get_main_executable_path() -> *const c_char;
#[cfg(any(feature = "v1_8", feature = "dox"))]
@ -6066,8 +6066,8 @@ extern "C" {
//pub fn gst_info_strdup_vprintf(format: *const c_char, args: /*Unimplemented*/va_list) -> *mut c_char;
//#[cfg(any(feature = "v1_8", feature = "dox"))]
//pub fn gst_info_vasprintf(result: *mut *mut c_char, format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
pub fn gst_init(argc: *mut c_int, argv: *mut *mut c_char);
pub fn gst_init_check(argc: *mut c_int, argv: *mut *mut c_char, error: *mut *mut glib::GError) -> gboolean;
pub fn gst_init(argc: *mut c_int, argv: *mut *mut *mut c_char);
pub fn gst_init_check(argc: *mut c_int, argv: *mut *mut *mut c_char, error: *mut *mut glib::GError) -> gboolean;
pub fn gst_init_get_option_group() -> *mut glib::GOptionGroup;
pub fn gst_is_caps_features(obj: gconstpointer) -> gboolean;
pub fn gst_is_initialized() -> gboolean;
@ -6080,8 +6080,8 @@ extern "C" {
pub fn gst_parse_bin_from_description_full(bin_description: *const c_char, ghost_unlinked_pads: gboolean, context: *mut GstParseContext, flags: GstParseFlags, error: *mut *mut glib::GError) -> *mut GstElement;
pub fn gst_parse_launch(pipeline_description: *const c_char, error: *mut *mut glib::GError) -> *mut GstElement;
pub fn gst_parse_launch_full(pipeline_description: *const c_char, context: *mut GstParseContext, flags: GstParseFlags, error: *mut *mut glib::GError) -> *mut GstElement;
pub fn gst_parse_launchv(argv: *mut *mut c_char, error: *mut *mut glib::GError) -> *mut GstElement;
pub fn gst_parse_launchv_full(argv: *mut *mut c_char, context: *mut GstParseContext, flags: GstParseFlags, error: *mut *mut glib::GError) -> *mut GstElement;
pub fn gst_parse_launchv(argv: *mut *const c_char, error: *mut *mut glib::GError) -> *mut GstElement;
pub fn gst_parse_launchv_full(argv: *mut *const c_char, context: *mut GstParseContext, flags: GstParseFlags, error: *mut *mut glib::GError) -> *mut GstElement;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_print(format: *const c_char, ...);
#[cfg(any(feature = "v1_12", feature = "dox"))]
@ -6091,10 +6091,10 @@ 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 *mut c_char) -> *mut *mut c_char;
pub fn gst_protection_filter_systems_by_available_decryptors(system_identifiers: *mut *const 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;
pub fn gst_protection_select_system(system_identifiers: *mut *const c_char) -> *const c_char;
pub fn gst_reference_timestamp_meta_api_get_type() -> GType;
pub fn gst_segtrap_is_enabled() -> gboolean;
pub fn gst_segtrap_set_enabled(enabled: gboolean);
@ -6116,7 +6116,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: *mut u8, size: c_uint);
pub fn gst_util_dump_mem(mem: *const 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;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -266,7 +266,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: *mut c_char, size: c_int, env_vars: *mut *mut c_char) -> *mut c_char;
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_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;
@ -285,19 +285,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: *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_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_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: *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_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_xmp_buffer(buffer: *mut gst::GstBuffer) -> *mut gst::GstTagList;
pub fn gst_tag_list_new_from_id3v1(data: *mut [u8; 128]) -> *mut gst::GstTagList;
pub fn gst_tag_list_new_from_id3v1(data: *const [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: *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_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_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;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ d3116ca+)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
@ -507,9 +507,9 @@ impl ::std::fmt::Debug for GstVideoInfo_ABI {
// Callbacks
pub type GstVideoAffineTransformationGetMatrix = Option<unsafe extern "C" fn(*mut GstVideoAffineTransformationMeta, *mut c_float) -> gboolean>;
pub type GstVideoConvertSampleCallback = Option<unsafe extern "C" fn(*mut gst::GstSample, *mut glib::GError, gpointer)>;
pub type GstVideoFormatPack = Option<unsafe extern "C" fn(*const GstVideoFormatInfo, GstVideoPackFlags, gpointer, c_int, gpointer, c_int, GstVideoChromaSite, c_int, c_int)>;
pub type GstVideoFormatUnpack = Option<unsafe extern "C" fn(*const GstVideoFormatInfo, GstVideoPackFlags, gpointer, gpointer, c_int, c_int, c_int, c_int)>;
pub type GstVideoGLTextureUpload = Option<unsafe extern "C" fn(*mut GstVideoGLTextureUploadMeta, c_uint) -> gboolean>;
pub type GstVideoFormatPack = Option<unsafe extern "C" fn(*const GstVideoFormatInfo, GstVideoPackFlags, gpointer, c_int, *mut gpointer, *const c_int, GstVideoChromaSite, c_int, c_int)>;
pub type GstVideoFormatUnpack = Option<unsafe extern "C" fn(*const GstVideoFormatInfo, GstVideoPackFlags, gpointer, *const gpointer, *const c_int, c_int, c_int, c_int)>;
pub type GstVideoGLTextureUpload = Option<unsafe extern "C" fn(*mut GstVideoGLTextureUploadMeta, *mut c_uint) -> gboolean>;
// Records
#[repr(C)]
@ -1723,7 +1723,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; 4], scale: [c_int; 4]);
pub fn gst_video_color_range_offsets(range: GstVideoColorRange, info: *const GstVideoFormatInfo, offset: *mut [c_int; 4], scale: *mut [c_int; 4]);
//=========================================================================
// GstVideoDitherMethod
@ -1879,7 +1879,7 @@ extern "C" {
// GstVideoAffineTransformationMeta
//=========================================================================
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_video_affine_transformation_meta_apply_matrix(meta: *mut GstVideoAffineTransformationMeta, matrix: c_float);
pub fn gst_video_affine_transformation_meta_apply_matrix(meta: *mut GstVideoAffineTransformationMeta, matrix: *const c_float);
pub fn gst_video_affine_transformation_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
@ -1942,7 +1942,7 @@ extern "C" {
//=========================================================================
pub fn gst_video_dither_free(dither: *mut GstVideoDither);
pub fn gst_video_dither_line(dither: *mut GstVideoDither, line: gpointer, x: c_uint, y: c_uint, width: c_uint);
pub fn gst_video_dither_new(method: GstVideoDitherMethod, flags: GstVideoDitherFlags, format: GstVideoFormat, quantizer: c_uint, width: c_uint) -> *mut GstVideoDither;
pub fn gst_video_dither_new(method: GstVideoDitherMethod, flags: GstVideoDitherFlags, format: GstVideoFormat, quantizer: *mut c_uint, width: c_uint) -> *mut GstVideoDither;
//=========================================================================
// GstVideoFrame
@ -1956,7 +1956,7 @@ extern "C" {
//=========================================================================
// GstVideoGLTextureUploadMeta
//=========================================================================
pub fn gst_video_gl_texture_upload_meta_upload(meta: *mut GstVideoGLTextureUploadMeta, texture_id: c_uint) -> gboolean;
pub fn gst_video_gl_texture_upload_meta_upload(meta: *mut GstVideoGLTextureUploadMeta, texture_id: *mut c_uint) -> gboolean;
pub fn gst_video_gl_texture_upload_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
@ -2053,7 +2053,7 @@ extern "C" {
pub fn gst_video_scaler_get_coeff(scale: *mut GstVideoScaler, out_offset: c_uint, in_offset: *mut c_uint, n_taps: *mut c_uint) -> *const c_double;
pub fn gst_video_scaler_get_max_taps(scale: *mut GstVideoScaler) -> c_uint;
pub fn gst_video_scaler_horizontal(scale: *mut GstVideoScaler, format: GstVideoFormat, src: gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
pub fn gst_video_scaler_vertical(scale: *mut GstVideoScaler, format: GstVideoFormat, src_lines: gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
pub fn gst_video_scaler_vertical(scale: *mut GstVideoScaler, format: GstVideoFormat, src_lines: *mut gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_scaler_new(method: GstVideoResamplerMethod, flags: GstVideoScalerFlags, n_taps: c_uint, in_size: c_uint, out_size: c_uint, options: *mut gst::GstStructure) -> *mut GstVideoScaler;
@ -2298,7 +2298,7 @@ extern "C" {
//=========================================================================
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_buffer_add_video_affine_transformation_meta(buffer: *mut gst::GstBuffer) -> *mut GstVideoAffineTransformationMeta;
pub fn gst_buffer_add_video_gl_texture_upload_meta(buffer: *mut gst::GstBuffer, texture_orientation: GstVideoGLTextureOrientation, n_textures: c_uint, texture_type: GstVideoGLTextureType, upload: GstVideoGLTextureUpload, user_data: gpointer, user_data_copy: gobject::GBoxedCopyFunc, user_data_free: gobject::GBoxedFreeFunc) -> *mut GstVideoGLTextureUploadMeta;
pub fn gst_buffer_add_video_gl_texture_upload_meta(buffer: *mut gst::GstBuffer, texture_orientation: GstVideoGLTextureOrientation, n_textures: c_uint, texture_type: *mut GstVideoGLTextureType, upload: GstVideoGLTextureUpload, user_data: gpointer, user_data_copy: gobject::GBoxedCopyFunc, user_data_free: gobject::GBoxedFreeFunc) -> *mut GstVideoGLTextureUploadMeta;
pub fn gst_buffer_add_video_meta(buffer: *mut gst::GstBuffer, flags: GstVideoFrameFlags, format: GstVideoFormat, width: c_uint, height: c_uint) -> *mut GstVideoMeta;
pub fn gst_buffer_add_video_meta_full(buffer: *mut gst::GstBuffer, flags: GstVideoFrameFlags, format: GstVideoFormat, width: c_uint, height: c_uint, n_planes: c_uint, offset: *mut [size_t; 4], stride: *mut [c_int; 4]) -> *mut GstVideoMeta;
pub fn gst_buffer_add_video_overlay_composition_meta(buf: *mut gst::GstBuffer, comp: *mut GstVideoOverlayComposition) -> *mut GstVideoOverlayCompositionMeta;
@ -2319,7 +2319,7 @@ extern "C" {
pub fn gst_video_blend_scale_linear_RGBA(src: *mut GstVideoInfo, src_buffer: *mut gst::GstBuffer, dest_height: c_int, dest_width: c_int, dest: *mut GstVideoInfo, dest_buffer: *mut *mut gst::GstBuffer);
pub fn gst_video_calculate_display_ratio(dar_n: *mut c_uint, dar_d: *mut c_uint, video_width: c_uint, video_height: c_uint, video_par_n: c_uint, video_par_d: c_uint, display_par_n: c_uint, display_par_d: c_uint) -> gboolean;
pub fn gst_video_chroma_from_string(s: *const c_char) -> GstVideoChromaSite;
pub fn gst_video_chroma_resample(resample: *mut GstVideoChromaResample, lines: gpointer, width: c_int);
pub fn gst_video_chroma_resample(resample: *mut GstVideoChromaResample, lines: *mut gpointer, width: c_int);
pub fn gst_video_chroma_to_string(site: GstVideoChromaSite) -> *const c_char;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_color_transfer_decode(func: GstVideoTransferFunction, val: c_double) -> c_double;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -16,7 +16,9 @@ fn main() {
fn find() -> Result<(), Error> {
let package_name = "gstreamer-webrtc-1.0";
let shared_libs = ["gstwebrtc-1.0"];
let version = "1.14";
let version = {
"1.14"
};
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
for lib_ in shared_libs.iter() {

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

View file

@ -1,4 +1,4 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ f5fca82)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT