Regenerate

This commit is contained in:
Sebastian Dröge 2020-06-19 10:17:27 +03:00
parent 03c05f564f
commit b227a77c45
95 changed files with 349 additions and 799 deletions

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -225,7 +225,6 @@ extern "C" {
pub fn gst_app_src_get_type() -> GType;
pub fn gst_app_src_end_of_stream(appsrc: *mut GstAppSrc) -> gst::GstFlowReturn;
pub fn gst_app_src_get_caps(appsrc: *mut GstAppSrc) -> *mut gst::GstCaps;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_app_src_get_current_level_bytes(appsrc: *mut GstAppSrc) -> u64;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_app_src_get_duration(appsrc: *mut GstAppSrc) -> gst::GstClockTime;
@ -243,7 +242,6 @@ extern "C" {
appsrc: *mut GstAppSrc,
buffer_list: *mut gst::GstBufferList,
) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_app_src_push_sample(
appsrc: *mut GstAppSrc,
sample: *mut gst::GstSample,

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_app_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -1440,11 +1440,13 @@ extern "C" {
//=========================================================================
// GstAudioResamplerFilterInterpolation
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_filter_interpolation_get_type() -> GType;
//=========================================================================
// GstAudioResamplerFilterMode
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_filter_mode_get_type() -> GType;
//=========================================================================
@ -1495,6 +1497,7 @@ extern "C" {
//=========================================================================
// GstAudioResamplerFlags
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_flags_get_type() -> GType;
//=========================================================================
@ -1566,6 +1569,7 @@ extern "C" {
//=========================================================================
// GstAudioConverter
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_converter_get_type() -> GType;
pub fn gst_audio_converter_new(
flags: GstAudioConverterFlags,
@ -1608,6 +1612,7 @@ extern "C" {
out: *mut gpointer,
out_frames: size_t,
) -> gboolean;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_audio_converter_supports_inplace(convert: *mut GstAudioConverter) -> gboolean;
pub fn gst_audio_converter_update_config(
convert: *mut GstAudioConverter,
@ -1646,7 +1651,6 @@ extern "C" {
pub fn gst_audio_info_from_caps(info: *mut GstAudioInfo, caps: *const gst::GstCaps)
-> gboolean;
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,
@ -1663,6 +1667,7 @@ extern "C" {
//=========================================================================
// GstAudioMeta
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
@ -1688,17 +1693,21 @@ extern "C" {
//=========================================================================
// GstAudioResampler
//=========================================================================
#[cfg(any(feature = "v1_6", feature = "dox"))]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_free(resampler: *mut GstAudioResampler);
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_get_in_frames(
resampler: *mut GstAudioResampler,
out_frames: size_t,
) -> size_t;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_get_max_latency(resampler: *mut GstAudioResampler) -> size_t;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_get_out_frames(
resampler: *mut GstAudioResampler,
in_frames: size_t,
) -> size_t;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_resample(
resampler: *mut GstAudioResampler,
in_: *mut gpointer,
@ -1706,14 +1715,16 @@ extern "C" {
out: *mut gpointer,
out_frames: size_t,
);
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
#[cfg(any(feature = "v1_10", feature = "dox"))]
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"))]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_audio_resampler_new(
method: GstAudioResamplerMethod,
flags: GstAudioResamplerFlags,
@ -1723,7 +1734,6 @@ extern "C" {
out_rate: c_int,
options: *mut gst::GstStructure,
) -> *mut GstAudioResampler;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_audio_resampler_options_set_quality(
method: GstAudioResamplerMethod,
quality: c_uint,
@ -1735,6 +1745,7 @@ extern "C" {
//=========================================================================
// GstAudioStreamAlign
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_stream_align_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_stream_align_new(
@ -1793,6 +1804,7 @@ extern "C" {
//=========================================================================
// GstAudioAggregator
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_aggregator_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_aggregator_set_sink_caps(
@ -1804,11 +1816,13 @@ extern "C" {
//=========================================================================
// GstAudioAggregatorConvertPad
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_aggregator_convert_pad_get_type() -> GType;
//=========================================================================
// GstAudioAggregatorPad
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_audio_aggregator_pad_get_type() -> GType;
//=========================================================================
@ -1827,13 +1841,11 @@ extern "C" {
pub fn gst_audio_base_sink_get_slave_method(
sink: *mut GstAudioBaseSink,
) -> GstAudioBaseSinkSlaveMethod;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_audio_base_sink_report_device_failure(sink: *mut GstAudioBaseSink);
pub fn gst_audio_base_sink_set_alignment_threshold(
sink: *mut GstAudioBaseSink,
alignment_threshold: gst::GstClockTime,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_audio_base_sink_set_custom_slaving_callback(
sink: *mut GstAudioBaseSink,
callback: GstAudioBaseSinkCustomSlavingCallback,
@ -1947,7 +1959,6 @@ extern "C" {
mode: gst::GstTagMergeMode,
);
pub fn gst_audio_decoder_negotiate(dec: *mut GstAudioDecoder) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_audio_decoder_proxy_getcaps(
decoder: *mut GstAudioDecoder,
caps: *mut gst::GstCaps,
@ -1980,7 +1991,6 @@ extern "C" {
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);
pub fn gst_audio_decoder_set_tolerance(dec: *mut GstAudioDecoder, tolerance: gst::GstClockTime);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_audio_decoder_set_use_default_pad_acceptcaps(
decoder: *mut GstAudioDecoder,
use_: gboolean,
@ -2182,7 +2192,6 @@ extern "C" {
//=========================================================================
// Other functions
//=========================================================================
#[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,
@ -2235,6 +2244,7 @@ extern "C" {
len: c_uint,
layout: GstAudioLayout,
) -> *mut gst::GstCaps;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_audio_meta_api_get_type() -> GType;
pub fn gst_audio_reorder_channels(
data: gpointer,
@ -2244,7 +2254,6 @@ extern "C" {
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,

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_audio_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -19,7 +19,7 @@ tempfile = "3"
[features]
v1_0_1 = []
v1_2 = ["v1_0_1"]
v1_2 = []
v1_4 = ["v1_2"]
v1_6 = ["v1_4"]
v1_8 = ["v1_6"]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -55,10 +55,8 @@ fn find() -> Result<(), Error> {
"1.4"
} else if cfg!(feature = "v1_2") {
"1.2"
} else if cfg!(feature = "v1_0_1") {
"1.0.1"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -1207,6 +1207,7 @@ extern "C" {
//=========================================================================
// GstAggregatorStartTimeSelection
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_aggregator_start_time_selection_get_type() -> GType;
//=========================================================================
@ -1218,6 +1219,7 @@ extern "C" {
flags: GstBaseParseFrameFlags,
overhead: c_int,
) -> *mut GstBaseParseFrame;
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
pub fn gst_base_parse_frame_copy(frame: *mut GstBaseParseFrame) -> *mut GstBaseParseFrame;
pub fn gst_base_parse_frame_free(frame: *mut GstBaseParseFrame);
pub fn gst_base_parse_frame_init(frame: *mut GstBaseParseFrame);
@ -1411,7 +1413,6 @@ extern "C" {
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,
@ -1434,7 +1435,6 @@ extern "C" {
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,
@ -1477,7 +1477,6 @@ extern "C" {
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,
@ -1580,28 +1579,20 @@ extern "C" {
// GstFlowCombiner
//=========================================================================
pub fn gst_flow_combiner_get_type() -> GType;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_flow_combiner_new() -> *mut GstFlowCombiner;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_flow_combiner_add_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_flow_combiner_clear(combiner: *mut GstFlowCombiner);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_flow_combiner_free(combiner: *mut GstFlowCombiner);
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
pub fn gst_flow_combiner_ref(combiner: *mut GstFlowCombiner) -> *mut GstFlowCombiner;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_flow_combiner_remove_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_flow_combiner_reset(combiner: *mut GstFlowCombiner);
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
pub fn gst_flow_combiner_unref(combiner: *mut GstFlowCombiner);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_flow_combiner_update_flow(
combiner: *mut GstFlowCombiner,
fret: gst::GstFlowReturn,
) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_flow_combiner_update_pad_flow(
combiner: *mut GstFlowCombiner,
pad: *mut gst::GstPad,
@ -1613,29 +1604,21 @@ extern "C" {
//=========================================================================
#[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"))]
pub fn gst_queue_array_drop_struct(
array: *mut GstQueueArray,
idx: c_uint,
p_struct: gpointer,
) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_find(
array: *mut GstQueueArray,
func: glib::GCompareFunc,
data: gpointer,
) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_free(array: *mut GstQueueArray);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_get_length(array: *mut GstQueueArray) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_is_empty(array: *mut GstQueueArray) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
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;
@ -1645,15 +1628,12 @@ extern "C" {
pub fn gst_queue_array_peek_tail(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_queue_array_peek_tail_struct(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_queue_array_pop_head(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_queue_array_pop_head_struct(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_queue_array_pop_tail(array: *mut GstQueueArray) -> gpointer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_queue_array_pop_tail_struct(array: *mut GstQueueArray) -> gpointer;
#[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"))]
@ -1661,9 +1641,7 @@ extern "C" {
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"))]
pub fn gst_queue_array_new_for_struct(
struct_size: size_t,
initial_size: c_uint,
@ -1678,29 +1656,25 @@ extern "C" {
pub fn gst_adapter_available_fast(adapter: *mut GstAdapter) -> size_t;
pub fn gst_adapter_clear(adapter: *mut GstAdapter);
pub fn gst_adapter_copy(adapter: *mut GstAdapter, dest: gpointer, offset: size_t, size: size_t);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_adapter_copy_bytes(
adapter: *mut GstAdapter,
offset: size_t,
size: size_t,
) -> *mut glib::GBytes;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_adapter_distance_from_discont(adapter: *mut GstAdapter) -> u64;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_adapter_dts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
pub fn gst_adapter_flush(adapter: *mut GstAdapter, flush: size_t);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_adapter_get_buffer(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_adapter_get_buffer_fast(
adapter: *mut GstAdapter,
nbytes: size_t,
) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_adapter_get_buffer_list(
adapter: *mut GstAdapter,
nbytes: size_t,
) -> *mut gst::GstBufferList;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_adapter_get_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut glib::GList;
pub fn gst_adapter_map(adapter: *mut GstAdapter, size: size_t) -> gconstpointer;
pub fn gst_adapter_masked_scan_uint32(
@ -1721,7 +1695,6 @@ extern "C" {
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_adapter_offset_at_discont(adapter: *mut GstAdapter) -> u64;
pub fn gst_adapter_prev_dts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_adapter_prev_dts_at_offset(
adapter: *mut GstAdapter,
offset: size_t,
@ -1730,7 +1703,6 @@ extern "C" {
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_adapter_prev_offset(adapter: *mut GstAdapter, distance: *mut u64) -> u64;
pub fn gst_adapter_prev_pts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_adapter_prev_pts_at_offset(
adapter: *mut GstAdapter,
offset: size_t,
@ -1742,12 +1714,10 @@ extern "C" {
pub fn gst_adapter_take(adapter: *mut GstAdapter, nbytes: size_t) -> gpointer;
pub fn gst_adapter_take_buffer(adapter: *mut GstAdapter, nbytes: size_t)
-> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_adapter_take_buffer_fast(
adapter: *mut GstAdapter,
nbytes: size_t,
) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_adapter_take_buffer_list(
adapter: *mut GstAdapter,
nbytes: size_t,
@ -1758,6 +1728,7 @@ extern "C" {
//=========================================================================
// GstAggregator
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_aggregator_finish_buffer(
@ -1795,6 +1766,7 @@ extern "C" {
//=========================================================================
// GstAggregatorPad
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
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;
@ -1832,7 +1804,6 @@ extern "C" {
frame: *mut GstBaseParseFrame,
size: c_int,
) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_base_parse_merge_tags(
parse: *mut GstBaseParse,
tags: *mut gst::GstTagList,
@ -1870,7 +1841,6 @@ extern "C" {
pts_interpolate: gboolean,
);
pub fn gst_base_parse_set_syncable(parse: *mut GstBaseParse, syncable: gboolean);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_base_parse_set_ts_at_offset(parse: *mut GstBaseParse, offset: size_t);
//=========================================================================
@ -1886,7 +1856,6 @@ extern "C" {
pub fn gst_base_sink_get_drop_out_of_segment(sink: *mut GstBaseSink) -> gboolean;
pub fn gst_base_sink_get_last_sample(sink: *mut GstBaseSink) -> *mut gst::GstSample;
pub fn gst_base_sink_get_latency(sink: *mut GstBaseSink) -> gst::GstClockTime;
#[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"))]
@ -1915,7 +1884,6 @@ extern "C" {
drop_out_of_segment: gboolean,
);
pub fn gst_base_sink_set_last_sample_enabled(sink: *mut GstBaseSink, enabled: gboolean);
#[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"))]
@ -1969,7 +1937,6 @@ extern "C" {
max_latency: *mut gst::GstClockTime,
) -> gboolean;
pub fn gst_base_src_set_async(src: *mut GstBaseSrc, async: gboolean);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_base_src_set_automatic_eos(src: *mut GstBaseSrc, automatic_eos: gboolean);
pub fn gst_base_src_set_blocksize(src: *mut GstBaseSrc, blocksize: c_uint);
pub fn gst_base_src_set_caps(src: *mut GstBaseSrc, caps: *mut gst::GstCaps) -> gboolean;
@ -2008,7 +1975,6 @@ extern "C" {
pub fn gst_base_transform_set_gap_aware(trans: *mut GstBaseTransform, gap_aware: gboolean);
pub fn gst_base_transform_set_in_place(trans: *mut GstBaseTransform, in_place: gboolean);
pub fn gst_base_transform_set_passthrough(trans: *mut GstBaseTransform, passthrough: gboolean);
#[cfg(any(feature = "v1_0_1", feature = "dox"))]
pub fn gst_base_transform_set_prefer_passthrough(
trans: *mut GstBaseTransform,
prefer_passthrough: gboolean,
@ -2020,7 +1986,6 @@ extern "C" {
diff: gst::GstClockTimeDiff,
timestamp: gst::GstClockTime,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_base_transform_update_src_caps(
trans: *mut GstBaseTransform,
updated_caps: *mut gst::GstCaps,
@ -2100,7 +2065,6 @@ extern "C" {
func: GstCollectPadsEventFunction,
user_data: gpointer,
);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_collect_pads_set_flush_function(
pads: *mut GstCollectPads,
func: GstCollectPadsFlushFunction,
@ -2122,7 +2086,6 @@ extern "C" {
data: *mut GstCollectData,
waiting: gboolean,
);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_collect_pads_src_event_default(
pads: *mut GstCollectPads,
pad: *mut gst::GstPad,
@ -2140,43 +2103,31 @@ extern "C" {
// GstDataQueue
//=========================================================================
pub fn gst_data_queue_get_type() -> GType;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_new(
checkfull: GstDataQueueCheckFullFunction,
fullcallback: GstDataQueueFullCallback,
emptycallback: GstDataQueueEmptyCallback,
checkdata: gpointer,
) -> *mut GstDataQueue;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_drop_head(queue: *mut GstDataQueue, type_: GType) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_flush(queue: *mut GstDataQueue);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_get_level(queue: *mut GstDataQueue, level: *mut GstDataQueueSize);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_is_empty(queue: *mut GstDataQueue) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_is_full(queue: *mut GstDataQueue) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_limits_changed(queue: *mut GstDataQueue);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_peek(
queue: *mut GstDataQueue,
item: *mut *mut GstDataQueueItem,
) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_pop(
queue: *mut GstDataQueue,
item: *mut *mut GstDataQueueItem,
) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_push(queue: *mut GstDataQueue, item: *mut GstDataQueueItem) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_push_force(
queue: *mut GstDataQueue,
item: *mut GstDataQueueItem,
) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_data_queue_set_flushing(queue: *mut GstDataQueue, flushing: gboolean);
//=========================================================================

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_base_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -108,7 +108,6 @@ extern "C" {
//=========================================================================
// GstHarness
//=========================================================================
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_element_full(
h: *mut GstHarness,
element: *mut gst::GstElement,
@ -117,13 +116,9 @@ extern "C" {
hsink: *mut gst::GstStaticPadTemplate,
element_srcpad_name: *const c_char,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_element_sink_pad(h: *mut GstHarness, sinkpad: *mut gst::GstPad);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_element_src_pad(h: *mut GstHarness, srcpad: *mut gst::GstPad);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_parse(h: *mut GstHarness, launchline: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_probe(
h: *mut GstHarness,
element_name: *const c_char,
@ -139,147 +134,100 @@ extern "C" {
api: GType,
params: *const gst::GstStructure,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_sink(h: *mut GstHarness, sink_element_name: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_sink_harness(h: *mut GstHarness, sink_harness: *mut GstHarness);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_sink_parse(h: *mut GstHarness, launchline: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_src(
h: *mut GstHarness,
src_element_name: *const c_char,
has_clock_wait: gboolean,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_src_harness(
h: *mut GstHarness,
src_harness: *mut GstHarness,
has_clock_wait: gboolean,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_add_src_parse(
h: *mut GstHarness,
launchline: *const c_char,
has_clock_wait: gboolean,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_buffers_in_queue(h: *mut GstHarness) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_buffers_received(h: *mut GstHarness) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_crank_multiple_clock_waits(h: *mut GstHarness, waits: c_uint) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_crank_single_clock_wait(h: *mut GstHarness) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_create_buffer(h: *mut GstHarness, size: size_t) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_dump_to_file(h: *mut GstHarness, filename: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_events_in_queue(h: *mut GstHarness) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_events_received(h: *mut GstHarness) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_find_element(
h: *mut GstHarness,
element_name: *const c_char,
) -> *mut gst::GstElement;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_get(
h: *mut GstHarness,
element_name: *const c_char,
first_property_name: *const c_char,
...
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_get_allocator(
h: *mut GstHarness,
allocator: *mut *mut gst::GstAllocator,
params: *mut gst::GstAllocationParams,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_get_last_pushed_timestamp(h: *mut GstHarness) -> gst::GstClockTime;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_get_testclock(h: *mut GstHarness) -> *mut GstTestClock;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_play(h: *mut GstHarness);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_pull(h: *mut GstHarness) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_pull_event(h: *mut GstHarness) -> *mut gst::GstEvent;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_harness_pull_until_eos(
h: *mut GstHarness,
buf: *mut *mut gst::GstBuffer,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_pull_upstream_event(h: *mut GstHarness) -> *mut gst::GstEvent;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_push(h: *mut GstHarness, buffer: *mut gst::GstBuffer) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_push_and_pull(
h: *mut GstHarness,
buffer: *mut gst::GstBuffer,
) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_push_event(h: *mut GstHarness, event: *mut gst::GstEvent) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_push_from_src(h: *mut GstHarness) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_push_to_sink(h: *mut GstHarness) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_push_upstream_event(
h: *mut GstHarness,
event: *mut gst::GstEvent,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_query_latency(h: *mut GstHarness) -> gst::GstClockTime;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set(
h: *mut GstHarness,
element_name: *const c_char,
first_property_name: *const c_char,
...
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_blocking_push_mode(h: *mut GstHarness);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_caps(h: *mut GstHarness, in_: *mut gst::GstCaps, out: *mut gst::GstCaps);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_caps_str(h: *mut GstHarness, in_: *const c_char, out: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_drop_buffers(h: *mut GstHarness, drop_buffers: gboolean);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_forwarding(h: *mut GstHarness, forwarding: gboolean);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_propose_allocator(
h: *mut GstHarness,
allocator: *mut gst::GstAllocator,
params: *const gst::GstAllocationParams,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_sink_caps(h: *mut GstHarness, caps: *mut gst::GstCaps);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_sink_caps_str(h: *mut GstHarness, str: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_src_caps(h: *mut GstHarness, caps: *mut gst::GstCaps);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_src_caps_str(h: *mut GstHarness, str: *const c_char);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_time(h: *mut GstHarness, time: gst::GstClockTime) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_set_upstream_latency(h: *mut GstHarness, latency: gst::GstClockTime);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_sink_push_many(h: *mut GstHarness, pushes: c_int) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_src_crank_and_push_many(
h: *mut GstHarness,
cranks: c_int,
pushes: c_int,
) -> gst::GstFlowReturn;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_src_push_event(h: *mut GstHarness) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_custom_start(
h: *mut GstHarness,
init: glib::GFunc,
@ -287,14 +235,12 @@ extern "C" {
data: gpointer,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_property_start_full(
h: *mut GstHarness,
name: *const c_char,
value: *const gobject::GValue,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_push_buffer_start_full(
h: *mut GstHarness,
caps: *mut gst::GstCaps,
@ -302,7 +248,6 @@ extern "C" {
buf: *mut gst::GstBuffer,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_push_buffer_with_cb_start_full(
h: *mut GstHarness,
caps: *mut gst::GstCaps,
@ -312,13 +257,11 @@ extern "C" {
notify: glib::GDestroyNotify,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_push_event_start_full(
h: *mut GstHarness,
event: *mut gst::GstEvent,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_harness_stress_push_event_with_cb_start_full(
h: *mut GstHarness,
func: GstHarnessPrepareEventFunc,
@ -326,13 +269,11 @@ extern "C" {
notify: glib::GDestroyNotify,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_push_upstream_event_start_full(
h: *mut GstHarness,
event: *mut gst::GstEvent,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_harness_stress_push_upstream_event_with_cb_start_full(
h: *mut GstHarness,
func: GstHarnessPrepareEventFunc,
@ -340,7 +281,6 @@ extern "C" {
notify: glib::GDestroyNotify,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_requestpad_start_full(
h: *mut GstHarness,
templ: *mut gst::GstPadTemplate,
@ -349,7 +289,6 @@ extern "C" {
release: gboolean,
sleep: c_ulong,
) -> *mut GstHarnessThread;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_statechange_start_full(
h: *mut GstHarness,
sleep: c_ulong,
@ -360,33 +299,21 @@ extern "C" {
pub fn gst_harness_take_all_data_as_buffer(h: *mut GstHarness) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_harness_take_all_data_as_bytes(h: *mut GstHarness) -> *mut glib::GBytes;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_teardown(h: *mut GstHarness);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_try_pull(h: *mut GstHarness) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_try_pull_event(h: *mut GstHarness) -> *mut gst::GstEvent;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_try_pull_upstream_event(h: *mut GstHarness) -> *mut gst::GstEvent;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_upstream_events_in_queue(h: *mut GstHarness) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_upstream_events_received(h: *mut GstHarness) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_use_systemclock(h: *mut GstHarness);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_use_testclock(h: *mut GstHarness);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_wait_for_clock_id_waits(
h: *mut GstHarness,
waits: c_uint,
timeout: c_uint,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_new(element_name: *const c_char) -> *mut GstHarness;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_harness_new_empty() -> *mut GstHarness;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_new_full(
element: *mut gst::GstElement,
hsrc: *mut gst::GstStaticPadTemplate,
@ -394,52 +321,38 @@ extern "C" {
hsink: *mut gst::GstStaticPadTemplate,
element_srcpad_name: *const c_char,
) -> *mut GstHarness;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_new_parse(launchline: *const c_char) -> *mut GstHarness;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_new_with_element(
element: *mut gst::GstElement,
element_sinkpad_name: *const c_char,
element_srcpad_name: *const c_char,
) -> *mut GstHarness;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_new_with_padnames(
element_name: *const c_char,
element_sinkpad_name: *const c_char,
element_srcpad_name: *const c_char,
) -> *mut GstHarness;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_new_with_templates(
element_name: *const c_char,
hsrc: *mut gst::GstStaticPadTemplate,
hsink: *mut gst::GstStaticPadTemplate,
) -> *mut GstHarness;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_harness_stress_thread_stop(t: *mut GstHarnessThread) -> c_uint;
//=========================================================================
// GstTestClock
//=========================================================================
pub fn gst_test_clock_get_type() -> GType;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_new() -> *mut gst::GstClock;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_new_with_start_time(start_time: gst::GstClockTime) -> *mut gst::GstClock;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_test_clock_id_list_get_latest_time(
pending_list: *const glib::GList,
) -> gst::GstClockTime;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_advance_time(test_clock: *mut GstTestClock, delta: gst::GstClockTimeDiff);
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_test_clock_crank(test_clock: *mut GstTestClock) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_get_next_entry_time(test_clock: *mut GstTestClock) -> gst::GstClockTime;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_has_id(test_clock: *mut GstTestClock, id: gst::GstClockID) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_peek_id_count(test_clock: *mut GstTestClock) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_peek_next_pending_id(
test_clock: *mut GstTestClock,
pending_id: *mut gst::GstClockID,
@ -449,14 +362,11 @@ extern "C" {
test_clock: *mut GstTestClock,
pending_id: gst::GstClockID,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_test_clock_process_id_list(
test_clock: *mut GstTestClock,
pending_list: *const glib::GList,
) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
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(
@ -465,18 +375,15 @@ extern "C" {
timeout_ms: c_uint,
pending_list: *mut *mut glib::GList,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_test_clock_wait_for_multiple_pending_ids(
test_clock: *mut GstTestClock,
count: c_uint,
pending_list: *mut *mut glib::GList,
);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_wait_for_next_pending_id(
test_clock: *mut GstTestClock,
pending_id: *mut gst::GstClockID,
);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_test_clock_wait_for_pending_id_count(test_clock: *mut GstTestClock, count: c_uint);
//=========================================================================

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_check_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -2740,7 +2740,6 @@ extern "C" {
self_: *mut GESAsset,
error: *mut *mut glib::GError,
) -> *mut GESExtractable;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn ges_asset_get_error(self_: *mut GESAsset) -> *mut glib::GError;
pub fn ges_asset_get_extractable_type(self_: *mut GESAsset) -> GType;
pub fn ges_asset_get_id(self_: *mut GESAsset) -> *const c_char;
@ -2821,6 +2820,7 @@ extern "C" {
//=========================================================================
pub fn ges_clip_get_type() -> GType;
pub fn ges_clip_add_asset(clip: *mut GESClip, asset: *mut GESAsset) -> *mut GESTrackElement;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_clip_add_child_to_track(
clip: *mut GESClip,
child: *mut GESTrackElement,
@ -2856,6 +2856,7 @@ extern "C" {
) -> gst::GstClockTime;
pub fn ges_clip_get_layer(clip: *mut GESClip) -> *mut GESLayer;
pub fn ges_clip_get_supported_formats(clip: *mut GESClip) -> GESTrackType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_clip_get_timeline_time_from_internal_time(
clip: *mut GESClip,
child: *mut GESTrackElement,
@ -2917,10 +2918,12 @@ extern "C" {
// GESClipAsset
//=========================================================================
pub fn ges_clip_asset_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_clip_asset_get_frame_time(
self_: *mut GESClipAsset,
frame_number: GESFrameNumber,
) -> gst::GstClockTime;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_clip_asset_get_natural_framerate(
self_: *mut GESClipAsset,
framerate_n: *mut c_int,
@ -3059,6 +3062,7 @@ extern "C" {
clip: *mut GESClip,
error: *mut *mut glib::GError,
) -> gboolean;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_layer_get_active_for_track(layer: *mut GESLayer, track: *mut GESTrack) -> gboolean;
pub fn ges_layer_get_auto_transition(layer: *mut GESLayer) -> gboolean;
pub fn ges_layer_get_clips(layer: *mut GESLayer) -> *mut glib::GList;
@ -3072,6 +3076,7 @@ extern "C" {
pub fn ges_layer_get_timeline(layer: *mut GESLayer) -> *mut GESTimeline;
pub fn ges_layer_is_empty(layer: *mut GESLayer) -> gboolean;
pub fn ges_layer_remove_clip(layer: *mut GESLayer, clip: *mut GESClip) -> gboolean;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_layer_set_active_for_tracks(
layer: *mut GESLayer,
active: gboolean,
@ -3084,11 +3089,13 @@ extern "C" {
//=========================================================================
// GESMarker
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_marker_get_type() -> GType;
//=========================================================================
// GESMarkerList
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_marker_list_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_marker_list_new() -> *mut GESMarkerList;
@ -3237,6 +3244,7 @@ extern "C" {
//=========================================================================
// GESSourceClipAsset
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_source_clip_asset_get_type() -> GType;
//=========================================================================
@ -3318,10 +3326,12 @@ extern "C" {
timeline: *mut GESTimeline,
name: *const c_char,
) -> *mut GESTimelineElement;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_timeline_get_frame_at(
self_: *mut GESTimeline,
timestamp: gst::GstClockTime,
) -> GESFrameNumber;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_timeline_get_frame_time(
self_: *mut GESTimeline,
frame_number: GESFrameNumber,
@ -3442,7 +3452,6 @@ extern "C" {
pub fn ges_timeline_element_get_toplevel_parent(
self_: *mut GESTimelineElement,
) -> *mut GESTimelineElement;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn ges_timeline_element_get_track_types(self_: *mut GESTimelineElement) -> GESTrackType;
pub fn ges_timeline_element_list_children_properties(
self_: *mut GESTimelineElement,
@ -3454,7 +3463,6 @@ extern "C" {
child: *mut *mut gobject::GObject,
pspec: *mut *mut gobject::GParamSpec,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn ges_timeline_element_paste(
self_: *mut GESTimelineElement,
paste_position: gst::GstClockTime,
@ -3670,10 +3678,10 @@ extern "C" {
) -> *mut gst::GstControlBinding;
pub fn ges_track_element_get_element(object: *mut GESTrackElement) -> *mut gst::GstElement;
pub fn ges_track_element_get_gnlobject(object: *mut GESTrackElement) -> *mut gst::GstElement;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn ges_track_element_get_nleobject(object: *mut GESTrackElement) -> *mut gst::GstElement;
pub fn ges_track_element_get_track(object: *mut GESTrackElement) -> *mut GESTrack;
pub fn ges_track_element_get_track_type(object: *mut GESTrackElement) -> GESTrackType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_track_element_has_internal_source(object: *mut GESTrackElement) -> gboolean;
pub fn ges_track_element_is_active(object: *mut GESTrackElement) -> gboolean;
#[cfg(any(feature = "v1_18", feature = "dox"))]
@ -3721,6 +3729,7 @@ extern "C" {
property_name: *const c_char,
binding_type: *const c_char,
) -> gboolean;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_track_element_set_has_internal_source(
object: *mut GESTrackElement,
has_internal_source: gboolean,
@ -3731,6 +3740,7 @@ extern "C" {
// GESTrackElementAsset
//=========================================================================
pub fn ges_track_element_asset_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_track_element_asset_get_natural_framerate(
self_: *mut GESTrackElementAsset,
framerate_n: *mut c_int,
@ -3806,12 +3816,14 @@ extern "C" {
asset: *mut GESUriSourceAsset,
) -> *mut gst_pbutils::GstDiscovererStreamInfo;
pub fn ges_uri_source_asset_get_stream_uri(asset: *mut GESUriSourceAsset) -> *const c_char;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_uri_source_asset_is_image(asset: *mut GESUriSourceAsset) -> gboolean;
//=========================================================================
// GESVideoSource
//=========================================================================
pub fn ges_video_source_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_video_source_get_natural_size(
self_: *mut GESVideoSource,
width: *mut c_int,
@ -4015,6 +4027,7 @@ extern "C" {
meta_item: *const c_char,
value: u64,
) -> gboolean;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn ges_meta_container_register_static_meta(
container: *mut GESMetaContainer,
flags: GESMetaFlag,

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_editing_services_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -2044,6 +2044,7 @@ extern "C" {
//=========================================================================
// GstGLBaseSrc
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_gl_base_src_get_type() -> GType;
//=========================================================================

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_gl_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -1899,6 +1899,7 @@ extern "C" {
//=========================================================================
// GstMpegtsAtscRRT
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_mpegts_atsc_rrt_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_mpegts_atsc_rrt_new() -> *mut GstMpegtsAtscRRT;
@ -1912,6 +1913,7 @@ extern "C" {
//=========================================================================
// GstMpegtsAtscRRTDimensionValue
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_mpegts_atsc_rrt_dimension_value_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_mpegts_atsc_rrt_dimension_value_new() -> *mut GstMpegtsAtscRRTDimensionValue;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_mpegts_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -290,7 +290,6 @@ extern "C" {
// GstNtpClock
//=========================================================================
pub fn gst_ntp_clock_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ntp_clock_new(
name: *const c_char,
remote_address: *const c_char,
@ -302,7 +301,6 @@ extern "C" {
// GstPtpClock
//=========================================================================
pub fn gst_ptp_clock_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_clock_new(name: *const c_char, domain: c_uint) -> *mut gst::GstClock;
//=========================================================================
@ -321,21 +319,15 @@ extern "C" {
pub fn gst_net_control_message_meta_api_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_net_utils_set_socket_tos(socket: *mut gio::GSocket, qos_dscp: c_int) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_deinit();
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_init(clock_id: u64, interfaces: *mut *mut c_char) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_is_initialized() -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_is_supported() -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_statistics_callback_add(
callback: GstPtpStatisticsCallback,
user_data: gpointer,
destroy_data: glib::GDestroyNotify,
) -> c_ulong;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_ptp_statistics_callback_remove(id: c_ulong);
}

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_net_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -378,21 +378,19 @@ extern "C" {
//=========================================================================
pub fn gst_install_plugins_context_get_type() -> GType;
pub fn gst_install_plugins_context_new() -> *mut GstInstallPluginsContext;
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
pub fn gst_install_plugins_context_copy(
ctx: *mut GstInstallPluginsContext,
) -> *mut GstInstallPluginsContext;
pub fn gst_install_plugins_context_free(ctx: *mut GstInstallPluginsContext);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_install_plugins_context_set_confirm_search(
ctx: *mut GstInstallPluginsContext,
confirm_search: gboolean,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_install_plugins_context_set_desktop_id(
ctx: *mut GstInstallPluginsContext,
desktop_id: *const c_char,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_install_plugins_context_set_startup_notification_id(
ctx: *mut GstInstallPluginsContext,
startup_id: *const c_char,
@ -453,7 +451,6 @@ extern "C" {
// GstDiscovererInfo
//=========================================================================
pub fn gst_discoverer_info_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_discoverer_info_from_variant(variant: *mut glib::GVariant)
-> *mut GstDiscovererInfo;
pub fn gst_discoverer_info_copy(ptr: *mut GstDiscovererInfo) -> *mut GstDiscovererInfo;
@ -466,7 +463,6 @@ 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 *const c_char;
@ -487,7 +483,6 @@ extern "C" {
pub fn gst_discoverer_info_get_toc(info: *const GstDiscovererInfo) -> *const gst::GstToc;
pub fn gst_discoverer_info_get_uri(info: *const GstDiscovererInfo) -> *const c_char;
pub fn gst_discoverer_info_get_video_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_discoverer_info_to_variant(
info: *mut GstDiscovererInfo,
flags: GstDiscovererSerializeFlags,
@ -634,7 +629,6 @@ extern "C" {
profile: *mut GstEncodingProfile,
description: *const c_char,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_encoding_profile_set_enabled(profile: *mut GstEncodingProfile, enabled: gboolean);
pub fn gst_encoding_profile_set_format(
profile: *mut GstEncodingProfile,
@ -742,25 +736,20 @@ extern "C" {
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: *const u8, len: c_uint) -> *const c_char;
#[cfg(any(feature = "v1_4", feature = "dox"))]
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;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_codec_utils_h265_get_level(
profile_tier_level: *const u8,
len: c_uint,
) -> *const c_char;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_codec_utils_h265_get_level_idc(level: *const c_char) -> u8;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_codec_utils_h265_get_profile(
profile_tier_level: *const u8,
len: c_uint,
) -> *const c_char;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_codec_utils_h265_get_tier(
profile_tier_level: *const u8,
len: c_uint,
@ -778,7 +767,6 @@ extern "C" {
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,
@ -787,12 +775,10 @@ extern "C" {
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,
@ -803,7 +789,6 @@ extern "C" {
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,
@ -813,7 +798,6 @@ extern "C" {
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,

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_pbutils_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_player_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -22,7 +22,7 @@ tempfile = "3"
[features]
v1_4 = ["v1_2"]
v1_8 = ["v1_6_1"]
v1_8 = ["v1_6"]
v1_8_1 = ["v1_8"]
v1_12 = ["v1_10"]
v1_14 = ["v1_12"]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -43,8 +43,6 @@ fn find() -> Result<(), Error> {
"1.10"
} else if cfg!(feature = "v1_8") {
"1.8"
} else if cfg!(feature = "v1_6_1") {
"1.6.1"
} else if cfg!(feature = "v1_6") {
"1.6"
} else if cfg!(feature = "v1_4") {
@ -52,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -503,6 +503,7 @@ extern "C" {
//=========================================================================
// GstRTCPXRType
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtcpxr_type_get_type() -> GType;
//=========================================================================
@ -518,6 +519,7 @@ extern "C" {
//=========================================================================
// GstRTPBufferFlags
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_rtp_buffer_flags_get_type() -> GType;
//=========================================================================
@ -549,14 +551,13 @@ extern "C" {
pub fn gst_rtcp_buffer_new_take_data(data: gpointer, len: c_uint) -> *mut gst::GstBuffer;
pub fn gst_rtcp_buffer_validate(buffer: *mut gst::GstBuffer) -> gboolean;
pub fn gst_rtcp_buffer_validate_data(data: *mut u8, len: c_uint) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtcp_buffer_validate_data_reduced(data: *mut u8, len: c_uint) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtcp_buffer_validate_reduced(buffer: *mut gst::GstBuffer) -> gboolean;
//=========================================================================
// GstRTCPPacket
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_rtcp_packet_add_profile_specific_ext(
packet: *mut GstRTCPPacket,
data: *const u8,
@ -607,6 +608,7 @@ extern "C" {
packet: *mut GstRTCPPacket,
reason: *const c_char,
) -> gboolean;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_rtcp_packet_copy_profile_specific_ext(
packet: *mut GstRTCPPacket,
data: *mut *mut u8,
@ -624,11 +626,13 @@ extern "C" {
pub fn gst_rtcp_packet_get_count(packet: *mut GstRTCPPacket) -> u8;
pub fn gst_rtcp_packet_get_length(packet: *mut GstRTCPPacket) -> u16;
pub fn gst_rtcp_packet_get_padding(packet: *mut GstRTCPPacket) -> gboolean;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_rtcp_packet_get_profile_specific_ext(
packet: *mut GstRTCPPacket,
data: *mut *mut u8,
len: *mut c_uint,
) -> gboolean;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_rtcp_packet_get_profile_specific_ext_length(packet: *mut GstRTCPPacket) -> u16;
pub fn gst_rtcp_packet_get_rb(
packet: *mut GstRTCPPacket,
@ -852,7 +856,6 @@ extern "C" {
pub fn gst_rtp_buffer_get_csrc(rtp: *mut GstRTPBuffer, idx: u8) -> u32;
pub fn gst_rtp_buffer_get_csrc_count(rtp: *mut GstRTPBuffer) -> u8;
pub fn gst_rtp_buffer_get_extension(rtp: *mut GstRTPBuffer) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtp_buffer_get_extension_bytes(
rtp: *mut GstRTPBuffer,
bits: *mut u16,
@ -884,7 +887,6 @@ extern "C" {
pub fn gst_rtp_buffer_get_padding(rtp: *mut GstRTPBuffer) -> gboolean;
pub fn gst_rtp_buffer_get_payload(rtp: *mut GstRTPBuffer) -> gpointer;
pub fn gst_rtp_buffer_get_payload_buffer(rtp: *mut GstRTPBuffer) -> *mut gst::GstBuffer;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtp_buffer_get_payload_bytes(rtp: *mut GstRTPBuffer) -> *mut glib::GBytes;
pub fn gst_rtp_buffer_get_payload_len(rtp: *mut GstRTPBuffer) -> c_uint;
pub fn gst_rtp_buffer_get_payload_subbuffer(
@ -983,6 +985,7 @@ extern "C" {
pub fn gst_rtp_source_meta_get_source_count(meta: *const GstRTPSourceMeta) -> c_uint;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtp_source_meta_set_ssrc(meta: *mut GstRTPSourceMeta, ssrc: *mut u32) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtp_source_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
@ -1115,6 +1118,7 @@ extern "C" {
pub fn gst_rtp_hdrext_get_ntp_64(data: gpointer, size: c_uint, ntptime: *mut u64) -> gboolean;
pub fn gst_rtp_hdrext_set_ntp_56(data: gpointer, size: c_uint, ntptime: u64) -> gboolean;
pub fn gst_rtp_hdrext_set_ntp_64(data: gpointer, size: c_uint, ntptime: u64) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtp_source_meta_api_get_type() -> GType;
}

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_rtp_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -1439,7 +1439,6 @@ extern "C" {
auth: *mut GstRTSPAuth,
) -> gio::GTlsAuthenticationMode;
pub fn gst_rtsp_auth_get_tls_certificate(auth: *mut GstRTSPAuth) -> *mut gio::GTlsCertificate;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_auth_get_tls_database(auth: *mut GstRTSPAuth) -> *mut gio::GTlsDatabase;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtsp_auth_parse_htdigest(
@ -1458,7 +1457,6 @@ extern "C" {
auth: *mut GstRTSPAuth,
methods: gst_rtsp::GstRTSPAuthMethod,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_auth_set_tls_authentication_mode(
auth: *mut GstRTSPAuth,
mode: gio::GTlsAuthenticationMode,
@ -1467,7 +1465,6 @@ extern "C" {
auth: *mut GstRTSPAuth,
cert: *mut gio::GTlsCertificate,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_auth_set_tls_database(auth: *mut GstRTSPAuth, database: *mut gio::GTlsDatabase);
//=========================================================================
@ -1479,7 +1476,6 @@ extern "C" {
client: *mut GstRTSPClient,
context: *mut glib::GMainContext,
) -> c_uint;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_rtsp_client_close(client: *mut GstRTSPClient);
pub fn gst_rtsp_client_get_auth(client: *mut GstRTSPClient) -> *mut GstRTSPAuth;
pub fn gst_rtsp_client_get_connection(
@ -1578,7 +1574,6 @@ extern "C" {
pub fn gst_rtsp_media_get_permissions(media: *mut GstRTSPMedia) -> *mut GstRTSPPermissions;
pub fn gst_rtsp_media_get_profiles(media: *mut GstRTSPMedia) -> gst_rtsp::GstRTSPProfile;
pub fn gst_rtsp_media_get_protocols(media: *mut GstRTSPMedia) -> gst_rtsp::GstRTSPLowerTrans;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_media_get_publish_clock_mode(
media: *mut GstRTSPMedia,
) -> GstRTSPPublishClockMode;
@ -1681,7 +1676,6 @@ extern "C" {
media: *mut GstRTSPMedia,
protocols: gst_rtsp::GstRTSPLowerTrans,
);
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_media_set_publish_clock_mode(
media: *mut GstRTSPMedia,
mode: GstRTSPPublishClockMode,
@ -1746,7 +1740,6 @@ extern "C" {
factory: *mut GstRTSPMediaFactory,
) -> *mut GstRTSPAddressPool;
pub fn gst_rtsp_media_factory_get_buffer_size(factory: *mut GstRTSPMediaFactory) -> c_uint;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_media_factory_get_clock(
factory: *mut GstRTSPMediaFactory,
) -> *mut gst::GstClock;
@ -1760,7 +1753,6 @@ extern "C" {
pub fn gst_rtsp_media_factory_get_launch(factory: *mut GstRTSPMediaFactory) -> *mut c_char;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtsp_media_factory_get_max_mcast_ttl(factory: *mut GstRTSPMediaFactory) -> c_uint;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_media_factory_get_media_gtype(factory: *mut GstRTSPMediaFactory) -> GType;
pub fn gst_rtsp_media_factory_get_multicast_iface(
factory: *mut GstRTSPMediaFactory,
@ -1774,7 +1766,6 @@ extern "C" {
pub fn gst_rtsp_media_factory_get_protocols(
factory: *mut GstRTSPMediaFactory,
) -> gst_rtsp::GstRTSPLowerTrans;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_media_factory_get_publish_clock_mode(
factory: *mut GstRTSPMediaFactory,
) -> GstRTSPPublishClockMode;
@ -1806,7 +1797,6 @@ extern "C" {
bind_mcast_addr: gboolean,
);
pub fn gst_rtsp_media_factory_set_buffer_size(factory: *mut GstRTSPMediaFactory, size: c_uint);
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_media_factory_set_clock(
factory: *mut GstRTSPMediaFactory,
clock: *mut gst::GstClock,
@ -1832,7 +1822,6 @@ extern "C" {
factory: *mut GstRTSPMediaFactory,
ttl: c_uint,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_media_factory_set_media_gtype(
factory: *mut GstRTSPMediaFactory,
media_gtype: GType,
@ -1853,7 +1842,6 @@ extern "C" {
factory: *mut GstRTSPMediaFactory,
protocols: gst_rtsp::GstRTSPLowerTrans,
);
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_media_factory_set_publish_clock_mode(
factory: *mut GstRTSPMediaFactory,
mode: GstRTSPPublishClockMode,
@ -1914,6 +1902,7 @@ extern "C" {
//=========================================================================
// GstRTSPOnvifClient
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_client_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_rtsp_onvif_client_new() -> *mut GstRTSPClient;
@ -1921,6 +1910,7 @@ extern "C" {
//=========================================================================
// GstRTSPOnvifMedia
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_media_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_media_collect_backchannel(media: *mut GstRTSPOnvifMedia) -> gboolean;
@ -1935,6 +1925,7 @@ extern "C" {
//=========================================================================
// GstRTSPOnvifMediaFactory
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_media_factory_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_media_factory_new() -> *mut GstRTSPMediaFactory;
@ -1978,7 +1969,9 @@ extern "C" {
//=========================================================================
// GstRTSPOnvifServer
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_server_get_type() -> GType;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_onvif_server_new() -> *mut GstRTSPServer;
//=========================================================================
@ -2193,7 +2186,6 @@ extern "C" {
transport: *const gst_rtsp::GstRTSPTransport,
) -> gboolean;
pub fn gst_rtsp_stream_get_address_pool(stream: *mut GstRTSPStream) -> *mut GstRTSPAddressPool;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_stream_get_buffer_size(stream: *mut GstRTSPStream) -> c_uint;
pub fn gst_rtsp_stream_get_caps(stream: *mut GstRTSPStream) -> *mut gst::GstCaps;
pub fn gst_rtsp_stream_get_control(stream: *mut GstRTSPStream) -> *mut c_char;
@ -2217,7 +2209,6 @@ extern "C" {
pub fn gst_rtsp_stream_get_protocols(stream: *mut GstRTSPStream)
-> gst_rtsp::GstRTSPLowerTrans;
pub fn gst_rtsp_stream_get_pt(stream: *mut GstRTSPStream) -> c_uint;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_stream_get_publish_clock_mode(
stream: *mut GstRTSPStream,
) -> GstRTSPPublishClockMode;
@ -2327,7 +2318,6 @@ extern "C" {
stream: *mut GstRTSPStream,
sessid: c_uint,
) -> *mut gst::GstElement;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_stream_request_aux_sender(
stream: *mut GstRTSPStream,
sessid: c_uint,
@ -2362,7 +2352,6 @@ extern "C" {
bind_mcast_addr: gboolean,
);
pub fn gst_rtsp_stream_set_blocked(stream: *mut GstRTSPStream, blocked: gboolean) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_stream_set_buffer_size(stream: *mut GstRTSPStream, size: c_uint);
pub fn gst_rtsp_stream_set_client_side(stream: *mut GstRTSPStream, client_side: gboolean);
pub fn gst_rtsp_stream_set_control(stream: *mut GstRTSPStream, control: *const c_char);
@ -2387,7 +2376,6 @@ extern "C" {
pt: c_uint,
caps: *mut gst::GstCaps,
);
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_stream_set_publish_clock_mode(
stream: *mut GstRTSPStream,
mode: GstRTSPPublishClockMode,

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_rtsp_server_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -27,7 +27,7 @@ tempfile = "3"
dox = []
v1_2 = []
v1_2_1 = ["v1_2"]
v1_4 = ["v1_2_1"]
v1_4 = ["v1_2"]
v1_6 = ["v1_4"]
v1_8 = ["v1_6"]
v1_10 = ["v1_8"]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -47,12 +47,10 @@ fn find() -> Result<(), Error> {
"1.6"
} else if cfg!(feature = "v1_4") {
"1.4"
} else if cfg!(feature = "v1_2_1") {
"1.2.1"
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -790,13 +790,17 @@ extern "C" {
//=========================================================================
// GstRTSPAuthCredential
//=========================================================================
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_rtsp_auth_credential_get_type() -> GType;
//=========================================================================
// GstRTSPAuthParam
//=========================================================================
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_rtsp_auth_param_get_type() -> GType;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_rtsp_auth_param_copy(param: *mut GstRTSPAuthParam) -> *mut GstRTSPAuthParam;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_rtsp_auth_param_free(param: *mut GstRTSPAuthParam);
//=========================================================================
@ -813,7 +817,6 @@ extern "C" {
conn: *mut GstRTSPConnection,
timeout: i64,
) -> GstRTSPResult;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_rtsp_connection_connect_with_response(
conn: *mut GstRTSPConnection,
timeout: *mut glib::GTimeVal,
@ -838,20 +841,16 @@ extern "C" {
pub fn gst_rtsp_connection_get_read_socket(conn: *const GstRTSPConnection)
-> *mut gio::GSocket;
pub fn gst_rtsp_connection_get_remember_session_id(conn: *mut GstRTSPConnection) -> gboolean;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtsp_connection_get_tls(
conn: *mut GstRTSPConnection,
error: *mut *mut glib::GError,
) -> *mut gio::GTlsConnection;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_rtsp_connection_get_tls_database(
conn: *mut GstRTSPConnection,
) -> *mut gio::GTlsDatabase;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_connection_get_tls_interaction(
conn: *mut GstRTSPConnection,
) -> *mut gio::GTlsInteraction;
#[cfg(any(feature = "v1_2_1", feature = "dox"))]
pub fn gst_rtsp_connection_get_tls_validation_flags(
conn: *mut GstRTSPConnection,
) -> gio::GTlsCertificateFlags;
@ -968,17 +967,14 @@ extern "C" {
conn: *mut GstRTSPConnection,
remember: gboolean,
);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_rtsp_connection_set_tls_database(
conn: *mut GstRTSPConnection,
database: *mut gio::GTlsDatabase,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_connection_set_tls_interaction(
conn: *mut GstRTSPConnection,
interaction: *mut gio::GTlsInteraction,
);
#[cfg(any(feature = "v1_2_1", feature = "dox"))]
pub fn gst_rtsp_connection_set_tls_validation_flags(
conn: *mut GstRTSPConnection,
flags: gio::GTlsCertificateFlags,
@ -1017,13 +1013,13 @@ extern "C" {
//=========================================================================
// GstRTSPMessage
//=========================================================================
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_msg_get_type() -> GType;
pub fn gst_rtsp_message_add_header(
msg: *mut GstRTSPMessage,
field: GstRTSPHeaderField,
value: *const c_char,
) -> GstRTSPResult;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_message_add_header_by_name(
msg: *mut GstRTSPMessage,
header: *const c_char,
@ -1056,13 +1052,13 @@ extern "C" {
value: *mut *mut c_char,
indx: c_int,
) -> GstRTSPResult;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_message_get_header_by_name(
msg: *mut GstRTSPMessage,
header: *const c_char,
value: *mut *mut c_char,
index: c_int,
) -> GstRTSPResult;
#[cfg(any(feature = "v1_14", feature = "dox"))]
pub fn gst_rtsp_message_get_type(msg: *mut GstRTSPMessage) -> GstRTSPMsgType;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_rtsp_message_has_body_buffer(msg: *const GstRTSPMessage) -> gboolean;
@ -1103,7 +1099,6 @@ extern "C" {
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,
@ -1144,7 +1139,6 @@ extern "C" {
field: GstRTSPHeaderField,
value: *mut c_char,
) -> GstRTSPResult;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_rtsp_message_take_header_by_name(
msg: *mut GstRTSPMessage,
header: *const c_char,
@ -1160,7 +1154,6 @@ extern "C" {
unit: GstRTSPRangeUnit,
) -> gboolean;
pub fn gst_rtsp_range_free(range: *mut GstRTSPTimeRange);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtsp_range_get_times(
range: *const GstRTSPTimeRange,
min: *mut gst::GstClockTime,
@ -1177,7 +1170,6 @@ extern "C" {
//=========================================================================
pub fn gst_rtsp_transport_as_text(transport: *mut GstRTSPTransport) -> *mut c_char;
pub fn gst_rtsp_transport_free(transport: *mut GstRTSPTransport) -> GstRTSPResult;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_rtsp_transport_get_media_type(
transport: *mut GstRTSPTransport,
media_type: *mut *const c_char,
@ -1222,7 +1214,6 @@ extern "C" {
watch: *mut GstRTSPWatch,
context: *mut glib::GMainContext,
) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtsp_watch_get_send_backlog(
watch: *mut GstRTSPWatch,
bytes: *mut size_t,
@ -1241,16 +1232,13 @@ extern "C" {
n_messages: c_uint,
id: *mut c_uint,
) -> GstRTSPResult;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_rtsp_watch_set_flushing(watch: *mut GstRTSPWatch, flushing: gboolean);
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtsp_watch_set_send_backlog(
watch: *mut GstRTSPWatch,
bytes: size_t,
messages: c_uint,
);
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,
@ -1363,7 +1351,6 @@ extern "C" {
request: *const GstRTSPMessage,
) -> GstRTSPResult;
pub fn gst_rtsp_options_as_text(options: GstRTSPMethod) -> *mut c_char;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_rtsp_options_from_text(options: *const c_char) -> GstRTSPMethod;
pub fn gst_rtsp_status_as_text(code: GstRTSPStatusCode) -> *const c_char;
pub fn gst_rtsp_strresult(result: GstRTSPResult) -> *mut c_char;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_rtsp_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -52,7 +52,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -543,109 +543,85 @@ extern "C" {
// GstMIKEYMessage
//=========================================================================
pub fn gst_mikey_message_get_type() -> GType;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_new() -> *mut GstMIKEYMessage;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_new_from_bytes(
bytes: *mut glib::GBytes,
info: *mut GstMIKEYDecryptInfo,
error: *mut *mut glib::GError,
) -> *mut GstMIKEYMessage;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_mikey_message_new_from_caps(caps: *mut gst::GstCaps) -> *mut GstMIKEYMessage;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_new_from_data(
data: gconstpointer,
size: size_t,
info: *mut GstMIKEYDecryptInfo,
error: *mut *mut glib::GError,
) -> *mut GstMIKEYMessage;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_add_cs_srtp(
msg: *mut GstMIKEYMessage,
policy: u8,
ssrc: u32,
roc: u32,
) -> gboolean;
#[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: *const u8,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
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: *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"))]
pub fn gst_mikey_message_base64_encode(msg: *mut GstMIKEYMessage) -> *mut c_char;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_find_payload(
msg: *const GstMIKEYMessage,
type_: GstMIKEYPayloadType,
nth: c_uint,
) -> *const GstMIKEYPayload;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_get_cs_srtp(
msg: *const GstMIKEYMessage,
idx: c_uint,
) -> *const GstMIKEYMapSRTP;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_get_n_cs(msg: *const GstMIKEYMessage) -> c_uint;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_get_n_payloads(msg: *const GstMIKEYMessage) -> c_uint;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_get_payload(
msg: *const GstMIKEYMessage,
idx: c_uint,
) -> *const GstMIKEYPayload;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_insert_cs_srtp(
msg: *mut GstMIKEYMessage,
idx: c_int,
map: *const GstMIKEYMapSRTP,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_insert_payload(
msg: *mut GstMIKEYMessage,
idx: c_uint,
payload: *mut GstMIKEYPayload,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_remove_cs_srtp(msg: *mut GstMIKEYMessage, idx: c_int) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_remove_payload(msg: *mut GstMIKEYMessage, idx: c_uint) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_replace_cs_srtp(
msg: *mut GstMIKEYMessage,
idx: c_int,
map: *const GstMIKEYMapSRTP,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_replace_payload(
msg: *mut GstMIKEYMessage,
idx: c_uint,
payload: *mut GstMIKEYPayload,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_set_info(
msg: *mut GstMIKEYMessage,
version: u8,
@ -655,7 +631,6 @@ extern "C" {
CSB_id: u32,
map_type: GstMIKEYMapType,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_message_to_bytes(
msg: *mut GstMIKEYMessage,
info: *mut GstMIKEYEncryptInfo,
@ -671,32 +646,25 @@ extern "C" {
// GstMIKEYPayload
//=========================================================================
pub fn gst_mikey_payload_get_type() -> GType;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_new(type_: GstMIKEYPayloadType) -> *mut GstMIKEYPayload;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_kemac_add_sub(
payload: *mut GstMIKEYPayload,
newpay: *mut GstMIKEYPayload,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_kemac_get_n_sub(payload: *const GstMIKEYPayload) -> c_uint;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_kemac_get_sub(
payload: *const GstMIKEYPayload,
idx: c_uint,
) -> *const GstMIKEYPayload;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_kemac_remove_sub(
payload: *mut GstMIKEYPayload,
idx: c_uint,
) -> gboolean;
#[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,
@ -704,64 +672,53 @@ extern "C" {
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: *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: *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: *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: *const u8,
) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
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: *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"))]
pub fn gst_mikey_payload_sp_get_param(
payload: *const GstMIKEYPayload,
idx: c_uint,
) -> *const GstMIKEYPayloadSPParam;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_mikey_payload_sp_remove_param(
payload: *mut GstMIKEYPayload,
idx: c_uint,
) -> gboolean;
#[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,
@ -771,9 +728,7 @@ extern "C" {
//=========================================================================
// GstSDPAttribute
//=========================================================================
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_attribute_clear(attr: *mut GstSDPAttribute) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_attribute_set(
attr: *mut GstSDPAttribute,
key: *const c_char,
@ -783,9 +738,7 @@ extern "C" {
//=========================================================================
// GstSDPBandwidth
//=========================================================================
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_bandwidth_clear(bw: *mut GstSDPBandwidth) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_bandwidth_set(
bw: *mut GstSDPBandwidth,
bwtype: *const c_char,
@ -795,9 +748,7 @@ extern "C" {
//=========================================================================
// GstSDPConnection
//=========================================================================
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_connection_clear(conn: *mut GstSDPConnection) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_connection_set(
conn: *mut GstSDPConnection,
nettype: *const c_char,
@ -832,14 +783,12 @@ extern "C" {
-> GstSDPResult;
pub fn gst_sdp_media_as_text(media: *const GstSDPMedia) -> *mut c_char;
pub fn gst_sdp_media_attributes_len(media: *const GstSDPMedia) -> c_uint;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_sdp_media_attributes_to_caps(
media: *const GstSDPMedia,
caps: *mut gst::GstCaps,
) -> GstSDPResult;
pub fn gst_sdp_media_bandwidths_len(media: *const GstSDPMedia) -> c_uint;
pub fn gst_sdp_media_connections_len(media: *const GstSDPMedia) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_copy(
media: *const GstSDPMedia,
copy: *mut *mut GstSDPMedia,
@ -863,7 +812,6 @@ extern "C" {
media: *const GstSDPMedia,
idx: c_uint,
) -> *const GstSDPBandwidth;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_sdp_media_get_caps_from_media(
media: *const GstSDPMedia,
pt: c_int,
@ -880,25 +828,21 @@ extern "C" {
pub fn gst_sdp_media_get_port(media: *const GstSDPMedia) -> c_uint;
pub fn gst_sdp_media_get_proto(media: *const GstSDPMedia) -> *const c_char;
pub fn gst_sdp_media_init(media: *mut GstSDPMedia) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_insert_attribute(
media: *mut GstSDPMedia,
idx: c_int,
attr: *mut GstSDPAttribute,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_insert_bandwidth(
media: *mut GstSDPMedia,
idx: c_int,
bw: *mut GstSDPBandwidth,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_insert_connection(
media: *mut GstSDPMedia,
idx: c_int,
conn: *mut GstSDPConnection,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_insert_format(
media: *mut GstSDPMedia,
idx: c_int,
@ -909,33 +853,25 @@ extern "C" {
media: *const GstSDPMedia,
mikey: *mut *mut GstMIKEYMessage,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_remove_attribute(media: *mut GstSDPMedia, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_remove_bandwidth(media: *mut GstSDPMedia, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_remove_connection(media: *mut GstSDPMedia, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_remove_format(media: *mut GstSDPMedia, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_replace_attribute(
media: *mut GstSDPMedia,
idx: c_uint,
attr: *mut GstSDPAttribute,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_replace_bandwidth(
media: *mut GstSDPMedia,
idx: c_uint,
bw: *mut GstSDPBandwidth,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_replace_connection(
media: *mut GstSDPMedia,
idx: c_uint,
conn: *mut GstSDPConnection,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_media_replace_format(
media: *mut GstSDPMedia,
idx: c_uint,
@ -959,7 +895,6 @@ extern "C" {
pub fn gst_sdp_media_set_proto(media: *mut GstSDPMedia, proto: *const c_char) -> GstSDPResult;
pub fn gst_sdp_media_uninit(media: *mut GstSDPMedia) -> GstSDPResult;
pub fn gst_sdp_media_new(media: *mut *mut GstSDPMedia) -> GstSDPResult;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_sdp_media_set_media_from_caps(
caps: *const gst::GstCaps,
media: *mut GstSDPMedia,
@ -1000,13 +935,11 @@ extern "C" {
) -> 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;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_sdp_message_attributes_to_caps(
msg: *const GstSDPMessage,
caps: *mut gst::GstCaps,
) -> GstSDPResult;
pub fn gst_sdp_message_bandwidths_len(msg: *const GstSDPMessage) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_copy(
msg: *const GstSDPMessage,
copy: *mut *mut GstSDPMessage,
@ -1044,37 +977,31 @@ extern "C" {
pub fn gst_sdp_message_get_version(msg: *const GstSDPMessage) -> *const c_char;
pub fn gst_sdp_message_get_zone(msg: *const GstSDPMessage, idx: c_uint) -> *const GstSDPZone;
pub fn gst_sdp_message_init(msg: *mut GstSDPMessage) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_insert_attribute(
msg: *mut GstSDPMessage,
idx: c_int,
attr: *mut GstSDPAttribute,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_insert_bandwidth(
msg: *mut GstSDPMessage,
idx: c_int,
bw: *mut GstSDPBandwidth,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_insert_email(
msg: *mut GstSDPMessage,
idx: c_int,
email: *const c_char,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_insert_phone(
msg: *mut GstSDPMessage,
idx: c_int,
phone: *const c_char,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_insert_time(
msg: *mut GstSDPMessage,
idx: c_int,
t: *mut GstSDPTime,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_insert_zone(
msg: *mut GstSDPMessage,
idx: c_int,
@ -1087,49 +1014,37 @@ extern "C" {
mikey: *mut *mut GstMIKEYMessage,
) -> GstSDPResult;
pub fn gst_sdp_message_phones_len(msg: *const GstSDPMessage) -> c_uint;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_remove_attribute(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_remove_bandwidth(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_remove_email(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_remove_phone(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_remove_time(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_remove_zone(msg: *mut GstSDPMessage, idx: c_uint) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_replace_attribute(
msg: *mut GstSDPMessage,
idx: c_uint,
attr: *mut GstSDPAttribute,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_replace_bandwidth(
msg: *mut GstSDPMessage,
idx: c_uint,
bw: *mut GstSDPBandwidth,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_replace_email(
msg: *mut GstSDPMessage,
idx: c_uint,
email: *const c_char,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_replace_phone(
msg: *mut GstSDPMessage,
idx: c_uint,
phone: *const c_char,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_replace_time(
msg: *mut GstSDPMessage,
idx: c_uint,
t: *mut GstSDPTime,
) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_message_replace_zone(
msg: *mut GstSDPMessage,
idx: c_uint,
@ -1190,9 +1105,7 @@ extern "C" {
//=========================================================================
// GstSDPTime
//=========================================================================
#[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,
@ -1203,9 +1116,7 @@ extern "C" {
//=========================================================================
// GstSDPZone
//=========================================================================
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_zone_clear(zone: *mut GstSDPZone) -> GstSDPResult;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_sdp_zone_set(
zone: *mut GstSDPZone,
adj_time: *const c_char,
@ -1220,7 +1131,6 @@ extern "C" {
addrtype: *const c_char,
addr: *const c_char,
) -> gboolean;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_sdp_make_keymgmt(uri: *const c_char, base64: *const c_char) -> *mut c_char;
}

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_sdp_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -16,9 +16,9 @@ tempfile = "3"
[features]
v1_0_10 = []
v1_2 = ["v1_0_10"]
v1_2 = []
v1_2_3 = ["v1_2"]
v1_4 = ["v1_2_3"]
v1_4 = ["v1_2"]
v1_6 = ["v1_4"]
v1_8 = ["v1_6"]
v1_10 = ["v1_8"]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -47,14 +47,10 @@ fn find() -> Result<(), Error> {
"1.6"
} else if cfg!(feature = "v1_4") {
"1.4"
} else if cfg!(feature = "v1_2_3") {
"1.2.3"
} else if cfg!(feature = "v1_2") {
"1.2"
} else if cfg!(feature = "v1_0_10") {
"1.0.10"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
} else if cfg!(feature = "v1_2") {
"1.2"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_tag_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -22,9 +22,9 @@ tempfile = "3"
[features]
v1_0_3 = []
v1_2 = ["v1_0_3"]
v1_2 = []
v1_2_2 = ["v1_2"]
v1_4 = ["v1_2_2"]
v1_4 = ["v1_2"]
v1_6 = ["v1_4"]
v1_8 = ["v1_6"]
v1_10 = ["v1_8"]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
@ -47,14 +47,10 @@ fn find() -> Result<(), Error> {
"1.6"
} else if cfg!(feature = "v1_4") {
"1.4"
} else if cfg!(feature = "v1_2_2") {
"1.2.2"
} else if cfg!(feature = "v1_2") {
"1.2"
} else if cfg!(feature = "v1_0_3") {
"1.0.3"
} else {
"1.0"
"1.8"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -2268,11 +2268,13 @@ extern "C" {
//=========================================================================
// GstVideoAFDSpec
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_afd_spec_get_type() -> GType;
//=========================================================================
// GstVideoAFDValue
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_afd_value_get_type() -> GType;
//=========================================================================
@ -2283,16 +2285,19 @@ extern "C" {
//=========================================================================
// GstVideoAncillaryDID
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_ancillary_did_get_type() -> GType;
//=========================================================================
// GstVideoAncillaryDID16
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_ancillary_di_d16_get_type() -> GType;
//=========================================================================
// GstVideoCaptionType
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_caption_type_get_type() -> GType;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_caption_type_from_caps(caps: *const gst::GstCaps) -> GstVideoCaptionType;
@ -2315,7 +2320,6 @@ extern "C" {
pub fn gst_video_color_matrix_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_color_matrix_from_iso(value: c_uint) -> GstVideoColorMatrix;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_color_matrix_get_Kr_Kb(
matrix: GstVideoColorMatrix,
Kr: *mut c_double,
@ -2330,7 +2334,6 @@ extern "C" {
pub fn gst_video_color_primaries_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_color_primaries_from_iso(value: c_uint) -> GstVideoColorPrimaries;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_color_primaries_get_info(
primaries: GstVideoColorPrimaries,
) -> *const GstVideoColorPrimariesInfo;
@ -2356,6 +2359,7 @@ extern "C" {
//=========================================================================
// GstVideoFieldOrder
//=========================================================================
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_video_field_order_get_type() -> GType;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_video_field_order_from_string(order: *const c_char) -> GstVideoFieldOrder;
@ -2378,7 +2382,6 @@ extern "C" {
) -> GstVideoFormat;
pub fn gst_video_format_from_string(format: *const c_char) -> GstVideoFormat;
pub fn gst_video_format_get_info(format: GstVideoFormat) -> *const GstVideoFormatInfo;
#[cfg(any(feature = "v1_2", feature = "dox"))]
pub fn gst_video_format_get_palette(format: GstVideoFormat, size: *mut size_t)
-> gconstpointer;
pub fn gst_video_format_to_fourcc(format: GstVideoFormat) -> u32;
@ -2393,9 +2396,7 @@ extern "C" {
// GstVideoInterlaceMode
//=========================================================================
pub fn gst_video_interlace_mode_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_interlace_mode_from_string(mode: *const c_char) -> GstVideoInterlaceMode;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_interlace_mode_to_string(mode: GstVideoInterlaceMode) -> *const c_char;
//=========================================================================
@ -2412,11 +2413,9 @@ extern "C" {
// GstVideoMultiviewMode
//=========================================================================
pub fn gst_video_multiview_mode_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_mode_from_caps_string(
caps_mview_mode: *const c_char,
) -> GstVideoMultiviewMode;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_mode_to_caps_string(
mview_mode: GstVideoMultiviewMode,
) -> *const c_char;
@ -2424,6 +2423,7 @@ extern "C" {
//=========================================================================
// GstVideoOrientationMethod
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_video_orientation_method_get_type() -> GType;
//=========================================================================
@ -2454,6 +2454,7 @@ extern "C" {
//=========================================================================
// GstVideoVBIParserResult
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_vbi_parser_result_get_type() -> GType;
//=========================================================================
@ -2504,6 +2505,7 @@ extern "C" {
//=========================================================================
// GstVideoOverlayFormatFlags
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_overlay_format_flags_get_type() -> GType;
//=========================================================================
@ -2524,17 +2526,18 @@ extern "C" {
//=========================================================================
// GstVideoTimeCodeFlags
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_time_code_flags_get_type() -> GType;
//=========================================================================
// GstVideoAFDMeta
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_afd_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
// GstVideoAffineTransformationMeta
//=========================================================================
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_video_affine_transformation_meta_apply_matrix(
meta: *mut GstVideoAffineTransformationMeta,
matrix: *const [c_float; 16],
@ -2549,11 +2552,13 @@ extern "C" {
//=========================================================================
// GstVideoBarMeta
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_bar_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
// GstVideoCaptionMeta
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_caption_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
@ -2601,7 +2606,6 @@ extern "C" {
cinfo: *mut GstVideoColorimetry,
color: *const c_char,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_colorimetry_is_equal(
cinfo: *const GstVideoColorimetry,
other: *const GstVideoColorimetry,
@ -2640,23 +2644,19 @@ extern "C" {
//=========================================================================
// GstVideoConverter
//=========================================================================
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_converter_frame(
convert: *mut GstVideoConverter,
src: *const GstVideoFrame,
dest: *mut GstVideoFrame,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_converter_free(convert: *mut GstVideoConverter);
pub fn gst_video_converter_get_config(
convert: *mut GstVideoConverter,
) -> *const gst::GstStructure;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_converter_set_config(
convert: *mut GstVideoConverter,
config: *mut gst::GstStructure,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_converter_new(
in_info: *mut GstVideoInfo,
out_info: *mut GstVideoInfo,
@ -2734,7 +2734,6 @@ extern "C" {
// GstVideoInfo
//=========================================================================
pub fn gst_video_info_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_info_new() -> *mut GstVideoInfo;
pub fn gst_video_info_align(info: *mut GstVideoInfo, align: *mut GstVideoAlignment)
-> gboolean;
@ -2751,9 +2750,7 @@ extern "C" {
dest_format: gst::GstFormat,
dest_value: *mut i64,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_info_copy(info: *const GstVideoInfo) -> *mut GstVideoInfo;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_info_free(info: *mut GstVideoInfo);
pub fn gst_video_info_from_caps(info: *mut GstVideoInfo, caps: *const gst::GstCaps)
-> gboolean;
@ -2968,9 +2965,7 @@ extern "C" {
//=========================================================================
// GstVideoResampler
//=========================================================================
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_resampler_clear(resampler: *mut GstVideoResampler);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_resampler_init(
resampler: *mut GstVideoResampler,
method: GstVideoResamplerMethod,
@ -2999,7 +2994,6 @@ extern "C" {
width: c_uint,
height: c_uint,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_scaler_combine_packed_YUV(
y_scale: *mut GstVideoScaler,
uv_scale: *mut GstVideoScaler,
@ -3030,7 +3024,6 @@ extern "C" {
dest_offset: c_uint,
width: c_uint,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_scaler_new(
method: GstVideoResamplerMethod,
flags: GstVideoScalerFlags,
@ -3043,6 +3036,7 @@ extern "C" {
//=========================================================================
// GstVideoTimeCode
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_video_time_code_get_type() -> GType;
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_video_time_code_new(
@ -3141,6 +3135,7 @@ extern "C" {
//=========================================================================
// GstVideoTimeCodeInterval
//=========================================================================
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_video_time_code_interval_get_type() -> GType;
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn gst_video_time_code_interval_new(
@ -3173,11 +3168,13 @@ extern "C" {
//=========================================================================
// GstVideoTimeCodeMeta
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_video_time_code_meta_get_info() -> *const gst::GstMetaInfo;
//=========================================================================
// GstVideoVBIEncoder
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_vbi_encoder_get_type() -> GType;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_vbi_encoder_new(
@ -3205,6 +3202,7 @@ extern "C" {
//=========================================================================
// GstVideoVBIParser
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_vbi_parser_get_type() -> GType;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_vbi_parser_new(
@ -3231,11 +3229,13 @@ extern "C" {
//=========================================================================
// GstVideoAggregator
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_aggregator_get_type() -> GType;
//=========================================================================
// GstVideoAggregatorConvertPad
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_aggregator_convert_pad_get_type() -> GType;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_aggregator_convert_pad_update_conversion_info(
@ -3245,6 +3245,7 @@ extern "C" {
//=========================================================================
// GstVideoAggregatorPad
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_aggregator_pad_get_type() -> GType;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_aggregator_pad_get_current_buffer(
@ -3319,7 +3320,6 @@ extern "C" {
frame: *mut GstVideoCodecFrame,
) -> gst::GstClockTimeDiff;
pub fn gst_video_decoder_get_max_errors(dec: *mut GstVideoDecoder) -> c_int;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_video_decoder_get_needs_format(dec: *mut GstVideoDecoder) -> gboolean;
pub fn gst_video_decoder_get_oldest_frame(
decoder: *mut GstVideoDecoder,
@ -3328,9 +3328,7 @@ extern "C" {
decoder: *mut GstVideoDecoder,
) -> *mut GstVideoCodecState;
pub fn gst_video_decoder_get_packetized(decoder: *mut GstVideoDecoder) -> gboolean;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_video_decoder_get_pending_frame_size(decoder: *mut GstVideoDecoder) -> size_t;
#[cfg(any(feature = "v1_0_3", feature = "dox"))]
pub fn gst_video_decoder_get_qos_proportion(decoder: *mut GstVideoDecoder) -> c_double;
pub fn gst_video_decoder_have_frame(decoder: *mut GstVideoDecoder) -> gst::GstFlowReturn;
pub fn gst_video_decoder_merge_tags(
@ -3339,13 +3337,11 @@ extern "C" {
mode: gst::GstTagMergeMode,
);
pub fn gst_video_decoder_negotiate(decoder: *mut GstVideoDecoder) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_decoder_proxy_getcaps(
decoder: *mut GstVideoDecoder,
caps: *mut gst::GstCaps,
filter: *mut gst::GstCaps,
) -> *mut gst::GstCaps;
#[cfg(any(feature = "v1_2_2", feature = "dox"))]
pub fn gst_video_decoder_release_frame(
dec: *mut GstVideoDecoder,
frame: *mut GstVideoCodecFrame,
@ -3366,7 +3362,6 @@ extern "C" {
max_latency: gst::GstClockTime,
);
pub fn gst_video_decoder_set_max_errors(dec: *mut GstVideoDecoder, num: c_int);
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_video_decoder_set_needs_format(dec: *mut GstVideoDecoder, enabled: gboolean);
pub fn gst_video_decoder_set_output_state(
decoder: *mut GstVideoDecoder,
@ -3376,7 +3371,6 @@ extern "C" {
reference: *mut GstVideoCodecState,
) -> *mut GstVideoCodecState;
pub fn gst_video_decoder_set_packetized(decoder: *mut GstVideoDecoder, packetized: gboolean);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_decoder_set_use_default_pad_acceptcaps(
decoder: *mut GstVideoDecoder,
use_: gboolean,
@ -3458,7 +3452,6 @@ extern "C" {
encoder: *mut GstVideoEncoder,
interval: gst::GstClockTime,
);
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_encoder_set_min_pts(encoder: *mut GstVideoEncoder, min_pts: gst::GstClockTime);
pub fn gst_video_encoder_set_output_state(
encoder: *mut GstVideoEncoder,
@ -3554,7 +3547,6 @@ extern "C" {
pub fn gst_navigation_message_new_commands_changed(
src: *mut gst::GstObject,
) -> *mut gst::GstMessage;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_navigation_message_new_event(
src: *mut gst::GstObject,
event: *mut gst::GstEvent,
@ -3568,7 +3560,6 @@ extern "C" {
cur_angle: *mut c_uint,
n_angles: *mut c_uint,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_navigation_message_parse_event(
message: *mut gst::GstMessage,
event: *mut *mut gst::GstEvent,
@ -3637,6 +3628,7 @@ extern "C" {
//=========================================================================
// GstVideoDirection
//=========================================================================
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn gst_video_direction_get_type() -> GType;
//=========================================================================
@ -3715,7 +3707,6 @@ extern "C" {
spec: GstVideoAFDSpec,
afd: GstVideoAFDValue,
) -> *mut GstVideoAFDMeta;
#[cfg(any(feature = "v1_8", feature = "dox"))]
pub fn gst_buffer_add_video_affine_transformation_meta(
buffer: *mut gst::GstBuffer,
) -> *mut GstVideoAffineTransformationMeta;
@ -3819,8 +3810,10 @@ extern "C" {
pub fn gst_is_video_overlay_prepare_window_handle_message(
msg: *mut gst::GstMessage,
) -> gboolean;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_afd_meta_api_get_type() -> GType;
pub fn gst_video_affine_transformation_meta_api_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_bar_meta_api_get_type() -> GType;
pub fn gst_video_blend(
dest: *mut GstVideoFrame,
@ -3847,6 +3840,7 @@ extern "C" {
display_par_n: c_uint,
display_par_d: c_uint,
) -> gboolean;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_caption_meta_api_get_type() -> GType;
pub fn gst_video_chroma_from_string(s: *const c_char) -> GstVideoChromaSite;
pub fn gst_video_chroma_resample(
@ -3855,12 +3849,10 @@ extern "C" {
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;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_color_transfer_encode(
func: GstVideoTransferFunction,
val: c_double,
@ -3919,7 +3911,6 @@ extern "C" {
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_video_formats_raw(len: *mut c_uint) -> *const GstVideoFormat;
pub fn gst_video_gl_texture_upload_meta_api_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_guess_framerate(
duration: gst::GstClockTime,
dest_n: *mut c_int,
@ -3937,17 +3928,11 @@ extern "C" {
features: *mut gst::GstCapsFeatures,
) -> *mut gst::GstCaps;
pub fn gst_video_meta_api_get_type() -> GType;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_get_doubled_height_modes() -> *const gobject::GValue;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_get_doubled_size_modes() -> *const gobject::GValue;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_get_doubled_width_modes() -> *const gobject::GValue;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_get_mono_modes() -> *const gobject::GValue;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_get_unpacked_modes() -> *const gobject::GValue;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_guess_half_aspect(
mv_mode: GstVideoMultiviewMode,
width: c_uint,
@ -3955,7 +3940,6 @@ extern "C" {
par_n: c_uint,
par_d: c_uint,
) -> gboolean;
#[cfg(any(feature = "v1_6", feature = "dox"))]
pub fn gst_video_multiview_video_info_change_mode(
info: *mut GstVideoInfo,
out_mview_mode: GstVideoMultiviewMode,
@ -3963,7 +3947,6 @@ extern "C" {
);
pub fn gst_video_overlay_composition_meta_api_get_type() -> GType;
pub fn gst_video_region_of_interest_meta_api_get_type() -> GType;
#[cfg(any(feature = "v1_4", feature = "dox"))]
pub fn gst_video_tile_get_index(
mode: GstVideoTileMode,
x: c_int,
@ -3971,6 +3954,7 @@ extern "C" {
x_tiles: c_int,
y_tiles: c_int,
) -> c_uint;
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_video_time_code_meta_api_get_type() -> GType;
}

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_video_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#[cfg(not(feature = "dox"))]

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@ -458,6 +458,7 @@ extern "C" {
//=========================================================================
// GstWebRTCBundlePolicy
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_webrtc_bundle_policy_get_type() -> GType;
//=========================================================================
@ -473,11 +474,13 @@ extern "C" {
//=========================================================================
// GstWebRTCDataChannelState
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_webrtc_data_channel_state_get_type() -> GType;
//=========================================================================
// GstWebRTCFECType
//=========================================================================
#[cfg(any(feature = "v1_14_1", feature = "dox"))]
pub fn gst_webrtc_fec_type_get_type() -> GType;
//=========================================================================
@ -503,6 +506,7 @@ extern "C" {
//=========================================================================
// GstWebRTCICETransportPolicy
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_webrtc_ice_transport_policy_get_type() -> GType;
//=========================================================================
@ -513,6 +517,7 @@ extern "C" {
//=========================================================================
// GstWebRTCPriorityType
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_webrtc_priority_type_get_type() -> GType;
//=========================================================================
@ -523,6 +528,7 @@ extern "C" {
//=========================================================================
// GstWebRTCSCTPTransportState
//=========================================================================
#[cfg(any(feature = "v1_16", feature = "dox"))]
pub fn gst_webrtc_sctp_transport_state_get_type() -> GType;
//=========================================================================
@ -570,6 +576,7 @@ extern "C" {
//=========================================================================
// GstWebRTCDataChannel
//=========================================================================
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_webrtc_data_channel_get_type() -> GType;
#[cfg(any(feature = "v1_18", feature = "dox"))]
pub fn gst_webrtc_data_channel_close(channel: *mut GstWebRTCDataChannel);

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
extern crate gstreamer_webrtc_sys;

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"

View file

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
// DO NOT EDIT
#include "manual.h"