mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 19:41:09 +00:00
Regenerate
This commit is contained in:
parent
03c05f564f
commit
b227a77c45
95 changed files with 349 additions and 799 deletions
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![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_get_type() -> GType;
|
||||||
pub fn gst_app_src_end_of_stream(appsrc: *mut GstAppSrc) -> gst::GstFlowReturn;
|
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;
|
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;
|
pub fn gst_app_src_get_current_level_bytes(appsrc: *mut GstAppSrc) -> u64;
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_app_src_get_duration(appsrc: *mut GstAppSrc) -> gst::GstClockTime;
|
pub fn gst_app_src_get_duration(appsrc: *mut GstAppSrc) -> gst::GstClockTime;
|
||||||
|
@ -243,7 +242,6 @@ extern "C" {
|
||||||
appsrc: *mut GstAppSrc,
|
appsrc: *mut GstAppSrc,
|
||||||
buffer_list: *mut gst::GstBufferList,
|
buffer_list: *mut gst::GstBufferList,
|
||||||
) -> gst::GstFlowReturn;
|
) -> gst::GstFlowReturn;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_app_src_push_sample(
|
pub fn gst_app_src_push_sample(
|
||||||
appsrc: *mut GstAppSrc,
|
appsrc: *mut GstAppSrc,
|
||||||
sample: *mut gst::GstSample,
|
sample: *mut gst::GstSample,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_app_sys;
|
extern crate gstreamer_app_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -1440,11 +1440,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioResamplerFilterInterpolation
|
// GstAudioResamplerFilterInterpolation
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_filter_interpolation_get_type() -> GType;
|
pub fn gst_audio_resampler_filter_interpolation_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioResamplerFilterMode
|
// GstAudioResamplerFilterMode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_filter_mode_get_type() -> GType;
|
pub fn gst_audio_resampler_filter_mode_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1495,6 +1497,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioResamplerFlags
|
// GstAudioResamplerFlags
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_flags_get_type() -> GType;
|
pub fn gst_audio_resampler_flags_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1566,6 +1569,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioConverter
|
// GstAudioConverter
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_converter_get_type() -> GType;
|
pub fn gst_audio_converter_get_type() -> GType;
|
||||||
pub fn gst_audio_converter_new(
|
pub fn gst_audio_converter_new(
|
||||||
flags: GstAudioConverterFlags,
|
flags: GstAudioConverterFlags,
|
||||||
|
@ -1608,6 +1612,7 @@ extern "C" {
|
||||||
out: *mut gpointer,
|
out: *mut gpointer,
|
||||||
out_frames: size_t,
|
out_frames: size_t,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_audio_converter_supports_inplace(convert: *mut GstAudioConverter) -> gboolean;
|
pub fn gst_audio_converter_supports_inplace(convert: *mut GstAudioConverter) -> gboolean;
|
||||||
pub fn gst_audio_converter_update_config(
|
pub fn gst_audio_converter_update_config(
|
||||||
convert: *mut GstAudioConverter,
|
convert: *mut GstAudioConverter,
|
||||||
|
@ -1646,7 +1651,6 @@ extern "C" {
|
||||||
pub fn gst_audio_info_from_caps(info: *mut GstAudioInfo, caps: *const gst::GstCaps)
|
pub fn gst_audio_info_from_caps(info: *mut GstAudioInfo, caps: *const gst::GstCaps)
|
||||||
-> gboolean;
|
-> gboolean;
|
||||||
pub fn gst_audio_info_init(info: *mut GstAudioInfo);
|
pub fn gst_audio_info_init(info: *mut GstAudioInfo);
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_audio_info_is_equal(
|
pub fn gst_audio_info_is_equal(
|
||||||
info: *const GstAudioInfo,
|
info: *const GstAudioInfo,
|
||||||
other: *const GstAudioInfo,
|
other: *const GstAudioInfo,
|
||||||
|
@ -1663,6 +1667,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioMeta
|
// GstAudioMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_audio_meta_get_info() -> *const gst::GstMetaInfo;
|
pub fn gst_audio_meta_get_info() -> *const gst::GstMetaInfo;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1688,17 +1693,21 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioResampler
|
// GstAudioResampler
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_free(resampler: *mut GstAudioResampler);
|
pub fn gst_audio_resampler_free(resampler: *mut GstAudioResampler);
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_get_in_frames(
|
pub fn gst_audio_resampler_get_in_frames(
|
||||||
resampler: *mut GstAudioResampler,
|
resampler: *mut GstAudioResampler,
|
||||||
out_frames: size_t,
|
out_frames: size_t,
|
||||||
) -> size_t;
|
) -> size_t;
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_get_max_latency(resampler: *mut GstAudioResampler) -> size_t;
|
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(
|
pub fn gst_audio_resampler_get_out_frames(
|
||||||
resampler: *mut GstAudioResampler,
|
resampler: *mut GstAudioResampler,
|
||||||
in_frames: size_t,
|
in_frames: size_t,
|
||||||
) -> size_t;
|
) -> size_t;
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_resample(
|
pub fn gst_audio_resampler_resample(
|
||||||
resampler: *mut GstAudioResampler,
|
resampler: *mut GstAudioResampler,
|
||||||
in_: *mut gpointer,
|
in_: *mut gpointer,
|
||||||
|
@ -1706,14 +1715,16 @@ extern "C" {
|
||||||
out: *mut gpointer,
|
out: *mut gpointer,
|
||||||
out_frames: size_t,
|
out_frames: size_t,
|
||||||
);
|
);
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
|
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_update(
|
pub fn gst_audio_resampler_update(
|
||||||
resampler: *mut GstAudioResampler,
|
resampler: *mut GstAudioResampler,
|
||||||
in_rate: c_int,
|
in_rate: c_int,
|
||||||
out_rate: c_int,
|
out_rate: c_int,
|
||||||
options: *mut gst::GstStructure,
|
options: *mut gst::GstStructure,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_new(
|
pub fn gst_audio_resampler_new(
|
||||||
method: GstAudioResamplerMethod,
|
method: GstAudioResamplerMethod,
|
||||||
flags: GstAudioResamplerFlags,
|
flags: GstAudioResamplerFlags,
|
||||||
|
@ -1723,7 +1734,6 @@ extern "C" {
|
||||||
out_rate: c_int,
|
out_rate: c_int,
|
||||||
options: *mut gst::GstStructure,
|
options: *mut gst::GstStructure,
|
||||||
) -> *mut GstAudioResampler;
|
) -> *mut GstAudioResampler;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_audio_resampler_options_set_quality(
|
pub fn gst_audio_resampler_options_set_quality(
|
||||||
method: GstAudioResamplerMethod,
|
method: GstAudioResamplerMethod,
|
||||||
quality: c_uint,
|
quality: c_uint,
|
||||||
|
@ -1735,6 +1745,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioStreamAlign
|
// GstAudioStreamAlign
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_stream_align_get_type() -> GType;
|
pub fn gst_audio_stream_align_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_stream_align_new(
|
pub fn gst_audio_stream_align_new(
|
||||||
|
@ -1793,6 +1804,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioAggregator
|
// GstAudioAggregator
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_aggregator_get_type() -> GType;
|
pub fn gst_audio_aggregator_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_aggregator_set_sink_caps(
|
pub fn gst_audio_aggregator_set_sink_caps(
|
||||||
|
@ -1804,11 +1816,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioAggregatorConvertPad
|
// GstAudioAggregatorConvertPad
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_aggregator_convert_pad_get_type() -> GType;
|
pub fn gst_audio_aggregator_convert_pad_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioAggregatorPad
|
// GstAudioAggregatorPad
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_audio_aggregator_pad_get_type() -> GType;
|
pub fn gst_audio_aggregator_pad_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1827,13 +1841,11 @@ extern "C" {
|
||||||
pub fn gst_audio_base_sink_get_slave_method(
|
pub fn gst_audio_base_sink_get_slave_method(
|
||||||
sink: *mut GstAudioBaseSink,
|
sink: *mut GstAudioBaseSink,
|
||||||
) -> GstAudioBaseSinkSlaveMethod;
|
) -> 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_report_device_failure(sink: *mut GstAudioBaseSink);
|
||||||
pub fn gst_audio_base_sink_set_alignment_threshold(
|
pub fn gst_audio_base_sink_set_alignment_threshold(
|
||||||
sink: *mut GstAudioBaseSink,
|
sink: *mut GstAudioBaseSink,
|
||||||
alignment_threshold: gst::GstClockTime,
|
alignment_threshold: gst::GstClockTime,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_audio_base_sink_set_custom_slaving_callback(
|
pub fn gst_audio_base_sink_set_custom_slaving_callback(
|
||||||
sink: *mut GstAudioBaseSink,
|
sink: *mut GstAudioBaseSink,
|
||||||
callback: GstAudioBaseSinkCustomSlavingCallback,
|
callback: GstAudioBaseSinkCustomSlavingCallback,
|
||||||
|
@ -1947,7 +1959,6 @@ extern "C" {
|
||||||
mode: gst::GstTagMergeMode,
|
mode: gst::GstTagMergeMode,
|
||||||
);
|
);
|
||||||
pub fn gst_audio_decoder_negotiate(dec: *mut GstAudioDecoder) -> gboolean;
|
pub fn gst_audio_decoder_negotiate(dec: *mut GstAudioDecoder) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_audio_decoder_proxy_getcaps(
|
pub fn gst_audio_decoder_proxy_getcaps(
|
||||||
decoder: *mut GstAudioDecoder,
|
decoder: *mut GstAudioDecoder,
|
||||||
caps: *mut gst::GstCaps,
|
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(dec: *mut GstAudioDecoder, enabled: gboolean);
|
||||||
pub fn gst_audio_decoder_set_plc_aware(dec: *mut GstAudioDecoder, plc: 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);
|
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(
|
pub fn gst_audio_decoder_set_use_default_pad_acceptcaps(
|
||||||
decoder: *mut GstAudioDecoder,
|
decoder: *mut GstAudioDecoder,
|
||||||
use_: gboolean,
|
use_: gboolean,
|
||||||
|
@ -2182,7 +2192,6 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// Other functions
|
// 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_get_fallback_mask(channels: c_int) -> u64;
|
||||||
pub fn gst_audio_channel_positions_from_mask(
|
pub fn gst_audio_channel_positions_from_mask(
|
||||||
channels: c_int,
|
channels: c_int,
|
||||||
|
@ -2235,6 +2244,7 @@ extern "C" {
|
||||||
len: c_uint,
|
len: c_uint,
|
||||||
layout: GstAudioLayout,
|
layout: GstAudioLayout,
|
||||||
) -> *mut gst::GstCaps;
|
) -> *mut gst::GstCaps;
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_audio_meta_api_get_type() -> GType;
|
pub fn gst_audio_meta_api_get_type() -> GType;
|
||||||
pub fn gst_audio_reorder_channels(
|
pub fn gst_audio_reorder_channels(
|
||||||
data: gpointer,
|
data: gpointer,
|
||||||
|
@ -2244,7 +2254,6 @@ extern "C" {
|
||||||
from: *const GstAudioChannelPosition,
|
from: *const GstAudioChannelPosition,
|
||||||
to: *const GstAudioChannelPosition,
|
to: *const GstAudioChannelPosition,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_buffer_add_audio_clipping_meta(
|
pub fn gst_buffer_add_audio_clipping_meta(
|
||||||
buffer: *mut gst::GstBuffer,
|
buffer: *mut gst::GstBuffer,
|
||||||
format: gst::GstFormat,
|
format: gst::GstFormat,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_audio_sys;
|
extern crate gstreamer_audio_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@ tempfile = "3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
v1_0_1 = []
|
v1_0_1 = []
|
||||||
v1_2 = ["v1_0_1"]
|
v1_2 = []
|
||||||
v1_4 = ["v1_2"]
|
v1_4 = ["v1_2"]
|
||||||
v1_6 = ["v1_4"]
|
v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -55,10 +55,8 @@ fn find() -> Result<(), Error> {
|
||||||
"1.4"
|
"1.4"
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else if cfg!(feature = "v1_0_1") {
|
|
||||||
"1.0.1"
|
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -1207,6 +1207,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAggregatorStartTimeSelection
|
// GstAggregatorStartTimeSelection
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_aggregator_start_time_selection_get_type() -> GType;
|
pub fn gst_aggregator_start_time_selection_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1218,6 +1219,7 @@ extern "C" {
|
||||||
flags: GstBaseParseFrameFlags,
|
flags: GstBaseParseFrameFlags,
|
||||||
overhead: c_int,
|
overhead: c_int,
|
||||||
) -> *mut GstBaseParseFrame;
|
) -> *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_copy(frame: *mut GstBaseParseFrame) -> *mut GstBaseParseFrame;
|
||||||
pub fn gst_base_parse_frame_free(frame: *mut GstBaseParseFrame);
|
pub fn gst_base_parse_frame_free(frame: *mut GstBaseParseFrame);
|
||||||
pub fn gst_base_parse_frame_init(frame: *mut GstBaseParseFrame);
|
pub fn gst_base_parse_frame_init(frame: *mut GstBaseParseFrame);
|
||||||
|
@ -1411,7 +1413,6 @@ extern "C" {
|
||||||
reader: *mut GstByteReader,
|
reader: *mut GstByteReader,
|
||||||
str: *mut *const c_char,
|
str: *mut *const c_char,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_byte_reader_get_sub_reader(
|
pub fn gst_byte_reader_get_sub_reader(
|
||||||
reader: *mut GstByteReader,
|
reader: *mut GstByteReader,
|
||||||
sub_reader: *mut GstByteReader,
|
sub_reader: *mut GstByteReader,
|
||||||
|
@ -1434,7 +1435,6 @@ extern "C" {
|
||||||
offset: c_uint,
|
offset: c_uint,
|
||||||
size: c_uint,
|
size: c_uint,
|
||||||
) -> c_uint;
|
) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_byte_reader_masked_scan_uint32_peek(
|
pub fn gst_byte_reader_masked_scan_uint32_peek(
|
||||||
reader: *const GstByteReader,
|
reader: *const GstByteReader,
|
||||||
mask: u32,
|
mask: u32,
|
||||||
|
@ -1477,7 +1477,6 @@ extern "C" {
|
||||||
reader: *const GstByteReader,
|
reader: *const GstByteReader,
|
||||||
str: *mut *const c_char,
|
str: *mut *const c_char,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_byte_reader_peek_sub_reader(
|
pub fn gst_byte_reader_peek_sub_reader(
|
||||||
reader: *mut GstByteReader,
|
reader: *mut GstByteReader,
|
||||||
sub_reader: *mut GstByteReader,
|
sub_reader: *mut GstByteReader,
|
||||||
|
@ -1580,28 +1579,20 @@ extern "C" {
|
||||||
// GstFlowCombiner
|
// GstFlowCombiner
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_flow_combiner_get_type() -> GType;
|
pub fn gst_flow_combiner_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_flow_combiner_new() -> *mut GstFlowCombiner;
|
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);
|
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);
|
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);
|
pub fn gst_flow_combiner_free(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
|
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_ref(combiner: *mut GstFlowCombiner) -> *mut GstFlowCombiner;
|
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);
|
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);
|
pub fn gst_flow_combiner_reset(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
|
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_unref(combiner: *mut GstFlowCombiner);
|
pub fn gst_flow_combiner_unref(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_flow_combiner_update_flow(
|
pub fn gst_flow_combiner_update_flow(
|
||||||
combiner: *mut GstFlowCombiner,
|
combiner: *mut GstFlowCombiner,
|
||||||
fret: gst::GstFlowReturn,
|
fret: gst::GstFlowReturn,
|
||||||
) -> gst::GstFlowReturn;
|
) -> gst::GstFlowReturn;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_flow_combiner_update_pad_flow(
|
pub fn gst_flow_combiner_update_pad_flow(
|
||||||
combiner: *mut GstFlowCombiner,
|
combiner: *mut GstFlowCombiner,
|
||||||
pad: *mut gst::GstPad,
|
pad: *mut gst::GstPad,
|
||||||
|
@ -1613,29 +1604,21 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_queue_array_clear(array: *mut GstQueueArray);
|
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;
|
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(
|
pub fn gst_queue_array_drop_struct(
|
||||||
array: *mut GstQueueArray,
|
array: *mut GstQueueArray,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
p_struct: gpointer,
|
p_struct: gpointer,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_queue_array_find(
|
pub fn gst_queue_array_find(
|
||||||
array: *mut GstQueueArray,
|
array: *mut GstQueueArray,
|
||||||
func: glib::GCompareFunc,
|
func: glib::GCompareFunc,
|
||||||
data: gpointer,
|
data: gpointer,
|
||||||
) -> c_uint;
|
) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_queue_array_free(array: *mut GstQueueArray);
|
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;
|
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;
|
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;
|
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;
|
pub fn gst_queue_array_peek_head_struct(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_queue_array_peek_nth(array: *mut GstQueueArray, idx: c_uint) -> gpointer;
|
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;
|
pub fn gst_queue_array_peek_tail(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_queue_array_peek_tail_struct(array: *mut GstQueueArray) -> gpointer;
|
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;
|
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;
|
pub fn gst_queue_array_pop_head_struct(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_queue_array_pop_tail(array: *mut GstQueueArray) -> gpointer;
|
pub fn gst_queue_array_pop_tail(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_queue_array_pop_tail_struct(array: *mut GstQueueArray) -> gpointer;
|
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(array: *mut GstQueueArray, data: gpointer);
|
||||||
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
|
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
|
@ -1661,9 +1641,7 @@ extern "C" {
|
||||||
array: *mut GstQueueArray,
|
array: *mut GstQueueArray,
|
||||||
clear_func: glib::GDestroyNotify,
|
clear_func: glib::GDestroyNotify,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_queue_array_new(initial_size: c_uint) -> *mut GstQueueArray;
|
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(
|
pub fn gst_queue_array_new_for_struct(
|
||||||
struct_size: size_t,
|
struct_size: size_t,
|
||||||
initial_size: c_uint,
|
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_available_fast(adapter: *mut GstAdapter) -> size_t;
|
||||||
pub fn gst_adapter_clear(adapter: *mut GstAdapter);
|
pub fn gst_adapter_clear(adapter: *mut GstAdapter);
|
||||||
pub fn gst_adapter_copy(adapter: *mut GstAdapter, dest: gpointer, offset: size_t, size: size_t);
|
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(
|
pub fn gst_adapter_copy_bytes(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
offset: size_t,
|
offset: size_t,
|
||||||
size: size_t,
|
size: size_t,
|
||||||
) -> *mut glib::GBytes;
|
) -> *mut glib::GBytes;
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_distance_from_discont(adapter: *mut GstAdapter) -> u64;
|
pub fn gst_adapter_distance_from_discont(adapter: *mut GstAdapter) -> u64;
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_dts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
|
pub fn gst_adapter_dts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
|
||||||
pub fn gst_adapter_flush(adapter: *mut GstAdapter, flush: size_t);
|
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;
|
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(
|
pub fn gst_adapter_get_buffer_fast(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
nbytes: size_t,
|
nbytes: size_t,
|
||||||
) -> *mut gst::GstBuffer;
|
) -> *mut gst::GstBuffer;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_adapter_get_buffer_list(
|
pub fn gst_adapter_get_buffer_list(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
nbytes: size_t,
|
nbytes: size_t,
|
||||||
) -> *mut gst::GstBufferList;
|
) -> *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_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_map(adapter: *mut GstAdapter, size: size_t) -> gconstpointer;
|
||||||
pub fn gst_adapter_masked_scan_uint32(
|
pub fn gst_adapter_masked_scan_uint32(
|
||||||
|
@ -1721,7 +1695,6 @@ extern "C" {
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_offset_at_discont(adapter: *mut GstAdapter) -> u64;
|
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;
|
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(
|
pub fn gst_adapter_prev_dts_at_offset(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
offset: size_t,
|
offset: size_t,
|
||||||
|
@ -1730,7 +1703,6 @@ extern "C" {
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[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_offset(adapter: *mut GstAdapter, distance: *mut u64) -> u64;
|
||||||
pub fn gst_adapter_prev_pts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
|
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(
|
pub fn gst_adapter_prev_pts_at_offset(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
offset: size_t,
|
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(adapter: *mut GstAdapter, nbytes: size_t) -> gpointer;
|
||||||
pub fn gst_adapter_take_buffer(adapter: *mut GstAdapter, nbytes: size_t)
|
pub fn gst_adapter_take_buffer(adapter: *mut GstAdapter, nbytes: size_t)
|
||||||
-> *mut gst::GstBuffer;
|
-> *mut gst::GstBuffer;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_adapter_take_buffer_fast(
|
pub fn gst_adapter_take_buffer_fast(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
nbytes: size_t,
|
nbytes: size_t,
|
||||||
) -> *mut gst::GstBuffer;
|
) -> *mut gst::GstBuffer;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_adapter_take_buffer_list(
|
pub fn gst_adapter_take_buffer_list(
|
||||||
adapter: *mut GstAdapter,
|
adapter: *mut GstAdapter,
|
||||||
nbytes: size_t,
|
nbytes: size_t,
|
||||||
|
@ -1758,6 +1728,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAggregator
|
// GstAggregator
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_aggregator_get_type() -> GType;
|
pub fn gst_aggregator_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_aggregator_finish_buffer(
|
pub fn gst_aggregator_finish_buffer(
|
||||||
|
@ -1795,6 +1766,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAggregatorPad
|
// GstAggregatorPad
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_aggregator_pad_get_type() -> GType;
|
pub fn gst_aggregator_pad_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_aggregator_pad_drop_buffer(pad: *mut GstAggregatorPad) -> gboolean;
|
pub fn gst_aggregator_pad_drop_buffer(pad: *mut GstAggregatorPad) -> gboolean;
|
||||||
|
@ -1832,7 +1804,6 @@ extern "C" {
|
||||||
frame: *mut GstBaseParseFrame,
|
frame: *mut GstBaseParseFrame,
|
||||||
size: c_int,
|
size: c_int,
|
||||||
) -> gst::GstFlowReturn;
|
) -> gst::GstFlowReturn;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_base_parse_merge_tags(
|
pub fn gst_base_parse_merge_tags(
|
||||||
parse: *mut GstBaseParse,
|
parse: *mut GstBaseParse,
|
||||||
tags: *mut gst::GstTagList,
|
tags: *mut gst::GstTagList,
|
||||||
|
@ -1870,7 +1841,6 @@ extern "C" {
|
||||||
pts_interpolate: gboolean,
|
pts_interpolate: gboolean,
|
||||||
);
|
);
|
||||||
pub fn gst_base_parse_set_syncable(parse: *mut GstBaseParse, syncable: 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);
|
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_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_last_sample(sink: *mut GstBaseSink) -> *mut gst::GstSample;
|
||||||
pub fn gst_base_sink_get_latency(sink: *mut GstBaseSink) -> gst::GstClockTime;
|
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_bitrate(sink: *mut GstBaseSink) -> u64;
|
||||||
pub fn gst_base_sink_get_max_lateness(sink: *mut GstBaseSink) -> i64;
|
pub fn gst_base_sink_get_max_lateness(sink: *mut GstBaseSink) -> i64;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
|
@ -1915,7 +1884,6 @@ extern "C" {
|
||||||
drop_out_of_segment: gboolean,
|
drop_out_of_segment: gboolean,
|
||||||
);
|
);
|
||||||
pub fn gst_base_sink_set_last_sample_enabled(sink: *mut GstBaseSink, enabled: 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_bitrate(sink: *mut GstBaseSink, max_bitrate: u64);
|
||||||
pub fn gst_base_sink_set_max_lateness(sink: *mut GstBaseSink, max_lateness: i64);
|
pub fn gst_base_sink_set_max_lateness(sink: *mut GstBaseSink, max_lateness: i64);
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
|
@ -1969,7 +1937,6 @@ extern "C" {
|
||||||
max_latency: *mut gst::GstClockTime,
|
max_latency: *mut gst::GstClockTime,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
pub fn gst_base_src_set_async(src: *mut GstBaseSrc, async: 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_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_blocksize(src: *mut GstBaseSrc, blocksize: c_uint);
|
||||||
pub fn gst_base_src_set_caps(src: *mut GstBaseSrc, caps: *mut gst::GstCaps) -> gboolean;
|
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_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_in_place(trans: *mut GstBaseTransform, in_place: gboolean);
|
||||||
pub fn gst_base_transform_set_passthrough(trans: *mut GstBaseTransform, passthrough: 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(
|
pub fn gst_base_transform_set_prefer_passthrough(
|
||||||
trans: *mut GstBaseTransform,
|
trans: *mut GstBaseTransform,
|
||||||
prefer_passthrough: gboolean,
|
prefer_passthrough: gboolean,
|
||||||
|
@ -2020,7 +1986,6 @@ extern "C" {
|
||||||
diff: gst::GstClockTimeDiff,
|
diff: gst::GstClockTimeDiff,
|
||||||
timestamp: gst::GstClockTime,
|
timestamp: gst::GstClockTime,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_base_transform_update_src_caps(
|
pub fn gst_base_transform_update_src_caps(
|
||||||
trans: *mut GstBaseTransform,
|
trans: *mut GstBaseTransform,
|
||||||
updated_caps: *mut gst::GstCaps,
|
updated_caps: *mut gst::GstCaps,
|
||||||
|
@ -2100,7 +2065,6 @@ extern "C" {
|
||||||
func: GstCollectPadsEventFunction,
|
func: GstCollectPadsEventFunction,
|
||||||
user_data: gpointer,
|
user_data: gpointer,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_collect_pads_set_flush_function(
|
pub fn gst_collect_pads_set_flush_function(
|
||||||
pads: *mut GstCollectPads,
|
pads: *mut GstCollectPads,
|
||||||
func: GstCollectPadsFlushFunction,
|
func: GstCollectPadsFlushFunction,
|
||||||
|
@ -2122,7 +2086,6 @@ extern "C" {
|
||||||
data: *mut GstCollectData,
|
data: *mut GstCollectData,
|
||||||
waiting: gboolean,
|
waiting: gboolean,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_collect_pads_src_event_default(
|
pub fn gst_collect_pads_src_event_default(
|
||||||
pads: *mut GstCollectPads,
|
pads: *mut GstCollectPads,
|
||||||
pad: *mut gst::GstPad,
|
pad: *mut gst::GstPad,
|
||||||
|
@ -2140,43 +2103,31 @@ extern "C" {
|
||||||
// GstDataQueue
|
// GstDataQueue
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_data_queue_get_type() -> GType;
|
pub fn gst_data_queue_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_data_queue_new(
|
pub fn gst_data_queue_new(
|
||||||
checkfull: GstDataQueueCheckFullFunction,
|
checkfull: GstDataQueueCheckFullFunction,
|
||||||
fullcallback: GstDataQueueFullCallback,
|
fullcallback: GstDataQueueFullCallback,
|
||||||
emptycallback: GstDataQueueEmptyCallback,
|
emptycallback: GstDataQueueEmptyCallback,
|
||||||
checkdata: gpointer,
|
checkdata: gpointer,
|
||||||
) -> *mut GstDataQueue;
|
) -> *mut GstDataQueue;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_data_queue_drop_head(queue: *mut GstDataQueue, type_: GType) -> gboolean;
|
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);
|
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);
|
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;
|
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;
|
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);
|
pub fn gst_data_queue_limits_changed(queue: *mut GstDataQueue);
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_data_queue_peek(
|
pub fn gst_data_queue_peek(
|
||||||
queue: *mut GstDataQueue,
|
queue: *mut GstDataQueue,
|
||||||
item: *mut *mut GstDataQueueItem,
|
item: *mut *mut GstDataQueueItem,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_data_queue_pop(
|
pub fn gst_data_queue_pop(
|
||||||
queue: *mut GstDataQueue,
|
queue: *mut GstDataQueue,
|
||||||
item: *mut *mut GstDataQueueItem,
|
item: *mut *mut GstDataQueueItem,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_data_queue_push(queue: *mut GstDataQueue, item: *mut GstDataQueueItem) -> gboolean;
|
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(
|
pub fn gst_data_queue_push_force(
|
||||||
queue: *mut GstDataQueue,
|
queue: *mut GstDataQueue,
|
||||||
item: *mut GstDataQueueItem,
|
item: *mut GstDataQueueItem,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_data_queue_set_flushing(queue: *mut GstDataQueue, flushing: gboolean);
|
pub fn gst_data_queue_set_flushing(queue: *mut GstDataQueue, flushing: gboolean);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_base_sys;
|
extern crate gstreamer_base_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -108,7 +108,6 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstHarness
|
// GstHarness
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_add_element_full(
|
pub fn gst_harness_add_element_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
element: *mut gst::GstElement,
|
element: *mut gst::GstElement,
|
||||||
|
@ -117,13 +116,9 @@ extern "C" {
|
||||||
hsink: *mut gst::GstStaticPadTemplate,
|
hsink: *mut gst::GstStaticPadTemplate,
|
||||||
element_srcpad_name: *const c_char,
|
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);
|
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);
|
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);
|
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(
|
pub fn gst_harness_add_probe(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
element_name: *const c_char,
|
element_name: *const c_char,
|
||||||
|
@ -139,147 +134,100 @@ extern "C" {
|
||||||
api: GType,
|
api: GType,
|
||||||
params: *const gst::GstStructure,
|
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);
|
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);
|
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);
|
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(
|
pub fn gst_harness_add_src(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
src_element_name: *const c_char,
|
src_element_name: *const c_char,
|
||||||
has_clock_wait: gboolean,
|
has_clock_wait: gboolean,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_add_src_harness(
|
pub fn gst_harness_add_src_harness(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
src_harness: *mut GstHarness,
|
src_harness: *mut GstHarness,
|
||||||
has_clock_wait: gboolean,
|
has_clock_wait: gboolean,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_add_src_parse(
|
pub fn gst_harness_add_src_parse(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
launchline: *const c_char,
|
launchline: *const c_char,
|
||||||
has_clock_wait: gboolean,
|
has_clock_wait: gboolean,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_buffers_in_queue(h: *mut GstHarness) -> c_uint;
|
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;
|
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;
|
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;
|
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;
|
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);
|
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;
|
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;
|
pub fn gst_harness_events_received(h: *mut GstHarness) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_find_element(
|
pub fn gst_harness_find_element(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
element_name: *const c_char,
|
element_name: *const c_char,
|
||||||
) -> *mut gst::GstElement;
|
) -> *mut gst::GstElement;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_get(
|
pub fn gst_harness_get(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
element_name: *const c_char,
|
element_name: *const c_char,
|
||||||
first_property_name: *const c_char,
|
first_property_name: *const c_char,
|
||||||
...
|
...
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_get_allocator(
|
pub fn gst_harness_get_allocator(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
allocator: *mut *mut gst::GstAllocator,
|
allocator: *mut *mut gst::GstAllocator,
|
||||||
params: *mut gst::GstAllocationParams,
|
params: *mut gst::GstAllocationParams,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_get_last_pushed_timestamp(h: *mut GstHarness) -> gst::GstClockTime;
|
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;
|
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);
|
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;
|
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;
|
pub fn gst_harness_pull_event(h: *mut GstHarness) -> *mut gst::GstEvent;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_harness_pull_until_eos(
|
pub fn gst_harness_pull_until_eos(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
buf: *mut *mut gst::GstBuffer,
|
buf: *mut *mut gst::GstBuffer,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_pull_upstream_event(h: *mut GstHarness) -> *mut gst::GstEvent;
|
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;
|
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(
|
pub fn gst_harness_push_and_pull(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
buffer: *mut gst::GstBuffer,
|
buffer: *mut gst::GstBuffer,
|
||||||
) -> *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;
|
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;
|
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;
|
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(
|
pub fn gst_harness_push_upstream_event(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
event: *mut gst::GstEvent,
|
event: *mut gst::GstEvent,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_query_latency(h: *mut GstHarness) -> gst::GstClockTime;
|
pub fn gst_harness_query_latency(h: *mut GstHarness) -> gst::GstClockTime;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_set(
|
pub fn gst_harness_set(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
element_name: *const c_char,
|
element_name: *const c_char,
|
||||||
first_property_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);
|
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);
|
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);
|
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);
|
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);
|
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(
|
pub fn gst_harness_set_propose_allocator(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
allocator: *mut gst::GstAllocator,
|
allocator: *mut gst::GstAllocator,
|
||||||
params: *const gst::GstAllocationParams,
|
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);
|
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);
|
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);
|
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);
|
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;
|
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);
|
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;
|
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(
|
pub fn gst_harness_src_crank_and_push_many(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
cranks: c_int,
|
cranks: c_int,
|
||||||
pushes: c_int,
|
pushes: c_int,
|
||||||
) -> gst::GstFlowReturn;
|
) -> gst::GstFlowReturn;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_src_push_event(h: *mut GstHarness) -> gboolean;
|
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(
|
pub fn gst_harness_stress_custom_start(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
init: glib::GFunc,
|
init: glib::GFunc,
|
||||||
|
@ -287,14 +235,12 @@ extern "C" {
|
||||||
data: gpointer,
|
data: gpointer,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_property_start_full(
|
pub fn gst_harness_stress_property_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
name: *const c_char,
|
name: *const c_char,
|
||||||
value: *const gobject::GValue,
|
value: *const gobject::GValue,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_push_buffer_start_full(
|
pub fn gst_harness_stress_push_buffer_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
|
@ -302,7 +248,6 @@ extern "C" {
|
||||||
buf: *mut gst::GstBuffer,
|
buf: *mut gst::GstBuffer,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_push_buffer_with_cb_start_full(
|
pub fn gst_harness_stress_push_buffer_with_cb_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
|
@ -312,13 +257,11 @@ extern "C" {
|
||||||
notify: glib::GDestroyNotify,
|
notify: glib::GDestroyNotify,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_push_event_start_full(
|
pub fn gst_harness_stress_push_event_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
event: *mut gst::GstEvent,
|
event: *mut gst::GstEvent,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_push_event_with_cb_start_full(
|
pub fn gst_harness_stress_push_event_with_cb_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
func: GstHarnessPrepareEventFunc,
|
func: GstHarnessPrepareEventFunc,
|
||||||
|
@ -326,13 +269,11 @@ extern "C" {
|
||||||
notify: glib::GDestroyNotify,
|
notify: glib::GDestroyNotify,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_push_upstream_event_start_full(
|
pub fn gst_harness_stress_push_upstream_event_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
event: *mut gst::GstEvent,
|
event: *mut gst::GstEvent,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_push_upstream_event_with_cb_start_full(
|
pub fn gst_harness_stress_push_upstream_event_with_cb_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
func: GstHarnessPrepareEventFunc,
|
func: GstHarnessPrepareEventFunc,
|
||||||
|
@ -340,7 +281,6 @@ extern "C" {
|
||||||
notify: glib::GDestroyNotify,
|
notify: glib::GDestroyNotify,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_requestpad_start_full(
|
pub fn gst_harness_stress_requestpad_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
templ: *mut gst::GstPadTemplate,
|
templ: *mut gst::GstPadTemplate,
|
||||||
|
@ -349,7 +289,6 @@ extern "C" {
|
||||||
release: gboolean,
|
release: gboolean,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
) -> *mut GstHarnessThread;
|
) -> *mut GstHarnessThread;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_statechange_start_full(
|
pub fn gst_harness_stress_statechange_start_full(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
sleep: c_ulong,
|
sleep: c_ulong,
|
||||||
|
@ -360,33 +299,21 @@ extern "C" {
|
||||||
pub fn gst_harness_take_all_data_as_buffer(h: *mut GstHarness) -> *mut gst::GstBuffer;
|
pub fn gst_harness_take_all_data_as_buffer(h: *mut GstHarness) -> *mut gst::GstBuffer;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_harness_take_all_data_as_bytes(h: *mut GstHarness) -> *mut glib::GBytes;
|
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);
|
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;
|
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;
|
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;
|
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;
|
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;
|
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);
|
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);
|
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(
|
pub fn gst_harness_wait_for_clock_id_waits(
|
||||||
h: *mut GstHarness,
|
h: *mut GstHarness,
|
||||||
waits: c_uint,
|
waits: c_uint,
|
||||||
timeout: c_uint,
|
timeout: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_new(element_name: *const c_char) -> *mut GstHarness;
|
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;
|
pub fn gst_harness_new_empty() -> *mut GstHarness;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_new_full(
|
pub fn gst_harness_new_full(
|
||||||
element: *mut gst::GstElement,
|
element: *mut gst::GstElement,
|
||||||
hsrc: *mut gst::GstStaticPadTemplate,
|
hsrc: *mut gst::GstStaticPadTemplate,
|
||||||
|
@ -394,52 +321,38 @@ extern "C" {
|
||||||
hsink: *mut gst::GstStaticPadTemplate,
|
hsink: *mut gst::GstStaticPadTemplate,
|
||||||
element_srcpad_name: *const c_char,
|
element_srcpad_name: *const c_char,
|
||||||
) -> *mut GstHarness;
|
) -> *mut GstHarness;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_new_parse(launchline: *const c_char) -> *mut GstHarness;
|
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(
|
pub fn gst_harness_new_with_element(
|
||||||
element: *mut gst::GstElement,
|
element: *mut gst::GstElement,
|
||||||
element_sinkpad_name: *const c_char,
|
element_sinkpad_name: *const c_char,
|
||||||
element_srcpad_name: *const c_char,
|
element_srcpad_name: *const c_char,
|
||||||
) -> *mut GstHarness;
|
) -> *mut GstHarness;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_new_with_padnames(
|
pub fn gst_harness_new_with_padnames(
|
||||||
element_name: *const c_char,
|
element_name: *const c_char,
|
||||||
element_sinkpad_name: *const c_char,
|
element_sinkpad_name: *const c_char,
|
||||||
element_srcpad_name: *const c_char,
|
element_srcpad_name: *const c_char,
|
||||||
) -> *mut GstHarness;
|
) -> *mut GstHarness;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_new_with_templates(
|
pub fn gst_harness_new_with_templates(
|
||||||
element_name: *const c_char,
|
element_name: *const c_char,
|
||||||
hsrc: *mut gst::GstStaticPadTemplate,
|
hsrc: *mut gst::GstStaticPadTemplate,
|
||||||
hsink: *mut gst::GstStaticPadTemplate,
|
hsink: *mut gst::GstStaticPadTemplate,
|
||||||
) -> *mut GstHarness;
|
) -> *mut GstHarness;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_harness_stress_thread_stop(t: *mut GstHarnessThread) -> c_uint;
|
pub fn gst_harness_stress_thread_stop(t: *mut GstHarnessThread) -> c_uint;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstTestClock
|
// GstTestClock
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_test_clock_get_type() -> GType;
|
pub fn gst_test_clock_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_test_clock_new() -> *mut gst::GstClock;
|
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;
|
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(
|
pub fn gst_test_clock_id_list_get_latest_time(
|
||||||
pending_list: *const glib::GList,
|
pending_list: *const glib::GList,
|
||||||
) -> gst::GstClockTime;
|
) -> gst::GstClockTime;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_test_clock_advance_time(test_clock: *mut GstTestClock, delta: gst::GstClockTimeDiff);
|
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;
|
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;
|
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;
|
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;
|
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(
|
pub fn gst_test_clock_peek_next_pending_id(
|
||||||
test_clock: *mut GstTestClock,
|
test_clock: *mut GstTestClock,
|
||||||
pending_id: *mut gst::GstClockID,
|
pending_id: *mut gst::GstClockID,
|
||||||
|
@ -449,14 +362,11 @@ extern "C" {
|
||||||
test_clock: *mut GstTestClock,
|
test_clock: *mut GstTestClock,
|
||||||
pending_id: gst::GstClockID,
|
pending_id: gst::GstClockID,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_test_clock_process_id_list(
|
pub fn gst_test_clock_process_id_list(
|
||||||
test_clock: *mut GstTestClock,
|
test_clock: *mut GstTestClock,
|
||||||
pending_list: *const glib::GList,
|
pending_list: *const glib::GList,
|
||||||
) -> c_uint;
|
) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_test_clock_process_next_clock_id(test_clock: *mut GstTestClock) -> gst::GstClockID;
|
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);
|
pub fn gst_test_clock_set_time(test_clock: *mut GstTestClock, new_time: gst::GstClockTime);
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_test_clock_timed_wait_for_multiple_pending_ids(
|
pub fn gst_test_clock_timed_wait_for_multiple_pending_ids(
|
||||||
|
@ -465,18 +375,15 @@ extern "C" {
|
||||||
timeout_ms: c_uint,
|
timeout_ms: c_uint,
|
||||||
pending_list: *mut *mut glib::GList,
|
pending_list: *mut *mut glib::GList,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_test_clock_wait_for_multiple_pending_ids(
|
pub fn gst_test_clock_wait_for_multiple_pending_ids(
|
||||||
test_clock: *mut GstTestClock,
|
test_clock: *mut GstTestClock,
|
||||||
count: c_uint,
|
count: c_uint,
|
||||||
pending_list: *mut *mut glib::GList,
|
pending_list: *mut *mut glib::GList,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_test_clock_wait_for_next_pending_id(
|
pub fn gst_test_clock_wait_for_next_pending_id(
|
||||||
test_clock: *mut GstTestClock,
|
test_clock: *mut GstTestClock,
|
||||||
pending_id: *mut gst::GstClockID,
|
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);
|
pub fn gst_test_clock_wait_for_pending_id_count(test_clock: *mut GstTestClock, count: c_uint);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_check_sys;
|
extern crate gstreamer_check_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -2740,7 +2740,6 @@ extern "C" {
|
||||||
self_: *mut GESAsset,
|
self_: *mut GESAsset,
|
||||||
error: *mut *mut glib::GError,
|
error: *mut *mut glib::GError,
|
||||||
) -> *mut GESExtractable;
|
) -> *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_error(self_: *mut GESAsset) -> *mut glib::GError;
|
||||||
pub fn ges_asset_get_extractable_type(self_: *mut GESAsset) -> GType;
|
pub fn ges_asset_get_extractable_type(self_: *mut GESAsset) -> GType;
|
||||||
pub fn ges_asset_get_id(self_: *mut GESAsset) -> *const c_char;
|
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_get_type() -> GType;
|
||||||
pub fn ges_clip_add_asset(clip: *mut GESClip, asset: *mut GESAsset) -> *mut GESTrackElement;
|
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(
|
pub fn ges_clip_add_child_to_track(
|
||||||
clip: *mut GESClip,
|
clip: *mut GESClip,
|
||||||
child: *mut GESTrackElement,
|
child: *mut GESTrackElement,
|
||||||
|
@ -2856,6 +2856,7 @@ extern "C" {
|
||||||
) -> gst::GstClockTime;
|
) -> gst::GstClockTime;
|
||||||
pub fn ges_clip_get_layer(clip: *mut GESClip) -> *mut GESLayer;
|
pub fn ges_clip_get_layer(clip: *mut GESClip) -> *mut GESLayer;
|
||||||
pub fn ges_clip_get_supported_formats(clip: *mut GESClip) -> GESTrackType;
|
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(
|
pub fn ges_clip_get_timeline_time_from_internal_time(
|
||||||
clip: *mut GESClip,
|
clip: *mut GESClip,
|
||||||
child: *mut GESTrackElement,
|
child: *mut GESTrackElement,
|
||||||
|
@ -2917,10 +2918,12 @@ extern "C" {
|
||||||
// GESClipAsset
|
// GESClipAsset
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn ges_clip_asset_get_type() -> GType;
|
pub fn ges_clip_asset_get_type() -> GType;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_clip_asset_get_frame_time(
|
pub fn ges_clip_asset_get_frame_time(
|
||||||
self_: *mut GESClipAsset,
|
self_: *mut GESClipAsset,
|
||||||
frame_number: GESFrameNumber,
|
frame_number: GESFrameNumber,
|
||||||
) -> gst::GstClockTime;
|
) -> gst::GstClockTime;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_clip_asset_get_natural_framerate(
|
pub fn ges_clip_asset_get_natural_framerate(
|
||||||
self_: *mut GESClipAsset,
|
self_: *mut GESClipAsset,
|
||||||
framerate_n: *mut c_int,
|
framerate_n: *mut c_int,
|
||||||
|
@ -3059,6 +3062,7 @@ extern "C" {
|
||||||
clip: *mut GESClip,
|
clip: *mut GESClip,
|
||||||
error: *mut *mut glib::GError,
|
error: *mut *mut glib::GError,
|
||||||
) -> gboolean;
|
) -> 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_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_auto_transition(layer: *mut GESLayer) -> gboolean;
|
||||||
pub fn ges_layer_get_clips(layer: *mut GESLayer) -> *mut glib::GList;
|
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_get_timeline(layer: *mut GESLayer) -> *mut GESTimeline;
|
||||||
pub fn ges_layer_is_empty(layer: *mut GESLayer) -> gboolean;
|
pub fn ges_layer_is_empty(layer: *mut GESLayer) -> gboolean;
|
||||||
pub fn ges_layer_remove_clip(layer: *mut GESLayer, clip: *mut GESClip) -> 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(
|
pub fn ges_layer_set_active_for_tracks(
|
||||||
layer: *mut GESLayer,
|
layer: *mut GESLayer,
|
||||||
active: gboolean,
|
active: gboolean,
|
||||||
|
@ -3084,11 +3089,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GESMarker
|
// GESMarker
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_marker_get_type() -> GType;
|
pub fn ges_marker_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GESMarkerList
|
// GESMarkerList
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_marker_list_get_type() -> GType;
|
pub fn ges_marker_list_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_marker_list_new() -> *mut GESMarkerList;
|
pub fn ges_marker_list_new() -> *mut GESMarkerList;
|
||||||
|
@ -3237,6 +3244,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GESSourceClipAsset
|
// GESSourceClipAsset
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_source_clip_asset_get_type() -> GType;
|
pub fn ges_source_clip_asset_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -3318,10 +3326,12 @@ extern "C" {
|
||||||
timeline: *mut GESTimeline,
|
timeline: *mut GESTimeline,
|
||||||
name: *const c_char,
|
name: *const c_char,
|
||||||
) -> *mut GESTimelineElement;
|
) -> *mut GESTimelineElement;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_timeline_get_frame_at(
|
pub fn ges_timeline_get_frame_at(
|
||||||
self_: *mut GESTimeline,
|
self_: *mut GESTimeline,
|
||||||
timestamp: gst::GstClockTime,
|
timestamp: gst::GstClockTime,
|
||||||
) -> GESFrameNumber;
|
) -> GESFrameNumber;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_timeline_get_frame_time(
|
pub fn ges_timeline_get_frame_time(
|
||||||
self_: *mut GESTimeline,
|
self_: *mut GESTimeline,
|
||||||
frame_number: GESFrameNumber,
|
frame_number: GESFrameNumber,
|
||||||
|
@ -3442,7 +3452,6 @@ extern "C" {
|
||||||
pub fn ges_timeline_element_get_toplevel_parent(
|
pub fn ges_timeline_element_get_toplevel_parent(
|
||||||
self_: *mut GESTimelineElement,
|
self_: *mut GESTimelineElement,
|
||||||
) -> *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_get_track_types(self_: *mut GESTimelineElement) -> GESTrackType;
|
||||||
pub fn ges_timeline_element_list_children_properties(
|
pub fn ges_timeline_element_list_children_properties(
|
||||||
self_: *mut GESTimelineElement,
|
self_: *mut GESTimelineElement,
|
||||||
|
@ -3454,7 +3463,6 @@ extern "C" {
|
||||||
child: *mut *mut gobject::GObject,
|
child: *mut *mut gobject::GObject,
|
||||||
pspec: *mut *mut gobject::GParamSpec,
|
pspec: *mut *mut gobject::GParamSpec,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn ges_timeline_element_paste(
|
pub fn ges_timeline_element_paste(
|
||||||
self_: *mut GESTimelineElement,
|
self_: *mut GESTimelineElement,
|
||||||
paste_position: gst::GstClockTime,
|
paste_position: gst::GstClockTime,
|
||||||
|
@ -3670,10 +3678,10 @@ extern "C" {
|
||||||
) -> *mut gst::GstControlBinding;
|
) -> *mut gst::GstControlBinding;
|
||||||
pub fn ges_track_element_get_element(object: *mut GESTrackElement) -> *mut gst::GstElement;
|
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;
|
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_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(object: *mut GESTrackElement) -> *mut GESTrack;
|
||||||
pub fn ges_track_element_get_track_type(object: *mut GESTrackElement) -> GESTrackType;
|
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_has_internal_source(object: *mut GESTrackElement) -> gboolean;
|
||||||
pub fn ges_track_element_is_active(object: *mut GESTrackElement) -> gboolean;
|
pub fn ges_track_element_is_active(object: *mut GESTrackElement) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
|
@ -3721,6 +3729,7 @@ extern "C" {
|
||||||
property_name: *const c_char,
|
property_name: *const c_char,
|
||||||
binding_type: *const c_char,
|
binding_type: *const c_char,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_track_element_set_has_internal_source(
|
pub fn ges_track_element_set_has_internal_source(
|
||||||
object: *mut GESTrackElement,
|
object: *mut GESTrackElement,
|
||||||
has_internal_source: gboolean,
|
has_internal_source: gboolean,
|
||||||
|
@ -3731,6 +3740,7 @@ extern "C" {
|
||||||
// GESTrackElementAsset
|
// GESTrackElementAsset
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn ges_track_element_asset_get_type() -> GType;
|
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(
|
pub fn ges_track_element_asset_get_natural_framerate(
|
||||||
self_: *mut GESTrackElementAsset,
|
self_: *mut GESTrackElementAsset,
|
||||||
framerate_n: *mut c_int,
|
framerate_n: *mut c_int,
|
||||||
|
@ -3806,12 +3816,14 @@ extern "C" {
|
||||||
asset: *mut GESUriSourceAsset,
|
asset: *mut GESUriSourceAsset,
|
||||||
) -> *mut gst_pbutils::GstDiscovererStreamInfo;
|
) -> *mut gst_pbutils::GstDiscovererStreamInfo;
|
||||||
pub fn ges_uri_source_asset_get_stream_uri(asset: *mut GESUriSourceAsset) -> *const c_char;
|
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;
|
pub fn ges_uri_source_asset_is_image(asset: *mut GESUriSourceAsset) -> gboolean;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GESVideoSource
|
// GESVideoSource
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn ges_video_source_get_type() -> GType;
|
pub fn ges_video_source_get_type() -> GType;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_video_source_get_natural_size(
|
pub fn ges_video_source_get_natural_size(
|
||||||
self_: *mut GESVideoSource,
|
self_: *mut GESVideoSource,
|
||||||
width: *mut c_int,
|
width: *mut c_int,
|
||||||
|
@ -4015,6 +4027,7 @@ extern "C" {
|
||||||
meta_item: *const c_char,
|
meta_item: *const c_char,
|
||||||
value: u64,
|
value: u64,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn ges_meta_container_register_static_meta(
|
pub fn ges_meta_container_register_static_meta(
|
||||||
container: *mut GESMetaContainer,
|
container: *mut GESMetaContainer,
|
||||||
flags: GESMetaFlag,
|
flags: GESMetaFlag,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_editing_services_sys;
|
extern crate gstreamer_editing_services_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -2044,6 +2044,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstGLBaseSrc
|
// GstGLBaseSrc
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_gl_base_src_get_type() -> GType;
|
pub fn gst_gl_base_src_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_gl_sys;
|
extern crate gstreamer_gl_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -1899,6 +1899,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstMpegtsAtscRRT
|
// GstMpegtsAtscRRT
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_mpegts_atsc_rrt_get_type() -> GType;
|
pub fn gst_mpegts_atsc_rrt_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_mpegts_atsc_rrt_new() -> *mut GstMpegtsAtscRRT;
|
pub fn gst_mpegts_atsc_rrt_new() -> *mut GstMpegtsAtscRRT;
|
||||||
|
@ -1912,6 +1913,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstMpegtsAtscRRTDimensionValue
|
// GstMpegtsAtscRRTDimensionValue
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_mpegts_atsc_rrt_dimension_value_get_type() -> GType;
|
pub fn gst_mpegts_atsc_rrt_dimension_value_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_mpegts_atsc_rrt_dimension_value_new() -> *mut GstMpegtsAtscRRTDimensionValue;
|
pub fn gst_mpegts_atsc_rrt_dimension_value_new() -> *mut GstMpegtsAtscRRTDimensionValue;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_mpegts_sys;
|
extern crate gstreamer_mpegts_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -290,7 +290,6 @@ extern "C" {
|
||||||
// GstNtpClock
|
// GstNtpClock
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_ntp_clock_get_type() -> GType;
|
pub fn gst_ntp_clock_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_ntp_clock_new(
|
pub fn gst_ntp_clock_new(
|
||||||
name: *const c_char,
|
name: *const c_char,
|
||||||
remote_address: *const c_char,
|
remote_address: *const c_char,
|
||||||
|
@ -302,7 +301,6 @@ extern "C" {
|
||||||
// GstPtpClock
|
// GstPtpClock
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_ptp_clock_get_type() -> GType;
|
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;
|
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;
|
pub fn gst_net_control_message_meta_api_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_net_utils_set_socket_tos(socket: *mut gio::GSocket, qos_dscp: c_int) -> gboolean;
|
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();
|
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;
|
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;
|
pub fn gst_ptp_is_initialized() -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_ptp_is_supported() -> gboolean;
|
pub fn gst_ptp_is_supported() -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_ptp_statistics_callback_add(
|
pub fn gst_ptp_statistics_callback_add(
|
||||||
callback: GstPtpStatisticsCallback,
|
callback: GstPtpStatisticsCallback,
|
||||||
user_data: gpointer,
|
user_data: gpointer,
|
||||||
destroy_data: glib::GDestroyNotify,
|
destroy_data: glib::GDestroyNotify,
|
||||||
) -> c_ulong;
|
) -> c_ulong;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_ptp_statistics_callback_remove(id: c_ulong);
|
pub fn gst_ptp_statistics_callback_remove(id: c_ulong);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_net_sys;
|
extern crate gstreamer_net_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![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_get_type() -> GType;
|
||||||
pub fn gst_install_plugins_context_new() -> *mut GstInstallPluginsContext;
|
pub fn gst_install_plugins_context_new() -> *mut GstInstallPluginsContext;
|
||||||
|
#[cfg(any(feature = "v1_12_1", feature = "dox"))]
|
||||||
pub fn gst_install_plugins_context_copy(
|
pub fn gst_install_plugins_context_copy(
|
||||||
ctx: *mut GstInstallPluginsContext,
|
ctx: *mut GstInstallPluginsContext,
|
||||||
) -> *mut GstInstallPluginsContext;
|
) -> *mut GstInstallPluginsContext;
|
||||||
pub fn gst_install_plugins_context_free(ctx: *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(
|
pub fn gst_install_plugins_context_set_confirm_search(
|
||||||
ctx: *mut GstInstallPluginsContext,
|
ctx: *mut GstInstallPluginsContext,
|
||||||
confirm_search: gboolean,
|
confirm_search: gboolean,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_install_plugins_context_set_desktop_id(
|
pub fn gst_install_plugins_context_set_desktop_id(
|
||||||
ctx: *mut GstInstallPluginsContext,
|
ctx: *mut GstInstallPluginsContext,
|
||||||
desktop_id: *const c_char,
|
desktop_id: *const c_char,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_install_plugins_context_set_startup_notification_id(
|
pub fn gst_install_plugins_context_set_startup_notification_id(
|
||||||
ctx: *mut GstInstallPluginsContext,
|
ctx: *mut GstInstallPluginsContext,
|
||||||
startup_id: *const c_char,
|
startup_id: *const c_char,
|
||||||
|
@ -453,7 +451,6 @@ extern "C" {
|
||||||
// GstDiscovererInfo
|
// GstDiscovererInfo
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_discoverer_info_get_type() -> GType;
|
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)
|
pub fn gst_discoverer_info_from_variant(variant: *mut glib::GVariant)
|
||||||
-> *mut GstDiscovererInfo;
|
-> *mut GstDiscovererInfo;
|
||||||
pub fn gst_discoverer_info_copy(ptr: *mut GstDiscovererInfo) -> *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_live(info: *const GstDiscovererInfo) -> gboolean;
|
||||||
pub fn gst_discoverer_info_get_misc(info: *const GstDiscovererInfo)
|
pub fn gst_discoverer_info_get_misc(info: *const GstDiscovererInfo)
|
||||||
-> *const gst::GstStructure;
|
-> *const gst::GstStructure;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_discoverer_info_get_missing_elements_installer_details(
|
pub fn gst_discoverer_info_get_missing_elements_installer_details(
|
||||||
info: *const GstDiscovererInfo,
|
info: *const GstDiscovererInfo,
|
||||||
) -> *mut *const c_char;
|
) -> *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_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_uri(info: *const GstDiscovererInfo) -> *const c_char;
|
||||||
pub fn gst_discoverer_info_get_video_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
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(
|
pub fn gst_discoverer_info_to_variant(
|
||||||
info: *mut GstDiscovererInfo,
|
info: *mut GstDiscovererInfo,
|
||||||
flags: GstDiscovererSerializeFlags,
|
flags: GstDiscovererSerializeFlags,
|
||||||
|
@ -634,7 +629,6 @@ extern "C" {
|
||||||
profile: *mut GstEncodingProfile,
|
profile: *mut GstEncodingProfile,
|
||||||
description: *const c_char,
|
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_enabled(profile: *mut GstEncodingProfile, enabled: gboolean);
|
||||||
pub fn gst_encoding_profile_set_format(
|
pub fn gst_encoding_profile_set_format(
|
||||||
profile: *mut GstEncodingProfile,
|
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(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_level_idc(level: *const c_char) -> u8;
|
||||||
pub fn gst_codec_utils_h264_get_profile(sps: *const u8, len: c_uint) -> *const c_char;
|
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(
|
pub fn gst_codec_utils_h265_caps_set_level_tier_and_profile(
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
profile_tier_level: *const u8,
|
profile_tier_level: *const u8,
|
||||||
len: c_uint,
|
len: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_h265_get_level(
|
pub fn gst_codec_utils_h265_get_level(
|
||||||
profile_tier_level: *const u8,
|
profile_tier_level: *const u8,
|
||||||
len: c_uint,
|
len: c_uint,
|
||||||
) -> *const c_char;
|
) -> *const c_char;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_h265_get_level_idc(level: *const c_char) -> u8;
|
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(
|
pub fn gst_codec_utils_h265_get_profile(
|
||||||
profile_tier_level: *const u8,
|
profile_tier_level: *const u8,
|
||||||
len: c_uint,
|
len: c_uint,
|
||||||
) -> *const c_char;
|
) -> *const c_char;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_h265_get_tier(
|
pub fn gst_codec_utils_h265_get_tier(
|
||||||
profile_tier_level: *const u8,
|
profile_tier_level: *const u8,
|
||||||
len: c_uint,
|
len: c_uint,
|
||||||
|
@ -778,7 +767,6 @@ extern "C" {
|
||||||
vis_obj_seq: *const u8,
|
vis_obj_seq: *const u8,
|
||||||
len: c_uint,
|
len: c_uint,
|
||||||
) -> *const c_char;
|
) -> *const c_char;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_opus_create_caps(
|
pub fn gst_codec_utils_opus_create_caps(
|
||||||
rate: u32,
|
rate: u32,
|
||||||
channels: u8,
|
channels: u8,
|
||||||
|
@ -787,12 +775,10 @@ extern "C" {
|
||||||
coupled_count: u8,
|
coupled_count: u8,
|
||||||
channel_mapping: *const u8,
|
channel_mapping: *const u8,
|
||||||
) -> *mut gst::GstCaps;
|
) -> *mut gst::GstCaps;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_opus_create_caps_from_header(
|
pub fn gst_codec_utils_opus_create_caps_from_header(
|
||||||
header: *mut gst::GstBuffer,
|
header: *mut gst::GstBuffer,
|
||||||
comments: *mut gst::GstBuffer,
|
comments: *mut gst::GstBuffer,
|
||||||
) -> *mut gst::GstCaps;
|
) -> *mut gst::GstCaps;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_opus_create_header(
|
pub fn gst_codec_utils_opus_create_header(
|
||||||
rate: u32,
|
rate: u32,
|
||||||
channels: u8,
|
channels: u8,
|
||||||
|
@ -803,7 +789,6 @@ extern "C" {
|
||||||
pre_skip: u16,
|
pre_skip: u16,
|
||||||
output_gain: i16,
|
output_gain: i16,
|
||||||
) -> *mut gst::GstBuffer;
|
) -> *mut gst::GstBuffer;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_opus_parse_caps(
|
pub fn gst_codec_utils_opus_parse_caps(
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
rate: *mut u32,
|
rate: *mut u32,
|
||||||
|
@ -813,7 +798,6 @@ extern "C" {
|
||||||
coupled_count: *mut u8,
|
coupled_count: *mut u8,
|
||||||
channel_mapping: *mut [u8; 256],
|
channel_mapping: *mut [u8; 256],
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_codec_utils_opus_parse_header(
|
pub fn gst_codec_utils_opus_parse_header(
|
||||||
header: *mut gst::GstBuffer,
|
header: *mut gst::GstBuffer,
|
||||||
rate: *mut u32,
|
rate: *mut u32,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_pbutils_sys;
|
extern crate gstreamer_pbutils_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_player_sys;
|
extern crate gstreamer_player_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@ tempfile = "3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
v1_4 = ["v1_2"]
|
v1_4 = ["v1_2"]
|
||||||
v1_8 = ["v1_6_1"]
|
v1_8 = ["v1_6"]
|
||||||
v1_8_1 = ["v1_8"]
|
v1_8_1 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
v1_14 = ["v1_12"]
|
v1_14 = ["v1_12"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -43,8 +43,6 @@ fn find() -> Result<(), Error> {
|
||||||
"1.10"
|
"1.10"
|
||||||
} else if cfg!(feature = "v1_8") {
|
} else if cfg!(feature = "v1_8") {
|
||||||
"1.8"
|
"1.8"
|
||||||
} else if cfg!(feature = "v1_6_1") {
|
|
||||||
"1.6.1"
|
|
||||||
} else if cfg!(feature = "v1_6") {
|
} else if cfg!(feature = "v1_6") {
|
||||||
"1.6"
|
"1.6"
|
||||||
} else if cfg!(feature = "v1_4") {
|
} else if cfg!(feature = "v1_4") {
|
||||||
|
@ -52,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -503,6 +503,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTCPXRType
|
// GstRTCPXRType
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_rtcpxr_type_get_type() -> GType;
|
pub fn gst_rtcpxr_type_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -518,6 +519,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTPBufferFlags
|
// GstRTPBufferFlags
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_rtp_buffer_flags_get_type() -> GType;
|
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_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(buffer: *mut gst::GstBuffer) -> gboolean;
|
||||||
pub fn gst_rtcp_buffer_validate_data(data: *mut u8, len: c_uint) -> 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;
|
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;
|
pub fn gst_rtcp_buffer_validate_reduced(buffer: *mut gst::GstBuffer) -> gboolean;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTCPPacket
|
// GstRTCPPacket
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_rtcp_packet_add_profile_specific_ext(
|
pub fn gst_rtcp_packet_add_profile_specific_ext(
|
||||||
packet: *mut GstRTCPPacket,
|
packet: *mut GstRTCPPacket,
|
||||||
data: *const u8,
|
data: *const u8,
|
||||||
|
@ -607,6 +608,7 @@ extern "C" {
|
||||||
packet: *mut GstRTCPPacket,
|
packet: *mut GstRTCPPacket,
|
||||||
reason: *const c_char,
|
reason: *const c_char,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_rtcp_packet_copy_profile_specific_ext(
|
pub fn gst_rtcp_packet_copy_profile_specific_ext(
|
||||||
packet: *mut GstRTCPPacket,
|
packet: *mut GstRTCPPacket,
|
||||||
data: *mut *mut u8,
|
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_count(packet: *mut GstRTCPPacket) -> u8;
|
||||||
pub fn gst_rtcp_packet_get_length(packet: *mut GstRTCPPacket) -> u16;
|
pub fn gst_rtcp_packet_get_length(packet: *mut GstRTCPPacket) -> u16;
|
||||||
pub fn gst_rtcp_packet_get_padding(packet: *mut GstRTCPPacket) -> gboolean;
|
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(
|
pub fn gst_rtcp_packet_get_profile_specific_ext(
|
||||||
packet: *mut GstRTCPPacket,
|
packet: *mut GstRTCPPacket,
|
||||||
data: *mut *mut u8,
|
data: *mut *mut u8,
|
||||||
len: *mut c_uint,
|
len: *mut c_uint,
|
||||||
) -> gboolean;
|
) -> 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_profile_specific_ext_length(packet: *mut GstRTCPPacket) -> u16;
|
||||||
pub fn gst_rtcp_packet_get_rb(
|
pub fn gst_rtcp_packet_get_rb(
|
||||||
packet: *mut GstRTCPPacket,
|
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(rtp: *mut GstRTPBuffer, idx: u8) -> u32;
|
||||||
pub fn gst_rtp_buffer_get_csrc_count(rtp: *mut GstRTPBuffer) -> u8;
|
pub fn gst_rtp_buffer_get_csrc_count(rtp: *mut GstRTPBuffer) -> u8;
|
||||||
pub fn gst_rtp_buffer_get_extension(rtp: *mut GstRTPBuffer) -> gboolean;
|
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(
|
pub fn gst_rtp_buffer_get_extension_bytes(
|
||||||
rtp: *mut GstRTPBuffer,
|
rtp: *mut GstRTPBuffer,
|
||||||
bits: *mut u16,
|
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_padding(rtp: *mut GstRTPBuffer) -> gboolean;
|
||||||
pub fn gst_rtp_buffer_get_payload(rtp: *mut GstRTPBuffer) -> gpointer;
|
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;
|
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_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_len(rtp: *mut GstRTPBuffer) -> c_uint;
|
||||||
pub fn gst_rtp_buffer_get_payload_subbuffer(
|
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;
|
pub fn gst_rtp_source_meta_get_source_count(meta: *const GstRTPSourceMeta) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_rtp_source_meta_set_ssrc(meta: *mut GstRTPSourceMeta, ssrc: *mut u32) -> gboolean;
|
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;
|
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_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_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;
|
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;
|
pub fn gst_rtp_source_meta_api_get_type() -> GType;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_rtp_sys;
|
extern crate gstreamer_rtp_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -1439,7 +1439,6 @@ extern "C" {
|
||||||
auth: *mut GstRTSPAuth,
|
auth: *mut GstRTSPAuth,
|
||||||
) -> gio::GTlsAuthenticationMode;
|
) -> gio::GTlsAuthenticationMode;
|
||||||
pub fn gst_rtsp_auth_get_tls_certificate(auth: *mut GstRTSPAuth) -> *mut gio::GTlsCertificate;
|
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;
|
pub fn gst_rtsp_auth_get_tls_database(auth: *mut GstRTSPAuth) -> *mut gio::GTlsDatabase;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_rtsp_auth_parse_htdigest(
|
pub fn gst_rtsp_auth_parse_htdigest(
|
||||||
|
@ -1458,7 +1457,6 @@ extern "C" {
|
||||||
auth: *mut GstRTSPAuth,
|
auth: *mut GstRTSPAuth,
|
||||||
methods: gst_rtsp::GstRTSPAuthMethod,
|
methods: gst_rtsp::GstRTSPAuthMethod,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_auth_set_tls_authentication_mode(
|
pub fn gst_rtsp_auth_set_tls_authentication_mode(
|
||||||
auth: *mut GstRTSPAuth,
|
auth: *mut GstRTSPAuth,
|
||||||
mode: gio::GTlsAuthenticationMode,
|
mode: gio::GTlsAuthenticationMode,
|
||||||
|
@ -1467,7 +1465,6 @@ extern "C" {
|
||||||
auth: *mut GstRTSPAuth,
|
auth: *mut GstRTSPAuth,
|
||||||
cert: *mut gio::GTlsCertificate,
|
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);
|
pub fn gst_rtsp_auth_set_tls_database(auth: *mut GstRTSPAuth, database: *mut gio::GTlsDatabase);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1479,7 +1476,6 @@ extern "C" {
|
||||||
client: *mut GstRTSPClient,
|
client: *mut GstRTSPClient,
|
||||||
context: *mut glib::GMainContext,
|
context: *mut glib::GMainContext,
|
||||||
) -> c_uint;
|
) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_client_close(client: *mut GstRTSPClient);
|
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_auth(client: *mut GstRTSPClient) -> *mut GstRTSPAuth;
|
||||||
pub fn gst_rtsp_client_get_connection(
|
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_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_profiles(media: *mut GstRTSPMedia) -> gst_rtsp::GstRTSPProfile;
|
||||||
pub fn gst_rtsp_media_get_protocols(media: *mut GstRTSPMedia) -> gst_rtsp::GstRTSPLowerTrans;
|
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(
|
pub fn gst_rtsp_media_get_publish_clock_mode(
|
||||||
media: *mut GstRTSPMedia,
|
media: *mut GstRTSPMedia,
|
||||||
) -> GstRTSPPublishClockMode;
|
) -> GstRTSPPublishClockMode;
|
||||||
|
@ -1681,7 +1676,6 @@ extern "C" {
|
||||||
media: *mut GstRTSPMedia,
|
media: *mut GstRTSPMedia,
|
||||||
protocols: gst_rtsp::GstRTSPLowerTrans,
|
protocols: gst_rtsp::GstRTSPLowerTrans,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_media_set_publish_clock_mode(
|
pub fn gst_rtsp_media_set_publish_clock_mode(
|
||||||
media: *mut GstRTSPMedia,
|
media: *mut GstRTSPMedia,
|
||||||
mode: GstRTSPPublishClockMode,
|
mode: GstRTSPPublishClockMode,
|
||||||
|
@ -1746,7 +1740,6 @@ extern "C" {
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
) -> *mut GstRTSPAddressPool;
|
) -> *mut GstRTSPAddressPool;
|
||||||
pub fn gst_rtsp_media_factory_get_buffer_size(factory: *mut GstRTSPMediaFactory) -> c_uint;
|
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(
|
pub fn gst_rtsp_media_factory_get_clock(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
) -> *mut gst::GstClock;
|
) -> *mut gst::GstClock;
|
||||||
|
@ -1760,7 +1753,6 @@ extern "C" {
|
||||||
pub fn gst_rtsp_media_factory_get_launch(factory: *mut GstRTSPMediaFactory) -> *mut c_char;
|
pub fn gst_rtsp_media_factory_get_launch(factory: *mut GstRTSPMediaFactory) -> *mut c_char;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_rtsp_media_factory_get_max_mcast_ttl(factory: *mut GstRTSPMediaFactory) -> c_uint;
|
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_media_gtype(factory: *mut GstRTSPMediaFactory) -> GType;
|
||||||
pub fn gst_rtsp_media_factory_get_multicast_iface(
|
pub fn gst_rtsp_media_factory_get_multicast_iface(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
|
@ -1774,7 +1766,6 @@ extern "C" {
|
||||||
pub fn gst_rtsp_media_factory_get_protocols(
|
pub fn gst_rtsp_media_factory_get_protocols(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
) -> gst_rtsp::GstRTSPLowerTrans;
|
) -> gst_rtsp::GstRTSPLowerTrans;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_media_factory_get_publish_clock_mode(
|
pub fn gst_rtsp_media_factory_get_publish_clock_mode(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
) -> GstRTSPPublishClockMode;
|
) -> GstRTSPPublishClockMode;
|
||||||
|
@ -1806,7 +1797,6 @@ extern "C" {
|
||||||
bind_mcast_addr: gboolean,
|
bind_mcast_addr: gboolean,
|
||||||
);
|
);
|
||||||
pub fn gst_rtsp_media_factory_set_buffer_size(factory: *mut GstRTSPMediaFactory, size: c_uint);
|
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(
|
pub fn gst_rtsp_media_factory_set_clock(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
clock: *mut gst::GstClock,
|
clock: *mut gst::GstClock,
|
||||||
|
@ -1832,7 +1822,6 @@ extern "C" {
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
ttl: c_uint,
|
ttl: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_media_factory_set_media_gtype(
|
pub fn gst_rtsp_media_factory_set_media_gtype(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
media_gtype: GType,
|
media_gtype: GType,
|
||||||
|
@ -1853,7 +1842,6 @@ extern "C" {
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
protocols: gst_rtsp::GstRTSPLowerTrans,
|
protocols: gst_rtsp::GstRTSPLowerTrans,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_media_factory_set_publish_clock_mode(
|
pub fn gst_rtsp_media_factory_set_publish_clock_mode(
|
||||||
factory: *mut GstRTSPMediaFactory,
|
factory: *mut GstRTSPMediaFactory,
|
||||||
mode: GstRTSPPublishClockMode,
|
mode: GstRTSPPublishClockMode,
|
||||||
|
@ -1914,6 +1902,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPOnvifClient
|
// GstRTSPOnvifClient
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_client_get_type() -> GType;
|
pub fn gst_rtsp_onvif_client_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_client_new() -> *mut GstRTSPClient;
|
pub fn gst_rtsp_onvif_client_new() -> *mut GstRTSPClient;
|
||||||
|
@ -1921,6 +1910,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPOnvifMedia
|
// GstRTSPOnvifMedia
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_media_get_type() -> GType;
|
pub fn gst_rtsp_onvif_media_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_media_collect_backchannel(media: *mut GstRTSPOnvifMedia) -> gboolean;
|
pub fn gst_rtsp_onvif_media_collect_backchannel(media: *mut GstRTSPOnvifMedia) -> gboolean;
|
||||||
|
@ -1935,6 +1925,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPOnvifMediaFactory
|
// GstRTSPOnvifMediaFactory
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_media_factory_get_type() -> GType;
|
pub fn gst_rtsp_onvif_media_factory_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_media_factory_new() -> *mut GstRTSPMediaFactory;
|
pub fn gst_rtsp_onvif_media_factory_new() -> *mut GstRTSPMediaFactory;
|
||||||
|
@ -1978,7 +1969,9 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPOnvifServer
|
// GstRTSPOnvifServer
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_onvif_server_get_type() -> GType;
|
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;
|
pub fn gst_rtsp_onvif_server_new() -> *mut GstRTSPServer;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2193,7 +2186,6 @@ extern "C" {
|
||||||
transport: *const gst_rtsp::GstRTSPTransport,
|
transport: *const gst_rtsp::GstRTSPTransport,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
pub fn gst_rtsp_stream_get_address_pool(stream: *mut GstRTSPStream) -> *mut GstRTSPAddressPool;
|
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_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_caps(stream: *mut GstRTSPStream) -> *mut gst::GstCaps;
|
||||||
pub fn gst_rtsp_stream_get_control(stream: *mut GstRTSPStream) -> *mut c_char;
|
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)
|
pub fn gst_rtsp_stream_get_protocols(stream: *mut GstRTSPStream)
|
||||||
-> gst_rtsp::GstRTSPLowerTrans;
|
-> gst_rtsp::GstRTSPLowerTrans;
|
||||||
pub fn gst_rtsp_stream_get_pt(stream: *mut GstRTSPStream) -> c_uint;
|
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(
|
pub fn gst_rtsp_stream_get_publish_clock_mode(
|
||||||
stream: *mut GstRTSPStream,
|
stream: *mut GstRTSPStream,
|
||||||
) -> GstRTSPPublishClockMode;
|
) -> GstRTSPPublishClockMode;
|
||||||
|
@ -2327,7 +2318,6 @@ extern "C" {
|
||||||
stream: *mut GstRTSPStream,
|
stream: *mut GstRTSPStream,
|
||||||
sessid: c_uint,
|
sessid: c_uint,
|
||||||
) -> *mut gst::GstElement;
|
) -> *mut gst::GstElement;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_stream_request_aux_sender(
|
pub fn gst_rtsp_stream_request_aux_sender(
|
||||||
stream: *mut GstRTSPStream,
|
stream: *mut GstRTSPStream,
|
||||||
sessid: c_uint,
|
sessid: c_uint,
|
||||||
|
@ -2362,7 +2352,6 @@ extern "C" {
|
||||||
bind_mcast_addr: gboolean,
|
bind_mcast_addr: gboolean,
|
||||||
);
|
);
|
||||||
pub fn gst_rtsp_stream_set_blocked(stream: *mut GstRTSPStream, blocked: gboolean) -> 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_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_client_side(stream: *mut GstRTSPStream, client_side: gboolean);
|
||||||
pub fn gst_rtsp_stream_set_control(stream: *mut GstRTSPStream, control: *const c_char);
|
pub fn gst_rtsp_stream_set_control(stream: *mut GstRTSPStream, control: *const c_char);
|
||||||
|
@ -2387,7 +2376,6 @@ extern "C" {
|
||||||
pt: c_uint,
|
pt: c_uint,
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_stream_set_publish_clock_mode(
|
pub fn gst_rtsp_stream_set_publish_clock_mode(
|
||||||
stream: *mut GstRTSPStream,
|
stream: *mut GstRTSPStream,
|
||||||
mode: GstRTSPPublishClockMode,
|
mode: GstRTSPPublishClockMode,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_rtsp_server_sys;
|
extern crate gstreamer_rtsp_server_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -27,7 +27,7 @@ tempfile = "3"
|
||||||
dox = []
|
dox = []
|
||||||
v1_2 = []
|
v1_2 = []
|
||||||
v1_2_1 = ["v1_2"]
|
v1_2_1 = ["v1_2"]
|
||||||
v1_4 = ["v1_2_1"]
|
v1_4 = ["v1_2"]
|
||||||
v1_6 = ["v1_4"]
|
v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -47,12 +47,10 @@ fn find() -> Result<(), Error> {
|
||||||
"1.6"
|
"1.6"
|
||||||
} else if cfg!(feature = "v1_4") {
|
} else if cfg!(feature = "v1_4") {
|
||||||
"1.4"
|
"1.4"
|
||||||
} else if cfg!(feature = "v1_2_1") {
|
|
||||||
"1.2.1"
|
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -790,13 +790,17 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPAuthCredential
|
// GstRTSPAuthCredential
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_rtsp_auth_credential_get_type() -> GType;
|
pub fn gst_rtsp_auth_credential_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPAuthParam
|
// GstRTSPAuthParam
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_rtsp_auth_param_get_type() -> GType;
|
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;
|
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);
|
pub fn gst_rtsp_auth_param_free(param: *mut GstRTSPAuthParam);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -813,7 +817,6 @@ extern "C" {
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
timeout: i64,
|
timeout: i64,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_connect_with_response(
|
pub fn gst_rtsp_connection_connect_with_response(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
timeout: *mut glib::GTimeVal,
|
timeout: *mut glib::GTimeVal,
|
||||||
|
@ -838,20 +841,16 @@ extern "C" {
|
||||||
pub fn gst_rtsp_connection_get_read_socket(conn: *const GstRTSPConnection)
|
pub fn gst_rtsp_connection_get_read_socket(conn: *const GstRTSPConnection)
|
||||||
-> *mut gio::GSocket;
|
-> *mut gio::GSocket;
|
||||||
pub fn gst_rtsp_connection_get_remember_session_id(conn: *mut GstRTSPConnection) -> gboolean;
|
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(
|
pub fn gst_rtsp_connection_get_tls(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
error: *mut *mut glib::GError,
|
error: *mut *mut glib::GError,
|
||||||
) -> *mut gio::GTlsConnection;
|
) -> *mut gio::GTlsConnection;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_get_tls_database(
|
pub fn gst_rtsp_connection_get_tls_database(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
) -> *mut gio::GTlsDatabase;
|
) -> *mut gio::GTlsDatabase;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_get_tls_interaction(
|
pub fn gst_rtsp_connection_get_tls_interaction(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
) -> *mut gio::GTlsInteraction;
|
) -> *mut gio::GTlsInteraction;
|
||||||
#[cfg(any(feature = "v1_2_1", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_get_tls_validation_flags(
|
pub fn gst_rtsp_connection_get_tls_validation_flags(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
) -> gio::GTlsCertificateFlags;
|
) -> gio::GTlsCertificateFlags;
|
||||||
|
@ -968,17 +967,14 @@ extern "C" {
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
remember: gboolean,
|
remember: gboolean,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_set_tls_database(
|
pub fn gst_rtsp_connection_set_tls_database(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
database: *mut gio::GTlsDatabase,
|
database: *mut gio::GTlsDatabase,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_set_tls_interaction(
|
pub fn gst_rtsp_connection_set_tls_interaction(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
interaction: *mut gio::GTlsInteraction,
|
interaction: *mut gio::GTlsInteraction,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_2_1", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_connection_set_tls_validation_flags(
|
pub fn gst_rtsp_connection_set_tls_validation_flags(
|
||||||
conn: *mut GstRTSPConnection,
|
conn: *mut GstRTSPConnection,
|
||||||
flags: gio::GTlsCertificateFlags,
|
flags: gio::GTlsCertificateFlags,
|
||||||
|
@ -1017,13 +1013,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstRTSPMessage
|
// GstRTSPMessage
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_msg_get_type() -> GType;
|
pub fn gst_rtsp_msg_get_type() -> GType;
|
||||||
pub fn gst_rtsp_message_add_header(
|
pub fn gst_rtsp_message_add_header(
|
||||||
msg: *mut GstRTSPMessage,
|
msg: *mut GstRTSPMessage,
|
||||||
field: GstRTSPHeaderField,
|
field: GstRTSPHeaderField,
|
||||||
value: *const c_char,
|
value: *const c_char,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_message_add_header_by_name(
|
pub fn gst_rtsp_message_add_header_by_name(
|
||||||
msg: *mut GstRTSPMessage,
|
msg: *mut GstRTSPMessage,
|
||||||
header: *const c_char,
|
header: *const c_char,
|
||||||
|
@ -1056,13 +1052,13 @@ extern "C" {
|
||||||
value: *mut *mut c_char,
|
value: *mut *mut c_char,
|
||||||
indx: c_int,
|
indx: c_int,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_message_get_header_by_name(
|
pub fn gst_rtsp_message_get_header_by_name(
|
||||||
msg: *mut GstRTSPMessage,
|
msg: *mut GstRTSPMessage,
|
||||||
header: *const c_char,
|
header: *const c_char,
|
||||||
value: *mut *mut c_char,
|
value: *mut *mut c_char,
|
||||||
index: c_int,
|
index: c_int,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
|
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||||
pub fn gst_rtsp_message_get_type(msg: *mut GstRTSPMessage) -> GstRTSPMsgType;
|
pub fn gst_rtsp_message_get_type(msg: *mut GstRTSPMessage) -> GstRTSPMsgType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_rtsp_message_has_body_buffer(msg: *const GstRTSPMessage) -> gboolean;
|
pub fn gst_rtsp_message_has_body_buffer(msg: *const GstRTSPMessage) -> gboolean;
|
||||||
|
@ -1103,7 +1099,6 @@ extern "C" {
|
||||||
field: GstRTSPHeaderField,
|
field: GstRTSPHeaderField,
|
||||||
indx: c_int,
|
indx: c_int,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_message_remove_header_by_name(
|
pub fn gst_rtsp_message_remove_header_by_name(
|
||||||
msg: *mut GstRTSPMessage,
|
msg: *mut GstRTSPMessage,
|
||||||
header: *const c_char,
|
header: *const c_char,
|
||||||
|
@ -1144,7 +1139,6 @@ extern "C" {
|
||||||
field: GstRTSPHeaderField,
|
field: GstRTSPHeaderField,
|
||||||
value: *mut c_char,
|
value: *mut c_char,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_message_take_header_by_name(
|
pub fn gst_rtsp_message_take_header_by_name(
|
||||||
msg: *mut GstRTSPMessage,
|
msg: *mut GstRTSPMessage,
|
||||||
header: *const c_char,
|
header: *const c_char,
|
||||||
|
@ -1160,7 +1154,6 @@ extern "C" {
|
||||||
unit: GstRTSPRangeUnit,
|
unit: GstRTSPRangeUnit,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
pub fn gst_rtsp_range_free(range: *mut GstRTSPTimeRange);
|
pub fn gst_rtsp_range_free(range: *mut GstRTSPTimeRange);
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_range_get_times(
|
pub fn gst_rtsp_range_get_times(
|
||||||
range: *const GstRTSPTimeRange,
|
range: *const GstRTSPTimeRange,
|
||||||
min: *mut gst::GstClockTime,
|
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_as_text(transport: *mut GstRTSPTransport) -> *mut c_char;
|
||||||
pub fn gst_rtsp_transport_free(transport: *mut GstRTSPTransport) -> GstRTSPResult;
|
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(
|
pub fn gst_rtsp_transport_get_media_type(
|
||||||
transport: *mut GstRTSPTransport,
|
transport: *mut GstRTSPTransport,
|
||||||
media_type: *mut *const c_char,
|
media_type: *mut *const c_char,
|
||||||
|
@ -1222,7 +1214,6 @@ extern "C" {
|
||||||
watch: *mut GstRTSPWatch,
|
watch: *mut GstRTSPWatch,
|
||||||
context: *mut glib::GMainContext,
|
context: *mut glib::GMainContext,
|
||||||
) -> c_uint;
|
) -> c_uint;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_watch_get_send_backlog(
|
pub fn gst_rtsp_watch_get_send_backlog(
|
||||||
watch: *mut GstRTSPWatch,
|
watch: *mut GstRTSPWatch,
|
||||||
bytes: *mut size_t,
|
bytes: *mut size_t,
|
||||||
|
@ -1241,16 +1232,13 @@ extern "C" {
|
||||||
n_messages: c_uint,
|
n_messages: c_uint,
|
||||||
id: *mut c_uint,
|
id: *mut c_uint,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_watch_set_flushing(watch: *mut GstRTSPWatch, flushing: gboolean);
|
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(
|
pub fn gst_rtsp_watch_set_send_backlog(
|
||||||
watch: *mut GstRTSPWatch,
|
watch: *mut GstRTSPWatch,
|
||||||
bytes: size_t,
|
bytes: size_t,
|
||||||
messages: c_uint,
|
messages: c_uint,
|
||||||
);
|
);
|
||||||
pub fn gst_rtsp_watch_unref(watch: *mut GstRTSPWatch);
|
pub fn gst_rtsp_watch_unref(watch: *mut GstRTSPWatch);
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_rtsp_watch_wait_backlog(
|
pub fn gst_rtsp_watch_wait_backlog(
|
||||||
watch: *mut GstRTSPWatch,
|
watch: *mut GstRTSPWatch,
|
||||||
timeout: *mut glib::GTimeVal,
|
timeout: *mut glib::GTimeVal,
|
||||||
|
@ -1363,7 +1351,6 @@ extern "C" {
|
||||||
request: *const GstRTSPMessage,
|
request: *const GstRTSPMessage,
|
||||||
) -> GstRTSPResult;
|
) -> GstRTSPResult;
|
||||||
pub fn gst_rtsp_options_as_text(options: GstRTSPMethod) -> *mut c_char;
|
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_options_from_text(options: *const c_char) -> GstRTSPMethod;
|
||||||
pub fn gst_rtsp_status_as_text(code: GstRTSPStatusCode) -> *const c_char;
|
pub fn gst_rtsp_status_as_text(code: GstRTSPStatusCode) -> *const c_char;
|
||||||
pub fn gst_rtsp_strresult(result: GstRTSPResult) -> *mut c_char;
|
pub fn gst_rtsp_strresult(result: GstRTSPResult) -> *mut c_char;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_rtsp_sys;
|
extern crate gstreamer_rtsp_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -52,7 +52,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -543,109 +543,85 @@ extern "C" {
|
||||||
// GstMIKEYMessage
|
// GstMIKEYMessage
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_mikey_message_get_type() -> GType;
|
pub fn gst_mikey_message_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_new() -> *mut GstMIKEYMessage;
|
pub fn gst_mikey_message_new() -> *mut GstMIKEYMessage;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_new_from_bytes(
|
pub fn gst_mikey_message_new_from_bytes(
|
||||||
bytes: *mut glib::GBytes,
|
bytes: *mut glib::GBytes,
|
||||||
info: *mut GstMIKEYDecryptInfo,
|
info: *mut GstMIKEYDecryptInfo,
|
||||||
error: *mut *mut glib::GError,
|
error: *mut *mut glib::GError,
|
||||||
) -> *mut GstMIKEYMessage;
|
) -> *mut GstMIKEYMessage;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_new_from_caps(caps: *mut gst::GstCaps) -> *mut GstMIKEYMessage;
|
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(
|
pub fn gst_mikey_message_new_from_data(
|
||||||
data: gconstpointer,
|
data: gconstpointer,
|
||||||
size: size_t,
|
size: size_t,
|
||||||
info: *mut GstMIKEYDecryptInfo,
|
info: *mut GstMIKEYDecryptInfo,
|
||||||
error: *mut *mut glib::GError,
|
error: *mut *mut glib::GError,
|
||||||
) -> *mut GstMIKEYMessage;
|
) -> *mut GstMIKEYMessage;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_add_cs_srtp(
|
pub fn gst_mikey_message_add_cs_srtp(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
policy: u8,
|
policy: u8,
|
||||||
ssrc: u32,
|
ssrc: u32,
|
||||||
roc: u32,
|
roc: u32,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_add_payload(
|
pub fn gst_mikey_message_add_payload(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_add_pke(
|
pub fn gst_mikey_message_add_pke(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
C: GstMIKEYCacheType,
|
C: GstMIKEYCacheType,
|
||||||
data_len: u16,
|
data_len: u16,
|
||||||
data: *const u8,
|
data: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_add_rand(
|
pub fn gst_mikey_message_add_rand(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
len: u8,
|
len: u8,
|
||||||
rand: *const u8,
|
rand: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_add_rand_len(msg: *mut GstMIKEYMessage, len: u8) -> gboolean;
|
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(
|
pub fn gst_mikey_message_add_t(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
type_: GstMIKEYTSType,
|
type_: GstMIKEYTSType,
|
||||||
ts_value: *const u8,
|
ts_value: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_add_t_now_ntp_utc(msg: *mut GstMIKEYMessage) -> gboolean;
|
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;
|
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(
|
pub fn gst_mikey_message_find_payload(
|
||||||
msg: *const GstMIKEYMessage,
|
msg: *const GstMIKEYMessage,
|
||||||
type_: GstMIKEYPayloadType,
|
type_: GstMIKEYPayloadType,
|
||||||
nth: c_uint,
|
nth: c_uint,
|
||||||
) -> *const GstMIKEYPayload;
|
) -> *const GstMIKEYPayload;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_get_cs_srtp(
|
pub fn gst_mikey_message_get_cs_srtp(
|
||||||
msg: *const GstMIKEYMessage,
|
msg: *const GstMIKEYMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> *const GstMIKEYMapSRTP;
|
) -> *const GstMIKEYMapSRTP;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_get_n_cs(msg: *const GstMIKEYMessage) -> c_uint;
|
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;
|
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(
|
pub fn gst_mikey_message_get_payload(
|
||||||
msg: *const GstMIKEYMessage,
|
msg: *const GstMIKEYMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> *const GstMIKEYPayload;
|
) -> *const GstMIKEYPayload;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_insert_cs_srtp(
|
pub fn gst_mikey_message_insert_cs_srtp(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
map: *const GstMIKEYMapSRTP,
|
map: *const GstMIKEYMapSRTP,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_insert_payload(
|
pub fn gst_mikey_message_insert_payload(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_remove_cs_srtp(msg: *mut GstMIKEYMessage, idx: c_int) -> gboolean;
|
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;
|
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(
|
pub fn gst_mikey_message_replace_cs_srtp(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
map: *const GstMIKEYMapSRTP,
|
map: *const GstMIKEYMapSRTP,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_replace_payload(
|
pub fn gst_mikey_message_replace_payload(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_set_info(
|
pub fn gst_mikey_message_set_info(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
version: u8,
|
version: u8,
|
||||||
|
@ -655,7 +631,6 @@ extern "C" {
|
||||||
CSB_id: u32,
|
CSB_id: u32,
|
||||||
map_type: GstMIKEYMapType,
|
map_type: GstMIKEYMapType,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_message_to_bytes(
|
pub fn gst_mikey_message_to_bytes(
|
||||||
msg: *mut GstMIKEYMessage,
|
msg: *mut GstMIKEYMessage,
|
||||||
info: *mut GstMIKEYEncryptInfo,
|
info: *mut GstMIKEYEncryptInfo,
|
||||||
|
@ -671,32 +646,25 @@ extern "C" {
|
||||||
// GstMIKEYPayload
|
// GstMIKEYPayload
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_mikey_payload_get_type() -> GType;
|
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;
|
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(
|
pub fn gst_mikey_payload_kemac_add_sub(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
newpay: *mut GstMIKEYPayload,
|
newpay: *mut GstMIKEYPayload,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_kemac_get_n_sub(payload: *const GstMIKEYPayload) -> c_uint;
|
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(
|
pub fn gst_mikey_payload_kemac_get_sub(
|
||||||
payload: *const GstMIKEYPayload,
|
payload: *const GstMIKEYPayload,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> *const GstMIKEYPayload;
|
) -> *const GstMIKEYPayload;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_kemac_remove_sub(
|
pub fn gst_mikey_payload_kemac_remove_sub(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_kemac_set(
|
pub fn gst_mikey_payload_kemac_set(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
enc_alg: GstMIKEYEncAlg,
|
enc_alg: GstMIKEYEncAlg,
|
||||||
mac_alg: GstMIKEYMacAlg,
|
mac_alg: GstMIKEYMacAlg,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_key_data_set_interval(
|
pub fn gst_mikey_payload_key_data_set_interval(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
vf_len: u8,
|
vf_len: u8,
|
||||||
|
@ -704,64 +672,53 @@ extern "C" {
|
||||||
vt_len: u8,
|
vt_len: u8,
|
||||||
vt_data: *const u8,
|
vt_data: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_key_data_set_key(
|
pub fn gst_mikey_payload_key_data_set_key(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
key_type: GstMIKEYKeyDataType,
|
key_type: GstMIKEYKeyDataType,
|
||||||
key_len: u16,
|
key_len: u16,
|
||||||
key_data: *const u8,
|
key_data: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_key_data_set_salt(
|
pub fn gst_mikey_payload_key_data_set_salt(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
salt_len: u16,
|
salt_len: u16,
|
||||||
salt_data: *const u8,
|
salt_data: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_key_data_set_spi(
|
pub fn gst_mikey_payload_key_data_set_spi(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
spi_len: u8,
|
spi_len: u8,
|
||||||
spi_data: *const u8,
|
spi_data: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_pke_set(
|
pub fn gst_mikey_payload_pke_set(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
C: GstMIKEYCacheType,
|
C: GstMIKEYCacheType,
|
||||||
data_len: u16,
|
data_len: u16,
|
||||||
data: *const u8,
|
data: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_rand_set(
|
pub fn gst_mikey_payload_rand_set(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
len: u8,
|
len: u8,
|
||||||
rand: *const u8,
|
rand: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_sp_add_param(
|
pub fn gst_mikey_payload_sp_add_param(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
type_: u8,
|
type_: u8,
|
||||||
len: u8,
|
len: u8,
|
||||||
val: *const u8,
|
val: *const u8,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_sp_get_n_params(payload: *const GstMIKEYPayload) -> c_uint;
|
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(
|
pub fn gst_mikey_payload_sp_get_param(
|
||||||
payload: *const GstMIKEYPayload,
|
payload: *const GstMIKEYPayload,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> *const GstMIKEYPayloadSPParam;
|
) -> *const GstMIKEYPayloadSPParam;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_sp_remove_param(
|
pub fn gst_mikey_payload_sp_remove_param(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_sp_set(
|
pub fn gst_mikey_payload_sp_set(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
policy: c_uint,
|
policy: c_uint,
|
||||||
proto: GstMIKEYSecProto,
|
proto: GstMIKEYSecProto,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
|
||||||
pub fn gst_mikey_payload_t_set(
|
pub fn gst_mikey_payload_t_set(
|
||||||
payload: *mut GstMIKEYPayload,
|
payload: *mut GstMIKEYPayload,
|
||||||
type_: GstMIKEYTSType,
|
type_: GstMIKEYTSType,
|
||||||
|
@ -771,9 +728,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstSDPAttribute
|
// GstSDPAttribute
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_attribute_clear(attr: *mut GstSDPAttribute) -> GstSDPResult;
|
pub fn gst_sdp_attribute_clear(attr: *mut GstSDPAttribute) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_attribute_set(
|
pub fn gst_sdp_attribute_set(
|
||||||
attr: *mut GstSDPAttribute,
|
attr: *mut GstSDPAttribute,
|
||||||
key: *const c_char,
|
key: *const c_char,
|
||||||
|
@ -783,9 +738,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstSDPBandwidth
|
// GstSDPBandwidth
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_bandwidth_clear(bw: *mut GstSDPBandwidth) -> GstSDPResult;
|
pub fn gst_sdp_bandwidth_clear(bw: *mut GstSDPBandwidth) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_bandwidth_set(
|
pub fn gst_sdp_bandwidth_set(
|
||||||
bw: *mut GstSDPBandwidth,
|
bw: *mut GstSDPBandwidth,
|
||||||
bwtype: *const c_char,
|
bwtype: *const c_char,
|
||||||
|
@ -795,9 +748,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstSDPConnection
|
// GstSDPConnection
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_connection_clear(conn: *mut GstSDPConnection) -> GstSDPResult;
|
pub fn gst_sdp_connection_clear(conn: *mut GstSDPConnection) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_connection_set(
|
pub fn gst_sdp_connection_set(
|
||||||
conn: *mut GstSDPConnection,
|
conn: *mut GstSDPConnection,
|
||||||
nettype: *const c_char,
|
nettype: *const c_char,
|
||||||
|
@ -832,14 +783,12 @@ extern "C" {
|
||||||
-> GstSDPResult;
|
-> GstSDPResult;
|
||||||
pub fn gst_sdp_media_as_text(media: *const GstSDPMedia) -> *mut c_char;
|
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;
|
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(
|
pub fn gst_sdp_media_attributes_to_caps(
|
||||||
media: *const GstSDPMedia,
|
media: *const GstSDPMedia,
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
pub fn gst_sdp_media_bandwidths_len(media: *const GstSDPMedia) -> c_uint;
|
pub fn gst_sdp_media_bandwidths_len(media: *const GstSDPMedia) -> c_uint;
|
||||||
pub fn gst_sdp_media_connections_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(
|
pub fn gst_sdp_media_copy(
|
||||||
media: *const GstSDPMedia,
|
media: *const GstSDPMedia,
|
||||||
copy: *mut *mut GstSDPMedia,
|
copy: *mut *mut GstSDPMedia,
|
||||||
|
@ -863,7 +812,6 @@ extern "C" {
|
||||||
media: *const GstSDPMedia,
|
media: *const GstSDPMedia,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
) -> *const GstSDPBandwidth;
|
) -> *const GstSDPBandwidth;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_get_caps_from_media(
|
pub fn gst_sdp_media_get_caps_from_media(
|
||||||
media: *const GstSDPMedia,
|
media: *const GstSDPMedia,
|
||||||
pt: c_int,
|
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_port(media: *const GstSDPMedia) -> c_uint;
|
||||||
pub fn gst_sdp_media_get_proto(media: *const GstSDPMedia) -> *const c_char;
|
pub fn gst_sdp_media_get_proto(media: *const GstSDPMedia) -> *const c_char;
|
||||||
pub fn gst_sdp_media_init(media: *mut GstSDPMedia) -> GstSDPResult;
|
pub fn gst_sdp_media_init(media: *mut GstSDPMedia) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_insert_attribute(
|
pub fn gst_sdp_media_insert_attribute(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
attr: *mut GstSDPAttribute,
|
attr: *mut GstSDPAttribute,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_insert_bandwidth(
|
pub fn gst_sdp_media_insert_bandwidth(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
bw: *mut GstSDPBandwidth,
|
bw: *mut GstSDPBandwidth,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_insert_connection(
|
pub fn gst_sdp_media_insert_connection(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
conn: *mut GstSDPConnection,
|
conn: *mut GstSDPConnection,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_insert_format(
|
pub fn gst_sdp_media_insert_format(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
|
@ -909,33 +853,25 @@ extern "C" {
|
||||||
media: *const GstSDPMedia,
|
media: *const GstSDPMedia,
|
||||||
mikey: *mut *mut GstMIKEYMessage,
|
mikey: *mut *mut GstMIKEYMessage,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_remove_attribute(media: *mut GstSDPMedia, idx: c_uint) -> GstSDPResult;
|
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;
|
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;
|
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;
|
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(
|
pub fn gst_sdp_media_replace_attribute(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
attr: *mut GstSDPAttribute,
|
attr: *mut GstSDPAttribute,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_replace_bandwidth(
|
pub fn gst_sdp_media_replace_bandwidth(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
bw: *mut GstSDPBandwidth,
|
bw: *mut GstSDPBandwidth,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_replace_connection(
|
pub fn gst_sdp_media_replace_connection(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
conn: *mut GstSDPConnection,
|
conn: *mut GstSDPConnection,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_media_replace_format(
|
pub fn gst_sdp_media_replace_format(
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
idx: c_uint,
|
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_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_uninit(media: *mut GstSDPMedia) -> GstSDPResult;
|
||||||
pub fn gst_sdp_media_new(media: *mut *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(
|
pub fn gst_sdp_media_set_media_from_caps(
|
||||||
caps: *const gst::GstCaps,
|
caps: *const gst::GstCaps,
|
||||||
media: *mut GstSDPMedia,
|
media: *mut GstSDPMedia,
|
||||||
|
@ -1000,13 +935,11 @@ extern "C" {
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_as_text(msg: *const GstSDPMessage) -> *mut c_char;
|
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;
|
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(
|
pub fn gst_sdp_message_attributes_to_caps(
|
||||||
msg: *const GstSDPMessage,
|
msg: *const GstSDPMessage,
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_bandwidths_len(msg: *const GstSDPMessage) -> c_uint;
|
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(
|
pub fn gst_sdp_message_copy(
|
||||||
msg: *const GstSDPMessage,
|
msg: *const GstSDPMessage,
|
||||||
copy: *mut *mut 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_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_get_zone(msg: *const GstSDPMessage, idx: c_uint) -> *const GstSDPZone;
|
||||||
pub fn gst_sdp_message_init(msg: *mut GstSDPMessage) -> GstSDPResult;
|
pub fn gst_sdp_message_init(msg: *mut GstSDPMessage) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_insert_attribute(
|
pub fn gst_sdp_message_insert_attribute(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
attr: *mut GstSDPAttribute,
|
attr: *mut GstSDPAttribute,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_insert_bandwidth(
|
pub fn gst_sdp_message_insert_bandwidth(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
bw: *mut GstSDPBandwidth,
|
bw: *mut GstSDPBandwidth,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_insert_email(
|
pub fn gst_sdp_message_insert_email(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
email: *const c_char,
|
email: *const c_char,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_insert_phone(
|
pub fn gst_sdp_message_insert_phone(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
phone: *const c_char,
|
phone: *const c_char,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_insert_time(
|
pub fn gst_sdp_message_insert_time(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
t: *mut GstSDPTime,
|
t: *mut GstSDPTime,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_insert_zone(
|
pub fn gst_sdp_message_insert_zone(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_int,
|
idx: c_int,
|
||||||
|
@ -1087,49 +1014,37 @@ extern "C" {
|
||||||
mikey: *mut *mut GstMIKEYMessage,
|
mikey: *mut *mut GstMIKEYMessage,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
pub fn gst_sdp_message_phones_len(msg: *const GstSDPMessage) -> c_uint;
|
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;
|
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;
|
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;
|
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;
|
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;
|
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;
|
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(
|
pub fn gst_sdp_message_replace_attribute(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
attr: *mut GstSDPAttribute,
|
attr: *mut GstSDPAttribute,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_replace_bandwidth(
|
pub fn gst_sdp_message_replace_bandwidth(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
bw: *mut GstSDPBandwidth,
|
bw: *mut GstSDPBandwidth,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_replace_email(
|
pub fn gst_sdp_message_replace_email(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
email: *const c_char,
|
email: *const c_char,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_replace_phone(
|
pub fn gst_sdp_message_replace_phone(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
phone: *const c_char,
|
phone: *const c_char,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_replace_time(
|
pub fn gst_sdp_message_replace_time(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
t: *mut GstSDPTime,
|
t: *mut GstSDPTime,
|
||||||
) -> GstSDPResult;
|
) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_message_replace_zone(
|
pub fn gst_sdp_message_replace_zone(
|
||||||
msg: *mut GstSDPMessage,
|
msg: *mut GstSDPMessage,
|
||||||
idx: c_uint,
|
idx: c_uint,
|
||||||
|
@ -1190,9 +1105,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstSDPTime
|
// GstSDPTime
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_time_clear(t: *mut GstSDPTime) -> GstSDPResult;
|
pub fn gst_sdp_time_clear(t: *mut GstSDPTime) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_time_set(
|
pub fn gst_sdp_time_set(
|
||||||
t: *mut GstSDPTime,
|
t: *mut GstSDPTime,
|
||||||
start: *const c_char,
|
start: *const c_char,
|
||||||
|
@ -1203,9 +1116,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstSDPZone
|
// GstSDPZone
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_zone_clear(zone: *mut GstSDPZone) -> GstSDPResult;
|
pub fn gst_sdp_zone_clear(zone: *mut GstSDPZone) -> GstSDPResult;
|
||||||
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
|
||||||
pub fn gst_sdp_zone_set(
|
pub fn gst_sdp_zone_set(
|
||||||
zone: *mut GstSDPZone,
|
zone: *mut GstSDPZone,
|
||||||
adj_time: *const c_char,
|
adj_time: *const c_char,
|
||||||
|
@ -1220,7 +1131,6 @@ extern "C" {
|
||||||
addrtype: *const c_char,
|
addrtype: *const c_char,
|
||||||
addr: *const c_char,
|
addr: *const c_char,
|
||||||
) -> gboolean;
|
) -> 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;
|
pub fn gst_sdp_make_keymgmt(uri: *const c_char, base64: *const c_char) -> *mut c_char;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_sdp_sys;
|
extern crate gstreamer_sdp_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -16,9 +16,9 @@ tempfile = "3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
v1_0_10 = []
|
v1_0_10 = []
|
||||||
v1_2 = ["v1_0_10"]
|
v1_2 = []
|
||||||
v1_2_3 = ["v1_2"]
|
v1_2_3 = ["v1_2"]
|
||||||
v1_4 = ["v1_2_3"]
|
v1_4 = ["v1_2"]
|
||||||
v1_6 = ["v1_4"]
|
v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -47,14 +47,10 @@ fn find() -> Result<(), Error> {
|
||||||
"1.6"
|
"1.6"
|
||||||
} else if cfg!(feature = "v1_4") {
|
} else if cfg!(feature = "v1_4") {
|
||||||
"1.4"
|
"1.4"
|
||||||
} else if cfg!(feature = "v1_2_3") {
|
|
||||||
"1.2.3"
|
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else if cfg!(feature = "v1_0_10") {
|
|
||||||
"1.0.10"
|
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_sys;
|
extern crate gstreamer_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -50,7 +50,7 @@ fn find() -> Result<(), Error> {
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_tag_sys;
|
extern crate gstreamer_tag_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -22,9 +22,9 @@ tempfile = "3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
v1_0_3 = []
|
v1_0_3 = []
|
||||||
v1_2 = ["v1_0_3"]
|
v1_2 = []
|
||||||
v1_2_2 = ["v1_2"]
|
v1_2_2 = ["v1_2"]
|
||||||
v1_4 = ["v1_2_2"]
|
v1_4 = ["v1_2"]
|
||||||
v1_6 = ["v1_4"]
|
v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
@ -47,14 +47,10 @@ fn find() -> Result<(), Error> {
|
||||||
"1.6"
|
"1.6"
|
||||||
} else if cfg!(feature = "v1_4") {
|
} else if cfg!(feature = "v1_4") {
|
||||||
"1.4"
|
"1.4"
|
||||||
} else if cfg!(feature = "v1_2_2") {
|
|
||||||
"1.2.2"
|
|
||||||
} else if cfg!(feature = "v1_2") {
|
} else if cfg!(feature = "v1_2") {
|
||||||
"1.2"
|
"1.2"
|
||||||
} else if cfg!(feature = "v1_0_3") {
|
|
||||||
"1.0.3"
|
|
||||||
} else {
|
} else {
|
||||||
"1.0"
|
"1.8"
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -2268,11 +2268,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAFDSpec
|
// GstVideoAFDSpec
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_afd_spec_get_type() -> GType;
|
pub fn gst_video_afd_spec_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAFDValue
|
// GstVideoAFDValue
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_afd_value_get_type() -> GType;
|
pub fn gst_video_afd_value_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2283,16 +2285,19 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAncillaryDID
|
// GstVideoAncillaryDID
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_ancillary_did_get_type() -> GType;
|
pub fn gst_video_ancillary_did_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAncillaryDID16
|
// GstVideoAncillaryDID16
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_ancillary_di_d16_get_type() -> GType;
|
pub fn gst_video_ancillary_di_d16_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoCaptionType
|
// GstVideoCaptionType
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_caption_type_get_type() -> GType;
|
pub fn gst_video_caption_type_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_caption_type_from_caps(caps: *const gst::GstCaps) -> GstVideoCaptionType;
|
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;
|
pub fn gst_video_color_matrix_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_color_matrix_from_iso(value: c_uint) -> GstVideoColorMatrix;
|
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(
|
pub fn gst_video_color_matrix_get_Kr_Kb(
|
||||||
matrix: GstVideoColorMatrix,
|
matrix: GstVideoColorMatrix,
|
||||||
Kr: *mut c_double,
|
Kr: *mut c_double,
|
||||||
|
@ -2330,7 +2334,6 @@ extern "C" {
|
||||||
pub fn gst_video_color_primaries_get_type() -> GType;
|
pub fn gst_video_color_primaries_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_color_primaries_from_iso(value: c_uint) -> GstVideoColorPrimaries;
|
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(
|
pub fn gst_video_color_primaries_get_info(
|
||||||
primaries: GstVideoColorPrimaries,
|
primaries: GstVideoColorPrimaries,
|
||||||
) -> *const GstVideoColorPrimariesInfo;
|
) -> *const GstVideoColorPrimariesInfo;
|
||||||
|
@ -2356,6 +2359,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoFieldOrder
|
// GstVideoFieldOrder
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_field_order_get_type() -> GType;
|
pub fn gst_video_field_order_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_field_order_from_string(order: *const c_char) -> GstVideoFieldOrder;
|
pub fn gst_video_field_order_from_string(order: *const c_char) -> GstVideoFieldOrder;
|
||||||
|
@ -2378,7 +2382,6 @@ extern "C" {
|
||||||
) -> GstVideoFormat;
|
) -> GstVideoFormat;
|
||||||
pub fn gst_video_format_from_string(format: *const c_char) -> GstVideoFormat;
|
pub fn gst_video_format_from_string(format: *const c_char) -> GstVideoFormat;
|
||||||
pub fn gst_video_format_get_info(format: GstVideoFormat) -> *const GstVideoFormatInfo;
|
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)
|
pub fn gst_video_format_get_palette(format: GstVideoFormat, size: *mut size_t)
|
||||||
-> gconstpointer;
|
-> gconstpointer;
|
||||||
pub fn gst_video_format_to_fourcc(format: GstVideoFormat) -> u32;
|
pub fn gst_video_format_to_fourcc(format: GstVideoFormat) -> u32;
|
||||||
|
@ -2393,9 +2396,7 @@ extern "C" {
|
||||||
// GstVideoInterlaceMode
|
// GstVideoInterlaceMode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_interlace_mode_get_type() -> GType;
|
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;
|
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;
|
pub fn gst_video_interlace_mode_to_string(mode: GstVideoInterlaceMode) -> *const c_char;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2412,11 +2413,9 @@ extern "C" {
|
||||||
// GstVideoMultiviewMode
|
// GstVideoMultiviewMode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_multiview_mode_get_type() -> GType;
|
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(
|
pub fn gst_video_multiview_mode_from_caps_string(
|
||||||
caps_mview_mode: *const c_char,
|
caps_mview_mode: *const c_char,
|
||||||
) -> GstVideoMultiviewMode;
|
) -> GstVideoMultiviewMode;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_multiview_mode_to_caps_string(
|
pub fn gst_video_multiview_mode_to_caps_string(
|
||||||
mview_mode: GstVideoMultiviewMode,
|
mview_mode: GstVideoMultiviewMode,
|
||||||
) -> *const c_char;
|
) -> *const c_char;
|
||||||
|
@ -2424,6 +2423,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoOrientationMethod
|
// GstVideoOrientationMethod
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_orientation_method_get_type() -> GType;
|
pub fn gst_video_orientation_method_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2454,6 +2454,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoVBIParserResult
|
// GstVideoVBIParserResult
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_vbi_parser_result_get_type() -> GType;
|
pub fn gst_video_vbi_parser_result_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2504,6 +2505,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoOverlayFormatFlags
|
// GstVideoOverlayFormatFlags
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_overlay_format_flags_get_type() -> GType;
|
pub fn gst_video_overlay_format_flags_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2524,17 +2526,18 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoTimeCodeFlags
|
// GstVideoTimeCodeFlags
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_flags_get_type() -> GType;
|
pub fn gst_video_time_code_flags_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAFDMeta
|
// GstVideoAFDMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_afd_meta_get_info() -> *const gst::GstMetaInfo;
|
pub fn gst_video_afd_meta_get_info() -> *const gst::GstMetaInfo;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAffineTransformationMeta
|
// GstVideoAffineTransformationMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_video_affine_transformation_meta_apply_matrix(
|
pub fn gst_video_affine_transformation_meta_apply_matrix(
|
||||||
meta: *mut GstVideoAffineTransformationMeta,
|
meta: *mut GstVideoAffineTransformationMeta,
|
||||||
matrix: *const [c_float; 16],
|
matrix: *const [c_float; 16],
|
||||||
|
@ -2549,11 +2552,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoBarMeta
|
// GstVideoBarMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_bar_meta_get_info() -> *const gst::GstMetaInfo;
|
pub fn gst_video_bar_meta_get_info() -> *const gst::GstMetaInfo;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoCaptionMeta
|
// GstVideoCaptionMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_caption_meta_get_info() -> *const gst::GstMetaInfo;
|
pub fn gst_video_caption_meta_get_info() -> *const gst::GstMetaInfo;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -2601,7 +2606,6 @@ extern "C" {
|
||||||
cinfo: *mut GstVideoColorimetry,
|
cinfo: *mut GstVideoColorimetry,
|
||||||
color: *const c_char,
|
color: *const c_char,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_colorimetry_is_equal(
|
pub fn gst_video_colorimetry_is_equal(
|
||||||
cinfo: *const GstVideoColorimetry,
|
cinfo: *const GstVideoColorimetry,
|
||||||
other: *const GstVideoColorimetry,
|
other: *const GstVideoColorimetry,
|
||||||
|
@ -2640,23 +2644,19 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoConverter
|
// GstVideoConverter
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_converter_frame(
|
pub fn gst_video_converter_frame(
|
||||||
convert: *mut GstVideoConverter,
|
convert: *mut GstVideoConverter,
|
||||||
src: *const GstVideoFrame,
|
src: *const GstVideoFrame,
|
||||||
dest: *mut 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_free(convert: *mut GstVideoConverter);
|
||||||
pub fn gst_video_converter_get_config(
|
pub fn gst_video_converter_get_config(
|
||||||
convert: *mut GstVideoConverter,
|
convert: *mut GstVideoConverter,
|
||||||
) -> *const gst::GstStructure;
|
) -> *const gst::GstStructure;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_converter_set_config(
|
pub fn gst_video_converter_set_config(
|
||||||
convert: *mut GstVideoConverter,
|
convert: *mut GstVideoConverter,
|
||||||
config: *mut gst::GstStructure,
|
config: *mut gst::GstStructure,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_converter_new(
|
pub fn gst_video_converter_new(
|
||||||
in_info: *mut GstVideoInfo,
|
in_info: *mut GstVideoInfo,
|
||||||
out_info: *mut GstVideoInfo,
|
out_info: *mut GstVideoInfo,
|
||||||
|
@ -2734,7 +2734,6 @@ extern "C" {
|
||||||
// GstVideoInfo
|
// GstVideoInfo
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_info_get_type() -> GType;
|
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_new() -> *mut GstVideoInfo;
|
||||||
pub fn gst_video_info_align(info: *mut GstVideoInfo, align: *mut GstVideoAlignment)
|
pub fn gst_video_info_align(info: *mut GstVideoInfo, align: *mut GstVideoAlignment)
|
||||||
-> gboolean;
|
-> gboolean;
|
||||||
|
@ -2751,9 +2750,7 @@ extern "C" {
|
||||||
dest_format: gst::GstFormat,
|
dest_format: gst::GstFormat,
|
||||||
dest_value: *mut i64,
|
dest_value: *mut i64,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_info_copy(info: *const GstVideoInfo) -> *mut GstVideoInfo;
|
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_free(info: *mut GstVideoInfo);
|
||||||
pub fn gst_video_info_from_caps(info: *mut GstVideoInfo, caps: *const gst::GstCaps)
|
pub fn gst_video_info_from_caps(info: *mut GstVideoInfo, caps: *const gst::GstCaps)
|
||||||
-> gboolean;
|
-> gboolean;
|
||||||
|
@ -2968,9 +2965,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoResampler
|
// GstVideoResampler
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_resampler_clear(resampler: *mut GstVideoResampler);
|
pub fn gst_video_resampler_clear(resampler: *mut GstVideoResampler);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_resampler_init(
|
pub fn gst_video_resampler_init(
|
||||||
resampler: *mut GstVideoResampler,
|
resampler: *mut GstVideoResampler,
|
||||||
method: GstVideoResamplerMethod,
|
method: GstVideoResamplerMethod,
|
||||||
|
@ -2999,7 +2994,6 @@ extern "C" {
|
||||||
width: c_uint,
|
width: c_uint,
|
||||||
height: c_uint,
|
height: c_uint,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_scaler_combine_packed_YUV(
|
pub fn gst_video_scaler_combine_packed_YUV(
|
||||||
y_scale: *mut GstVideoScaler,
|
y_scale: *mut GstVideoScaler,
|
||||||
uv_scale: *mut GstVideoScaler,
|
uv_scale: *mut GstVideoScaler,
|
||||||
|
@ -3030,7 +3024,6 @@ extern "C" {
|
||||||
dest_offset: c_uint,
|
dest_offset: c_uint,
|
||||||
width: c_uint,
|
width: c_uint,
|
||||||
);
|
);
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_scaler_new(
|
pub fn gst_video_scaler_new(
|
||||||
method: GstVideoResamplerMethod,
|
method: GstVideoResamplerMethod,
|
||||||
flags: GstVideoScalerFlags,
|
flags: GstVideoScalerFlags,
|
||||||
|
@ -3043,6 +3036,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoTimeCode
|
// GstVideoTimeCode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_get_type() -> GType;
|
pub fn gst_video_time_code_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_new(
|
pub fn gst_video_time_code_new(
|
||||||
|
@ -3141,6 +3135,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoTimeCodeInterval
|
// GstVideoTimeCodeInterval
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_get_type() -> GType;
|
pub fn gst_video_time_code_interval_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_new(
|
pub fn gst_video_time_code_interval_new(
|
||||||
|
@ -3173,11 +3168,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoTimeCodeMeta
|
// GstVideoTimeCodeMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_meta_get_info() -> *const gst::GstMetaInfo;
|
pub fn gst_video_time_code_meta_get_info() -> *const gst::GstMetaInfo;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoVBIEncoder
|
// GstVideoVBIEncoder
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_vbi_encoder_get_type() -> GType;
|
pub fn gst_video_vbi_encoder_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_vbi_encoder_new(
|
pub fn gst_video_vbi_encoder_new(
|
||||||
|
@ -3205,6 +3202,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoVBIParser
|
// GstVideoVBIParser
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_vbi_parser_get_type() -> GType;
|
pub fn gst_video_vbi_parser_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_vbi_parser_new(
|
pub fn gst_video_vbi_parser_new(
|
||||||
|
@ -3231,11 +3229,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAggregator
|
// GstVideoAggregator
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_aggregator_get_type() -> GType;
|
pub fn gst_video_aggregator_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAggregatorConvertPad
|
// GstVideoAggregatorConvertPad
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_aggregator_convert_pad_get_type() -> GType;
|
pub fn gst_video_aggregator_convert_pad_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_aggregator_convert_pad_update_conversion_info(
|
pub fn gst_video_aggregator_convert_pad_update_conversion_info(
|
||||||
|
@ -3245,6 +3245,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAggregatorPad
|
// GstVideoAggregatorPad
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_aggregator_pad_get_type() -> GType;
|
pub fn gst_video_aggregator_pad_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_aggregator_pad_get_current_buffer(
|
pub fn gst_video_aggregator_pad_get_current_buffer(
|
||||||
|
@ -3319,7 +3320,6 @@ extern "C" {
|
||||||
frame: *mut GstVideoCodecFrame,
|
frame: *mut GstVideoCodecFrame,
|
||||||
) -> gst::GstClockTimeDiff;
|
) -> gst::GstClockTimeDiff;
|
||||||
pub fn gst_video_decoder_get_max_errors(dec: *mut GstVideoDecoder) -> c_int;
|
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_needs_format(dec: *mut GstVideoDecoder) -> gboolean;
|
||||||
pub fn gst_video_decoder_get_oldest_frame(
|
pub fn gst_video_decoder_get_oldest_frame(
|
||||||
decoder: *mut GstVideoDecoder,
|
decoder: *mut GstVideoDecoder,
|
||||||
|
@ -3328,9 +3328,7 @@ extern "C" {
|
||||||
decoder: *mut GstVideoDecoder,
|
decoder: *mut GstVideoDecoder,
|
||||||
) -> *mut GstVideoCodecState;
|
) -> *mut GstVideoCodecState;
|
||||||
pub fn gst_video_decoder_get_packetized(decoder: *mut GstVideoDecoder) -> gboolean;
|
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;
|
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_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_have_frame(decoder: *mut GstVideoDecoder) -> gst::GstFlowReturn;
|
||||||
pub fn gst_video_decoder_merge_tags(
|
pub fn gst_video_decoder_merge_tags(
|
||||||
|
@ -3339,13 +3337,11 @@ extern "C" {
|
||||||
mode: gst::GstTagMergeMode,
|
mode: gst::GstTagMergeMode,
|
||||||
);
|
);
|
||||||
pub fn gst_video_decoder_negotiate(decoder: *mut GstVideoDecoder) -> gboolean;
|
pub fn gst_video_decoder_negotiate(decoder: *mut GstVideoDecoder) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_decoder_proxy_getcaps(
|
pub fn gst_video_decoder_proxy_getcaps(
|
||||||
decoder: *mut GstVideoDecoder,
|
decoder: *mut GstVideoDecoder,
|
||||||
caps: *mut gst::GstCaps,
|
caps: *mut gst::GstCaps,
|
||||||
filter: *mut gst::GstCaps,
|
filter: *mut gst::GstCaps,
|
||||||
) -> *mut gst::GstCaps;
|
) -> *mut gst::GstCaps;
|
||||||
#[cfg(any(feature = "v1_2_2", feature = "dox"))]
|
|
||||||
pub fn gst_video_decoder_release_frame(
|
pub fn gst_video_decoder_release_frame(
|
||||||
dec: *mut GstVideoDecoder,
|
dec: *mut GstVideoDecoder,
|
||||||
frame: *mut GstVideoCodecFrame,
|
frame: *mut GstVideoCodecFrame,
|
||||||
|
@ -3366,7 +3362,6 @@ extern "C" {
|
||||||
max_latency: gst::GstClockTime,
|
max_latency: gst::GstClockTime,
|
||||||
);
|
);
|
||||||
pub fn gst_video_decoder_set_max_errors(dec: *mut GstVideoDecoder, num: c_int);
|
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_needs_format(dec: *mut GstVideoDecoder, enabled: gboolean);
|
||||||
pub fn gst_video_decoder_set_output_state(
|
pub fn gst_video_decoder_set_output_state(
|
||||||
decoder: *mut GstVideoDecoder,
|
decoder: *mut GstVideoDecoder,
|
||||||
|
@ -3376,7 +3371,6 @@ extern "C" {
|
||||||
reference: *mut GstVideoCodecState,
|
reference: *mut GstVideoCodecState,
|
||||||
) -> *mut GstVideoCodecState;
|
) -> *mut GstVideoCodecState;
|
||||||
pub fn gst_video_decoder_set_packetized(decoder: *mut GstVideoDecoder, packetized: gboolean);
|
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(
|
pub fn gst_video_decoder_set_use_default_pad_acceptcaps(
|
||||||
decoder: *mut GstVideoDecoder,
|
decoder: *mut GstVideoDecoder,
|
||||||
use_: gboolean,
|
use_: gboolean,
|
||||||
|
@ -3458,7 +3452,6 @@ extern "C" {
|
||||||
encoder: *mut GstVideoEncoder,
|
encoder: *mut GstVideoEncoder,
|
||||||
interval: gst::GstClockTime,
|
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_min_pts(encoder: *mut GstVideoEncoder, min_pts: gst::GstClockTime);
|
||||||
pub fn gst_video_encoder_set_output_state(
|
pub fn gst_video_encoder_set_output_state(
|
||||||
encoder: *mut GstVideoEncoder,
|
encoder: *mut GstVideoEncoder,
|
||||||
|
@ -3554,7 +3547,6 @@ extern "C" {
|
||||||
pub fn gst_navigation_message_new_commands_changed(
|
pub fn gst_navigation_message_new_commands_changed(
|
||||||
src: *mut gst::GstObject,
|
src: *mut gst::GstObject,
|
||||||
) -> *mut gst::GstMessage;
|
) -> *mut gst::GstMessage;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_navigation_message_new_event(
|
pub fn gst_navigation_message_new_event(
|
||||||
src: *mut gst::GstObject,
|
src: *mut gst::GstObject,
|
||||||
event: *mut gst::GstEvent,
|
event: *mut gst::GstEvent,
|
||||||
|
@ -3568,7 +3560,6 @@ extern "C" {
|
||||||
cur_angle: *mut c_uint,
|
cur_angle: *mut c_uint,
|
||||||
n_angles: *mut c_uint,
|
n_angles: *mut c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_navigation_message_parse_event(
|
pub fn gst_navigation_message_parse_event(
|
||||||
message: *mut gst::GstMessage,
|
message: *mut gst::GstMessage,
|
||||||
event: *mut *mut gst::GstEvent,
|
event: *mut *mut gst::GstEvent,
|
||||||
|
@ -3637,6 +3628,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoDirection
|
// GstVideoDirection
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_direction_get_type() -> GType;
|
pub fn gst_video_direction_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -3715,7 +3707,6 @@ extern "C" {
|
||||||
spec: GstVideoAFDSpec,
|
spec: GstVideoAFDSpec,
|
||||||
afd: GstVideoAFDValue,
|
afd: GstVideoAFDValue,
|
||||||
) -> *mut GstVideoAFDMeta;
|
) -> *mut GstVideoAFDMeta;
|
||||||
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
|
||||||
pub fn gst_buffer_add_video_affine_transformation_meta(
|
pub fn gst_buffer_add_video_affine_transformation_meta(
|
||||||
buffer: *mut gst::GstBuffer,
|
buffer: *mut gst::GstBuffer,
|
||||||
) -> *mut GstVideoAffineTransformationMeta;
|
) -> *mut GstVideoAffineTransformationMeta;
|
||||||
|
@ -3819,8 +3810,10 @@ extern "C" {
|
||||||
pub fn gst_is_video_overlay_prepare_window_handle_message(
|
pub fn gst_is_video_overlay_prepare_window_handle_message(
|
||||||
msg: *mut gst::GstMessage,
|
msg: *mut gst::GstMessage,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_afd_meta_api_get_type() -> GType;
|
pub fn gst_video_afd_meta_api_get_type() -> GType;
|
||||||
pub fn gst_video_affine_transformation_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_bar_meta_api_get_type() -> GType;
|
||||||
pub fn gst_video_blend(
|
pub fn gst_video_blend(
|
||||||
dest: *mut GstVideoFrame,
|
dest: *mut GstVideoFrame,
|
||||||
|
@ -3847,6 +3840,7 @@ extern "C" {
|
||||||
display_par_n: c_uint,
|
display_par_n: c_uint,
|
||||||
display_par_d: c_uint,
|
display_par_d: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_caption_meta_api_get_type() -> GType;
|
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_from_string(s: *const c_char) -> GstVideoChromaSite;
|
||||||
pub fn gst_video_chroma_resample(
|
pub fn gst_video_chroma_resample(
|
||||||
|
@ -3855,12 +3849,10 @@ extern "C" {
|
||||||
width: c_int,
|
width: c_int,
|
||||||
);
|
);
|
||||||
pub fn gst_video_chroma_to_string(site: GstVideoChromaSite) -> *const c_char;
|
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(
|
pub fn gst_video_color_transfer_decode(
|
||||||
func: GstVideoTransferFunction,
|
func: GstVideoTransferFunction,
|
||||||
val: c_double,
|
val: c_double,
|
||||||
) -> c_double;
|
) -> c_double;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_color_transfer_encode(
|
pub fn gst_video_color_transfer_encode(
|
||||||
func: GstVideoTransferFunction,
|
func: GstVideoTransferFunction,
|
||||||
val: c_double,
|
val: c_double,
|
||||||
|
@ -3919,7 +3911,6 @@ extern "C" {
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_video_formats_raw(len: *mut c_uint) -> *const GstVideoFormat;
|
pub fn gst_video_formats_raw(len: *mut c_uint) -> *const GstVideoFormat;
|
||||||
pub fn gst_video_gl_texture_upload_meta_api_get_type() -> GType;
|
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(
|
pub fn gst_video_guess_framerate(
|
||||||
duration: gst::GstClockTime,
|
duration: gst::GstClockTime,
|
||||||
dest_n: *mut c_int,
|
dest_n: *mut c_int,
|
||||||
|
@ -3937,17 +3928,11 @@ extern "C" {
|
||||||
features: *mut gst::GstCapsFeatures,
|
features: *mut gst::GstCapsFeatures,
|
||||||
) -> *mut gst::GstCaps;
|
) -> *mut gst::GstCaps;
|
||||||
pub fn gst_video_meta_api_get_type() -> GType;
|
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;
|
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;
|
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;
|
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;
|
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;
|
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(
|
pub fn gst_video_multiview_guess_half_aspect(
|
||||||
mv_mode: GstVideoMultiviewMode,
|
mv_mode: GstVideoMultiviewMode,
|
||||||
width: c_uint,
|
width: c_uint,
|
||||||
|
@ -3955,7 +3940,6 @@ extern "C" {
|
||||||
par_n: c_uint,
|
par_n: c_uint,
|
||||||
par_d: c_uint,
|
par_d: c_uint,
|
||||||
) -> gboolean;
|
) -> gboolean;
|
||||||
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
|
||||||
pub fn gst_video_multiview_video_info_change_mode(
|
pub fn gst_video_multiview_video_info_change_mode(
|
||||||
info: *mut GstVideoInfo,
|
info: *mut GstVideoInfo,
|
||||||
out_mview_mode: GstVideoMultiviewMode,
|
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_overlay_composition_meta_api_get_type() -> GType;
|
||||||
pub fn gst_video_region_of_interest_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(
|
pub fn gst_video_tile_get_index(
|
||||||
mode: GstVideoTileMode,
|
mode: GstVideoTileMode,
|
||||||
x: c_int,
|
x: c_int,
|
||||||
|
@ -3971,6 +3954,7 @@ extern "C" {
|
||||||
x_tiles: c_int,
|
x_tiles: c_int,
|
||||||
y_tiles: c_int,
|
y_tiles: c_int,
|
||||||
) -> c_uint;
|
) -> c_uint;
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_meta_api_get_type() -> GType;
|
pub fn gst_video_time_code_meta_api_get_type() -> GType;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_video_sys;
|
extern crate gstreamer_video_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(not(feature = "dox"))]
|
#[cfg(not(feature = "dox"))]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||||
|
@ -458,6 +458,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCBundlePolicy
|
// GstWebRTCBundlePolicy
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_webrtc_bundle_policy_get_type() -> GType;
|
pub fn gst_webrtc_bundle_policy_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -473,11 +474,13 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCDataChannelState
|
// GstWebRTCDataChannelState
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_webrtc_data_channel_state_get_type() -> GType;
|
pub fn gst_webrtc_data_channel_state_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCFECType
|
// GstWebRTCFECType
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_14_1", feature = "dox"))]
|
||||||
pub fn gst_webrtc_fec_type_get_type() -> GType;
|
pub fn gst_webrtc_fec_type_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -503,6 +506,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCICETransportPolicy
|
// GstWebRTCICETransportPolicy
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_webrtc_ice_transport_policy_get_type() -> GType;
|
pub fn gst_webrtc_ice_transport_policy_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -513,6 +517,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCPriorityType
|
// GstWebRTCPriorityType
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_webrtc_priority_type_get_type() -> GType;
|
pub fn gst_webrtc_priority_type_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -523,6 +528,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCSCTPTransportState
|
// GstWebRTCSCTPTransportState
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
pub fn gst_webrtc_sctp_transport_state_get_type() -> GType;
|
pub fn gst_webrtc_sctp_transport_state_get_type() -> GType;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -570,6 +576,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstWebRTCDataChannel
|
// GstWebRTCDataChannel
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_webrtc_data_channel_get_type() -> GType;
|
pub fn gst_webrtc_data_channel_get_type() -> GType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
pub fn gst_webrtc_data_channel_close(channel: *mut GstWebRTCDataChannel);
|
pub fn gst_webrtc_data_channel_close(channel: *mut GstWebRTCDataChannel);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
extern crate gstreamer_webrtc_sys;
|
extern crate gstreamer_webrtc_sys;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1f84b54)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 17dfffe)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ f8feec0)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#include "manual.h"
|
#include "manual.h"
|
||||||
|
|
Loading…
Reference in a new issue