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

Regenerate

parent 03c05f56
Pipeline #163412 passed with stages
in 8 minutes and 50 seconds
// 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") {
......
// 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,
......
// 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;
......
// 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"
......
// 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"
......
// 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") {
......
// 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,
......
// 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;
......
// 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"
......
// 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"
......
......@@ -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"]
......
// 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") {
......
// 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,