mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Regen with extended Gir.toml
This commit is contained in:
parent
b19dcd0b66
commit
170f7214eb
21 changed files with 197 additions and 368 deletions
|
@ -57,7 +57,7 @@ pub trait AudioBaseSinkExt: 'static {
|
|||
fn set_alignment_threshold(&self, alignment_threshold: gst::ClockTime);
|
||||
|
||||
//#[doc(alias = "gst_audio_base_sink_set_custom_slaving_callback")]
|
||||
//fn set_custom_slaving_callback(&self, callback: /*Unimplemented*/Fn(&AudioBaseSink, gst::ClockTime, gst::ClockTime, /*Ignored*/gst::ClockTimeDiff, /*Ignored*/AudioBaseSinkDiscontReason), user_data: /*Unimplemented*/Option<Fundamental: Pointer>);
|
||||
//fn set_custom_slaving_callback(&self, callback: /*Unimplemented*/Fn(&AudioBaseSink, gst::ClockTime, gst::ClockTime, gst::ClockTimeDiff, /*Ignored*/AudioBaseSinkDiscontReason), user_data: /*Unimplemented*/Option<Fundamental: Pointer>);
|
||||
|
||||
#[doc(alias = "gst_audio_base_sink_set_discont_wait")]
|
||||
fn set_discont_wait(&self, discont_wait: gst::ClockTime);
|
||||
|
@ -190,7 +190,7 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn set_custom_slaving_callback(&self, callback: /*Unimplemented*/Fn(&AudioBaseSink, gst::ClockTime, gst::ClockTime, /*Ignored*/gst::ClockTimeDiff, /*Ignored*/AudioBaseSinkDiscontReason), user_data: /*Unimplemented*/Option<Fundamental: Pointer>) {
|
||||
//fn set_custom_slaving_callback(&self, callback: /*Unimplemented*/Fn(&AudioBaseSink, gst::ClockTime, gst::ClockTime, gst::ClockTimeDiff, /*Ignored*/AudioBaseSinkDiscontReason), user_data: /*Unimplemented*/Option<Fundamental: Pointer>) {
|
||||
// unsafe { TODO: call ffi:gst_audio_base_sink_set_custom_slaving_callback() }
|
||||
//}
|
||||
|
||||
|
|
|
@ -33,10 +33,6 @@ unsafe impl Sync for Aggregator {}
|
|||
pub const NONE_AGGREGATOR: Option<&Aggregator> = None;
|
||||
|
||||
pub trait AggregatorExt: 'static {
|
||||
//#[doc(alias = "gst_aggregator_get_allocator")]
|
||||
//#[doc(alias = "get_allocator")]
|
||||
//fn allocator(&self, allocator: /*Ignored*/Option<gst::Allocator>, params: /*Ignored*/gst::AllocationParams);
|
||||
|
||||
#[doc(alias = "gst_aggregator_get_buffer_pool")]
|
||||
#[doc(alias = "get_buffer_pool")]
|
||||
fn buffer_pool(&self) -> Option<gst::BufferPool>;
|
||||
|
@ -66,11 +62,6 @@ pub trait AggregatorExt: 'static {
|
|||
#[doc(alias = "gst_aggregator_simple_get_next_time")]
|
||||
fn simple_get_next_time(&self) -> gst::ClockTime;
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "gst_aggregator_update_segment")]
|
||||
//fn update_segment(&self, segment: /*Ignored*/&gst::Segment);
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "emit-signals")]
|
||||
|
@ -97,11 +88,6 @@ pub trait AggregatorExt: 'static {
|
|||
#[doc(alias = "start-time-selection")]
|
||||
fn set_start_time_selection(&self, start_time_selection: AggregatorStartTimeSelection);
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "samples-selected")]
|
||||
//fn connect_samples_selected<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "emit-signals")]
|
||||
|
@ -132,10 +118,6 @@ pub trait AggregatorExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<Aggregator>> AggregatorExt for O {
|
||||
//fn allocator(&self, allocator: /*Ignored*/Option<gst::Allocator>, params: /*Ignored*/gst::AllocationParams) {
|
||||
// unsafe { TODO: call ffi:gst_aggregator_get_allocator() }
|
||||
//}
|
||||
|
||||
fn buffer_pool(&self) -> Option<gst::BufferPool> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_aggregator_get_buffer_pool(
|
||||
|
@ -199,12 +181,6 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//fn update_segment(&self, segment: /*Ignored*/&gst::Segment) {
|
||||
// unsafe { TODO: call ffi:gst_aggregator_update_segment() }
|
||||
//}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn emits_signals(&self) -> bool {
|
||||
|
@ -286,13 +262,6 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "samples-selected")]
|
||||
//fn connect_samples_selected<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId {
|
||||
// Ignored segment: Gst.Segment
|
||||
//}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "emit-signals")]
|
||||
|
|
|
@ -27,10 +27,6 @@ unsafe impl Sync for BaseSrc {}
|
|||
pub const NONE_BASE_SRC: Option<&BaseSrc> = None;
|
||||
|
||||
pub trait BaseSrcExt: 'static {
|
||||
//#[doc(alias = "gst_base_src_get_allocator")]
|
||||
//#[doc(alias = "get_allocator")]
|
||||
//fn allocator(&self, allocator: /*Ignored*/Option<gst::Allocator>, params: /*Ignored*/gst::AllocationParams);
|
||||
|
||||
#[doc(alias = "gst_base_src_get_blocksize")]
|
||||
#[doc(alias = "get_blocksize")]
|
||||
fn blocksize(&self) -> u32;
|
||||
|
@ -127,10 +123,6 @@ pub trait BaseSrcExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<BaseSrc>> BaseSrcExt for O {
|
||||
//fn allocator(&self, allocator: /*Ignored*/Option<gst::Allocator>, params: /*Ignored*/gst::AllocationParams) {
|
||||
// unsafe { TODO: call ffi:gst_base_src_get_allocator() }
|
||||
//}
|
||||
|
||||
fn blocksize(&self) -> u32 {
|
||||
unsafe { ffi::gst_base_src_get_blocksize(self.as_ref().to_glib_none().0) }
|
||||
}
|
||||
|
|
|
@ -27,10 +27,6 @@ unsafe impl Sync for BaseTransform {}
|
|||
pub const NONE_BASE_TRANSFORM: Option<&BaseTransform> = None;
|
||||
|
||||
pub trait BaseTransformExt: 'static {
|
||||
//#[doc(alias = "gst_base_transform_get_allocator")]
|
||||
//#[doc(alias = "get_allocator")]
|
||||
//fn allocator(&self, allocator: /*Ignored*/Option<gst::Allocator>, params: /*Ignored*/gst::AllocationParams);
|
||||
|
||||
#[doc(alias = "gst_base_transform_get_buffer_pool")]
|
||||
#[doc(alias = "get_buffer_pool")]
|
||||
fn buffer_pool(&self) -> Option<gst::BufferPool>;
|
||||
|
@ -79,10 +75,6 @@ pub trait BaseTransformExt: 'static {
|
|||
}
|
||||
|
||||
impl<O: IsA<BaseTransform>> BaseTransformExt for O {
|
||||
//fn allocator(&self, allocator: /*Ignored*/Option<gst::Allocator>, params: /*Ignored*/gst::AllocationParams) {
|
||||
// unsafe { TODO: call ffi:gst_base_transform_get_allocator() }
|
||||
//}
|
||||
|
||||
fn buffer_pool(&self) -> Option<gst::BufferPool> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_base_transform_get_buffer_pool(
|
||||
|
|
|
@ -62,38 +62,11 @@ impl TestClock {
|
|||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_has_id")]
|
||||
//pub fn has_id(&self, id: /*Ignored*/gst::ClockID) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_has_id() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_test_clock_peek_id_count")]
|
||||
pub fn peek_id_count(&self) -> u32 {
|
||||
unsafe { ffi::gst_test_clock_peek_id_count(self.to_glib_none().0) }
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_peek_next_pending_id")]
|
||||
//pub fn peek_next_pending_id(&self, pending_id: /*Ignored*/&mut gst::ClockID) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_peek_next_pending_id() }
|
||||
//}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "gst_test_clock_process_id")]
|
||||
//pub fn process_id(&self, pending_id: /*Ignored*/gst::ClockID) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_process_id() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_process_id_list")]
|
||||
//pub fn process_id_list(&self, pending_list: /*Ignored*/&[&gst::ClockID]) -> u32 {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_process_id_list() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_process_next_clock_id")]
|
||||
//pub fn process_next_clock_id(&self) -> /*Ignored*/Option<gst::ClockID> {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_process_next_clock_id() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_test_clock_set_time")]
|
||||
pub fn set_time(&self, new_time: gst::ClockTime) {
|
||||
unsafe {
|
||||
|
@ -101,23 +74,6 @@ impl TestClock {
|
|||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
//#[doc(alias = "gst_test_clock_timed_wait_for_multiple_pending_ids")]
|
||||
//pub fn timed_wait_for_multiple_pending_ids(&self, count: u32, timeout_ms: u32, pending_list: /*Unimplemented*/Vec<gst::ClockID>) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_timed_wait_for_multiple_pending_ids() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_wait_for_multiple_pending_ids")]
|
||||
//pub fn wait_for_multiple_pending_ids(&self, count: u32, pending_list: /*Unimplemented*/Vec<gst::ClockID>) {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_wait_for_multiple_pending_ids() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_wait_for_next_pending_id")]
|
||||
//pub fn wait_for_next_pending_id(&self, pending_id: /*Ignored*/&mut gst::ClockID) {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_wait_for_next_pending_id() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_test_clock_wait_for_pending_id_count")]
|
||||
pub fn wait_for_pending_id_count(&self, count: u32) {
|
||||
unsafe {
|
||||
|
@ -167,7 +123,7 @@ impl TestClock {
|
|||
}
|
||||
|
||||
//#[doc(alias = "gst_test_clock_id_list_get_latest_time")]
|
||||
//pub fn id_list_get_latest_time(pending_list: /*Ignored*/&[&gst::ClockID]) -> gst::ClockTime {
|
||||
//pub fn id_list_get_latest_time(pending_list: /*Unimplemented*/&[&gst::ClockID]) -> gst::ClockTime {
|
||||
// unsafe { TODO: call ffi:gst_test_clock_id_list_get_latest_time() }
|
||||
//}
|
||||
|
||||
|
|
|
@ -31,11 +31,6 @@ pub trait BaseEffectExt: 'static {
|
|||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "ges_base_effect_register_time_property")]
|
||||
fn register_time_property(&self, child_property_name: &str) -> bool;
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "ges_base_effect_set_time_translation_funcs")]
|
||||
//fn set_time_translation_funcs(&self, source_to_sink_func: /*Unimplemented*/Fn(&BaseEffect, gst::ClockTime, /*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 3, id: 11 }) -> gst::ClockTime, sink_to_source_func: /*Unimplemented*/Fn(&BaseEffect, gst::ClockTime, /*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 3, id: 11 }) -> gst::ClockTime, user_data: /*Unimplemented*/Option<Fundamental: Pointer>) -> bool;
|
||||
}
|
||||
|
||||
impl<O: IsA<BaseEffect>> BaseEffectExt for O {
|
||||
|
@ -59,10 +54,4 @@ impl<O: IsA<BaseEffect>> BaseEffectExt for O {
|
|||
))
|
||||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//fn set_time_translation_funcs(&self, source_to_sink_func: /*Unimplemented*/Fn(&BaseEffect, gst::ClockTime, /*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 3, id: 11 }) -> gst::ClockTime, sink_to_source_func: /*Unimplemented*/Fn(&BaseEffect, gst::ClockTime, /*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 3, id: 11 }) -> gst::ClockTime, user_data: /*Unimplemented*/Option<Fundamental: Pointer>) -> bool {
|
||||
// unsafe { TODO: call ffi:ges_base_effect_set_time_translation_funcs() }
|
||||
//}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ use std::mem::transmute;
|
|||
use std::ptr;
|
||||
|
||||
glib::wrapper! {
|
||||
pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Element, gst::Object;
|
||||
pub struct Pipeline(Object<ffi::GESPipeline, ffi::GESPipelineClass>) @extends gst::Pipeline, gst::Bin, gst::Element, gst::Object;
|
||||
|
||||
match fn {
|
||||
type_ => || ffi::ges_pipeline_get_type(),
|
||||
|
|
|
@ -26,7 +26,7 @@ use std::mem::transmute;
|
|||
use std::ptr;
|
||||
|
||||
glib::wrapper! {
|
||||
pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Element, gst::Object, @implements Extractable;
|
||||
pub struct Timeline(Object<ffi::GESTimeline, ffi::GESTimelineClass>) @extends gst::Bin, gst::Element, gst::Object, @implements Extractable;
|
||||
|
||||
match fn {
|
||||
type_ => || ffi::ges_timeline_get_type(),
|
||||
|
|
|
@ -75,13 +75,13 @@ pub trait TimelineElementExt: 'static {
|
|||
//#[doc(alias = "get_child_properties")]
|
||||
//fn child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
//#[doc(alias = "ges_timeline_element_get_child_property")]
|
||||
//#[doc(alias = "get_child_property")]
|
||||
//fn child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool;
|
||||
#[doc(alias = "ges_timeline_element_get_child_property")]
|
||||
#[doc(alias = "get_child_property")]
|
||||
fn child_property(&self, property_name: &str) -> Option<glib::Value>;
|
||||
|
||||
//#[doc(alias = "ges_timeline_element_get_child_property_by_pspec")]
|
||||
//#[doc(alias = "get_child_property_by_pspec")]
|
||||
//fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value);
|
||||
//fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec) -> glib::Value;
|
||||
|
||||
//#[doc(alias = "ges_timeline_element_get_child_property_valist")]
|
||||
//#[doc(alias = "get_child_property_valist")]
|
||||
|
@ -166,16 +166,24 @@ pub trait TimelineElementExt: 'static {
|
|||
//#[doc(alias = "ges_timeline_element_set_child_properties")]
|
||||
//fn set_child_properties(&self, first_property_name: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
//#[doc(alias = "ges_timeline_element_set_child_property")]
|
||||
//fn set_child_property(&self, property_name: &str, value: /*Ignored*/&glib::Value) -> bool;
|
||||
#[doc(alias = "ges_timeline_element_set_child_property")]
|
||||
fn set_child_property(
|
||||
&self,
|
||||
property_name: &str,
|
||||
value: &glib::Value,
|
||||
) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
//#[doc(alias = "ges_timeline_element_set_child_property_by_pspec")]
|
||||
//fn set_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/&glib::Value);
|
||||
//fn set_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: &glib::Value);
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "ges_timeline_element_set_child_property_full")]
|
||||
//fn set_child_property_full(&self, property_name: &str, value: /*Ignored*/&glib::Value) -> Result<(), glib::Error>;
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
#[doc(alias = "ges_timeline_element_set_child_property_full")]
|
||||
fn set_child_property_full(
|
||||
&self,
|
||||
property_name: &str,
|
||||
value: &glib::Value,
|
||||
) -> Result<(), glib::Error>;
|
||||
|
||||
//#[doc(alias = "ges_timeline_element_set_child_property_valist")]
|
||||
//fn set_child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported);
|
||||
|
@ -329,11 +337,23 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
// unsafe { TODO: call ffi:ges_timeline_element_get_child_properties() }
|
||||
//}
|
||||
|
||||
//fn child_property(&self, property_name: &str, value: /*Ignored*/glib::Value) -> bool {
|
||||
// unsafe { TODO: call ffi:ges_timeline_element_get_child_property() }
|
||||
//}
|
||||
fn child_property(&self, property_name: &str) -> Option<glib::Value> {
|
||||
unsafe {
|
||||
let mut value = glib::Value::uninitialized();
|
||||
let ret = from_glib(ffi::ges_timeline_element_get_child_property(
|
||||
self.as_ref().to_glib_none().0,
|
||||
property_name.to_glib_none().0,
|
||||
value.to_glib_none_mut().0,
|
||||
));
|
||||
if ret {
|
||||
Some(value)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/glib::Value) {
|
||||
//fn child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec) -> glib::Value {
|
||||
// unsafe { TODO: call ffi:ges_timeline_element_get_child_property_by_pspec() }
|
||||
//}
|
||||
|
||||
|
@ -512,19 +532,49 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
|||
// unsafe { TODO: call ffi:ges_timeline_element_set_child_properties() }
|
||||
//}
|
||||
|
||||
//fn set_child_property(&self, property_name: &str, value: /*Ignored*/&glib::Value) -> bool {
|
||||
// unsafe { TODO: call ffi:ges_timeline_element_set_child_property() }
|
||||
//}
|
||||
fn set_child_property(
|
||||
&self,
|
||||
property_name: &str,
|
||||
value: &glib::Value,
|
||||
) -> Result<(), glib::error::BoolError> {
|
||||
unsafe {
|
||||
glib::result_from_gboolean!(
|
||||
ffi::ges_timeline_element_set_child_property(
|
||||
self.as_ref().to_glib_none().0,
|
||||
property_name.to_glib_none().0,
|
||||
value.to_glib_none().0
|
||||
),
|
||||
"Failed to set child property"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
//fn set_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: /*Ignored*/&glib::Value) {
|
||||
//fn set_child_property_by_pspec(&self, pspec: /*Ignored*/&glib::ParamSpec, value: &glib::Value) {
|
||||
// unsafe { TODO: call ffi:ges_timeline_element_set_child_property_by_pspec() }
|
||||
//}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//fn set_child_property_full(&self, property_name: &str, value: /*Ignored*/&glib::Value) -> Result<(), glib::Error> {
|
||||
// unsafe { TODO: call ffi:ges_timeline_element_set_child_property_full() }
|
||||
//}
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
fn set_child_property_full(
|
||||
&self,
|
||||
property_name: &str,
|
||||
value: &glib::Value,
|
||||
) -> Result<(), glib::Error> {
|
||||
unsafe {
|
||||
let mut error = ptr::null_mut();
|
||||
let _ = ffi::ges_timeline_element_set_child_property_full(
|
||||
self.as_ref().to_glib_none().0,
|
||||
property_name.to_glib_none().0,
|
||||
value.to_glib_none().0,
|
||||
&mut error,
|
||||
);
|
||||
if error.is_null() {
|
||||
Ok(())
|
||||
} else {
|
||||
Err(from_glib_full(error))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//fn set_child_property_valist(&self, first_property_name: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) {
|
||||
// unsafe { TODO: call ffi:ges_timeline_element_set_child_property_valist() }
|
||||
|
|
|
@ -22,7 +22,7 @@ use std::mem::transmute;
|
|||
use std::ptr;
|
||||
|
||||
glib::wrapper! {
|
||||
pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Element, gst::Object;
|
||||
pub struct Track(Object<ffi::GESTrack, ffi::GESTrackClass>) @extends gst::Bin, gst::Element, gst::Object;
|
||||
|
||||
match fn {
|
||||
type_ => || ffi::ges_track_get_type(),
|
||||
|
|
|
@ -63,9 +63,9 @@ pub trait TrackElementExt: 'static {
|
|||
#[doc(alias = "get_auto_clamp_control_sources")]
|
||||
fn is_auto_clamp_control_sources(&self) -> bool;
|
||||
|
||||
//#[doc(alias = "ges_track_element_get_control_binding")]
|
||||
//#[doc(alias = "get_control_binding")]
|
||||
//fn control_binding(&self, property_name: &str) -> /*Ignored*/Option<gst::ControlBinding>;
|
||||
#[doc(alias = "ges_track_element_get_control_binding")]
|
||||
#[doc(alias = "get_control_binding")]
|
||||
fn control_binding(&self, property_name: &str) -> Option<gst::ControlBinding>;
|
||||
|
||||
#[doc(alias = "ges_track_element_get_element")]
|
||||
#[doc(alias = "get_element")]
|
||||
|
@ -114,8 +114,13 @@ pub trait TrackElementExt: 'static {
|
|||
#[doc(alias = "ges_track_element_set_auto_clamp_control_sources")]
|
||||
fn set_auto_clamp_control_sources(&self, auto_clamp: bool);
|
||||
|
||||
//#[doc(alias = "ges_track_element_set_control_source")]
|
||||
//fn set_control_source(&self, source: /*Ignored*/&gst::ControlSource, property_name: &str, binding_type: &str) -> bool;
|
||||
#[doc(alias = "ges_track_element_set_control_source")]
|
||||
fn set_control_source<P: IsA<gst::ControlSource>>(
|
||||
&self,
|
||||
source: &P,
|
||||
property_name: &str,
|
||||
binding_type: &str,
|
||||
) -> bool;
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -125,11 +130,17 @@ pub trait TrackElementExt: 'static {
|
|||
#[doc(alias = "ges_track_element_set_track_type")]
|
||||
fn set_track_type(&self, type_: TrackType);
|
||||
|
||||
//#[doc(alias = "control-binding-added")]
|
||||
//fn connect_control_binding_added<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId;
|
||||
#[doc(alias = "control-binding-added")]
|
||||
fn connect_control_binding_added<F: Fn(&Self, &gst::ControlBinding) + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId;
|
||||
|
||||
//#[doc(alias = "control-binding-removed")]
|
||||
//fn connect_control_binding_removed<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId;
|
||||
#[doc(alias = "control-binding-removed")]
|
||||
fn connect_control_binding_removed<F: Fn(&Self, &gst::ControlBinding) + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId;
|
||||
|
||||
#[doc(alias = "active")]
|
||||
fn connect_active_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
@ -219,9 +230,14 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn control_binding(&self, property_name: &str) -> /*Ignored*/Option<gst::ControlBinding> {
|
||||
// unsafe { TODO: call ffi:ges_track_element_get_control_binding() }
|
||||
//}
|
||||
fn control_binding(&self, property_name: &str) -> Option<gst::ControlBinding> {
|
||||
unsafe {
|
||||
from_glib_none(ffi::ges_track_element_get_control_binding(
|
||||
self.as_ref().to_glib_none().0,
|
||||
property_name.to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
fn element(&self) -> Option<gst::Element> {
|
||||
unsafe {
|
||||
|
@ -327,9 +343,21 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn set_control_source(&self, source: /*Ignored*/&gst::ControlSource, property_name: &str, binding_type: &str) -> bool {
|
||||
// unsafe { TODO: call ffi:ges_track_element_set_control_source() }
|
||||
//}
|
||||
fn set_control_source<P: IsA<gst::ControlSource>>(
|
||||
&self,
|
||||
source: &P,
|
||||
property_name: &str,
|
||||
binding_type: &str,
|
||||
) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_track_element_set_control_source(
|
||||
self.as_ref().to_glib_none().0,
|
||||
source.as_ref().to_glib_none().0,
|
||||
property_name.to_glib_none().0,
|
||||
binding_type.to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
|
@ -351,15 +379,69 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "control-binding-added")]
|
||||
//fn connect_control_binding_added<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId {
|
||||
// Ignored control_binding: Gst.ControlBinding
|
||||
//}
|
||||
#[doc(alias = "control-binding-added")]
|
||||
fn connect_control_binding_added<F: Fn(&Self, &gst::ControlBinding) + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn control_binding_added_trampoline<
|
||||
P: IsA<TrackElement>,
|
||||
F: Fn(&P, &gst::ControlBinding) + 'static,
|
||||
>(
|
||||
this: *mut ffi::GESTrackElement,
|
||||
control_binding: *mut gst::ffi::GstControlBinding,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(
|
||||
&TrackElement::from_glib_borrow(this).unsafe_cast_ref(),
|
||||
&from_glib_borrow(control_binding),
|
||||
)
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"control-binding-added\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
control_binding_added_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "control-binding-removed")]
|
||||
//fn connect_control_binding_removed<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId {
|
||||
// Ignored control_binding: Gst.ControlBinding
|
||||
//}
|
||||
#[doc(alias = "control-binding-removed")]
|
||||
fn connect_control_binding_removed<F: Fn(&Self, &gst::ControlBinding) + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn control_binding_removed_trampoline<
|
||||
P: IsA<TrackElement>,
|
||||
F: Fn(&P, &gst::ControlBinding) + 'static,
|
||||
>(
|
||||
this: *mut ffi::GESTrackElement,
|
||||
control_binding: *mut gst::ffi::GstControlBinding,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(
|
||||
&TrackElement::from_glib_borrow(this).unsafe_cast_ref(),
|
||||
&from_glib_borrow(control_binding),
|
||||
)
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"control-binding-removed\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
control_binding_removed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "active")]
|
||||
fn connect_active_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
|
|
|
@ -54,12 +54,6 @@ impl PlayerVideoOverlayVideoRenderer {
|
|||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_player_video_overlay_video_renderer_get_window_handle")]
|
||||
//#[doc(alias = "get_window_handle")]
|
||||
//pub fn window_handle(&self) -> /*Unimplemented*/Option<Fundamental: Pointer> {
|
||||
// unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_get_window_handle() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_player_video_overlay_video_renderer_set_render_rectangle")]
|
||||
pub fn set_render_rectangle(&self, x: i32, y: i32, width: i32, height: i32) {
|
||||
unsafe {
|
||||
|
@ -73,11 +67,6 @@ impl PlayerVideoOverlayVideoRenderer {
|
|||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_player_video_overlay_video_renderer_set_window_handle")]
|
||||
//pub fn set_window_handle(&self, window_handle: /*Unimplemented*/Option<Fundamental: Pointer>) {
|
||||
// unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_set_window_handle() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "video-sink")]
|
||||
pub fn video_sink(&self) -> Option<gst::Element> {
|
||||
unsafe {
|
||||
|
@ -104,16 +93,6 @@ impl PlayerVideoOverlayVideoRenderer {
|
|||
}
|
||||
}
|
||||
|
||||
//#[doc(alias = "gst_player_video_overlay_video_renderer_new")]
|
||||
//pub fn new(window_handle: /*Unimplemented*/Option<Fundamental: Pointer>) -> Option<PlayerVideoRenderer> {
|
||||
// unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_new() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_player_video_overlay_video_renderer_new_with_sink")]
|
||||
//pub fn new_with_sink<P: IsA<gst::Element>>(window_handle: /*Unimplemented*/Option<Fundamental: Pointer>, video_sink: &P) -> Option<PlayerVideoRenderer> {
|
||||
// unsafe { TODO: call ffi:gst_player_video_overlay_video_renderer_new_with_sink() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "video-sink")]
|
||||
pub fn connect_video_sink_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
|
|
|
@ -112,9 +112,6 @@ pub trait RTSPClientExt: 'static {
|
|||
#[doc(alias = "gst_rtsp_client_set_mount_points")]
|
||||
fn set_mount_points<P: IsA<RTSPMountPoints>>(&self, mounts: Option<&P>);
|
||||
|
||||
//#[doc(alias = "gst_rtsp_client_set_send_func")]
|
||||
//fn set_send_func(&self, func: /*Unimplemented*/Fn(&RTSPClient, /*Ignored*/gst_rtsp::RTSPMessage, bool) -> bool, user_data: /*Unimplemented*/Option<Fundamental: Pointer>);
|
||||
|
||||
//#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
//#[doc(alias = "gst_rtsp_client_set_send_messages_func")]
|
||||
|
@ -483,10 +480,6 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn set_send_func(&self, func: /*Unimplemented*/Fn(&RTSPClient, /*Ignored*/gst_rtsp::RTSPMessage, bool) -> bool, user_data: /*Unimplemented*/Option<Fundamental: Pointer>) {
|
||||
// unsafe { TODO: call ffi:gst_rtsp_client_set_send_func() }
|
||||
//}
|
||||
|
||||
//#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
//fn set_send_messages_func(&self, func: /*Unimplemented*/Fn(&RTSPClient, /*Ignored*/gst_rtsp::RTSPMessage, u32, bool) -> bool, user_data: /*Unimplemented*/Option<Fundamental: Pointer>) {
|
||||
|
|
|
@ -158,9 +158,9 @@ pub trait RTSPMediaExt: 'static {
|
|||
#[doc(alias = "get_suspend_mode")]
|
||||
fn suspend_mode(&self) -> RTSPSuspendMode;
|
||||
|
||||
//#[doc(alias = "gst_rtsp_media_get_time_provider")]
|
||||
//#[doc(alias = "get_time_provider")]
|
||||
//fn time_provider(&self, address: Option<&str>, port: u16) -> /*Ignored*/Option<gst_net::NetTimeProvider>;
|
||||
#[doc(alias = "gst_rtsp_media_get_time_provider")]
|
||||
#[doc(alias = "get_time_provider")]
|
||||
fn time_provider(&self, address: Option<&str>, port: u16) -> Option<gst_net::NetTimeProvider>;
|
||||
|
||||
#[doc(alias = "gst_rtsp_media_get_transport_mode")]
|
||||
#[doc(alias = "get_transport_mode")]
|
||||
|
@ -667,9 +667,15 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn time_provider(&self, address: Option<&str>, port: u16) -> /*Ignored*/Option<gst_net::NetTimeProvider> {
|
||||
// unsafe { TODO: call ffi:gst_rtsp_media_get_time_provider() }
|
||||
//}
|
||||
fn time_provider(&self, address: Option<&str>, port: u16) -> Option<gst_net::NetTimeProvider> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_rtsp_media_get_time_provider(
|
||||
self.as_ref().to_glib_none().0,
|
||||
address.to_glib_none().0,
|
||||
port,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
fn transport_mode(&self) -> RTSPTransportMode {
|
||||
unsafe {
|
||||
|
|
|
@ -21,13 +21,6 @@ impl VideoOverlay {
|
|||
//pub fn install_properties(oclass: /*Ignored*/&mut glib::ObjectClass, last_prop_id: i32) {
|
||||
// unsafe { TODO: call ffi:gst_video_overlay_install_properties() }
|
||||
//}
|
||||
|
||||
//#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))]
|
||||
//#[doc(alias = "gst_video_overlay_set_property")]
|
||||
//pub fn set_property<P: IsA<glib::Object>>(object: &P, last_prop_id: i32, property_id: u32, value: /*Ignored*/&glib::Value) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_video_overlay_set_property() }
|
||||
//}
|
||||
}
|
||||
|
||||
unsafe impl Send for VideoOverlay {}
|
||||
|
@ -56,9 +49,6 @@ pub trait VideoOverlayExt: 'static {
|
|||
width: i32,
|
||||
height: i32,
|
||||
) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
//#[doc(alias = "gst_video_overlay_set_window_handle")]
|
||||
//fn set_window_handle(&self, handle: /*Unimplemented*/Fundamental: UIntPtr);
|
||||
}
|
||||
|
||||
impl<O: IsA<VideoOverlay>> VideoOverlayExt for O {
|
||||
|
@ -107,8 +97,4 @@ impl<O: IsA<VideoOverlay>> VideoOverlayExt for O {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
//fn set_window_handle(&self, handle: /*Unimplemented*/Fundamental: UIntPtr) {
|
||||
// unsafe { TODO: call ffi:gst_video_overlay_set_window_handle() }
|
||||
//}
|
||||
}
|
||||
|
|
|
@ -46,9 +46,6 @@ pub trait GstBinExt: 'static {
|
|||
#[doc(alias = "gst_bin_add")]
|
||||
fn add<P: IsA<Element>>(&self, element: &P) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
//#[doc(alias = "gst_bin_add_many")]
|
||||
//fn add_many<P: IsA<Element>>(&self, element_1: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
#[doc(alias = "gst_bin_find_unlinked_pad")]
|
||||
fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>;
|
||||
|
||||
|
@ -70,38 +67,12 @@ pub trait GstBinExt: 'static {
|
|||
#[doc(alias = "get_suppressed_flags")]
|
||||
fn suppressed_flags(&self) -> ElementFlags;
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//#[doc(alias = "gst_bin_iterate_all_by_element_factory_name")]
|
||||
//fn iterate_all_by_element_factory_name(&self, factory_name: &str) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
//#[doc(alias = "gst_bin_iterate_all_by_interface")]
|
||||
//fn iterate_all_by_interface(&self, iface: glib::types::Type) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
//#[doc(alias = "gst_bin_iterate_elements")]
|
||||
//fn iterate_elements(&self) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
//#[doc(alias = "gst_bin_iterate_recurse")]
|
||||
//fn iterate_recurse(&self) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
//#[doc(alias = "gst_bin_iterate_sinks")]
|
||||
//fn iterate_sinks(&self) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
//#[doc(alias = "gst_bin_iterate_sorted")]
|
||||
//fn iterate_sorted(&self) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
//#[doc(alias = "gst_bin_iterate_sources")]
|
||||
//fn iterate_sources(&self) -> /*Ignored*/Option<Iterator>;
|
||||
|
||||
#[doc(alias = "gst_bin_recalculate_latency")]
|
||||
fn recalculate_latency(&self) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
#[doc(alias = "gst_bin_remove")]
|
||||
fn remove<P: IsA<Element>>(&self, element: &P) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
//#[doc(alias = "gst_bin_remove_many")]
|
||||
//fn remove_many<P: IsA<Element>>(&self, element_1: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
#[doc(alias = "gst_bin_set_suppressed_flags")]
|
||||
|
@ -176,10 +147,6 @@ impl<O: IsA<Bin>> GstBinExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn add_many<P: IsA<Element>>(&self, element_1: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) {
|
||||
// unsafe { TODO: call ffi:gst_bin_add_many() }
|
||||
//}
|
||||
|
||||
fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_bin_find_unlinked_pad(
|
||||
|
@ -226,36 +193,6 @@ impl<O: IsA<Bin>> GstBinExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
//fn iterate_all_by_element_factory_name(&self, factory_name: &str) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_all_by_element_factory_name() }
|
||||
//}
|
||||
|
||||
//fn iterate_all_by_interface(&self, iface: glib::types::Type) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_all_by_interface() }
|
||||
//}
|
||||
|
||||
//fn iterate_elements(&self) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_elements() }
|
||||
//}
|
||||
|
||||
//fn iterate_recurse(&self) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_recurse() }
|
||||
//}
|
||||
|
||||
//fn iterate_sinks(&self) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_sinks() }
|
||||
//}
|
||||
|
||||
//fn iterate_sorted(&self) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_sorted() }
|
||||
//}
|
||||
|
||||
//fn iterate_sources(&self) -> /*Ignored*/Option<Iterator> {
|
||||
// unsafe { TODO: call ffi:gst_bin_iterate_sources() }
|
||||
//}
|
||||
|
||||
fn recalculate_latency(&self) -> Result<(), glib::error::BoolError> {
|
||||
unsafe {
|
||||
glib::result_from_gboolean!(
|
||||
|
@ -277,10 +214,6 @@ impl<O: IsA<Bin>> GstBinExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn remove_many<P: IsA<Element>>(&self, element_1: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) {
|
||||
// unsafe { TODO: call ffi:gst_bin_remove_many() }
|
||||
//}
|
||||
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
fn set_suppressed_flags(&self, flags: ElementFlags) {
|
||||
|
|
|
@ -121,15 +121,6 @@ pub trait ClockExt: 'static {
|
|||
#[doc(alias = "gst_clock_is_synced")]
|
||||
fn is_synced(&self) -> bool;
|
||||
|
||||
//#[doc(alias = "gst_clock_new_periodic_id")]
|
||||
//fn new_periodic_id(&self, start_time: ClockTime, interval: ClockTime) -> /*Unimplemented*/ClockID;
|
||||
|
||||
//#[doc(alias = "gst_clock_new_single_shot_id")]
|
||||
//fn new_single_shot_id(&self, time: ClockTime) -> /*Unimplemented*/ClockID;
|
||||
|
||||
//#[doc(alias = "gst_clock_periodic_id_reinit")]
|
||||
//fn periodic_id_reinit(&self, id: /*Unimplemented*/ClockID, start_time: ClockTime, interval: ClockTime) -> bool;
|
||||
|
||||
#[doc(alias = "gst_clock_set_calibration")]
|
||||
fn set_calibration(
|
||||
&self,
|
||||
|
@ -151,9 +142,6 @@ pub trait ClockExt: 'static {
|
|||
#[doc(alias = "gst_clock_set_timeout")]
|
||||
fn set_timeout(&self, timeout: ClockTime);
|
||||
|
||||
//#[doc(alias = "gst_clock_single_shot_id_reinit")]
|
||||
//fn single_shot_id_reinit(&self, id: /*Unimplemented*/ClockID, time: ClockTime) -> bool;
|
||||
|
||||
#[doc(alias = "gst_clock_unadjust_unlocked")]
|
||||
fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime;
|
||||
|
||||
|
@ -318,18 +306,6 @@ impl<O: IsA<Clock>> ClockExt for O {
|
|||
unsafe { from_glib(ffi::gst_clock_is_synced(self.as_ref().to_glib_none().0)) }
|
||||
}
|
||||
|
||||
//fn new_periodic_id(&self, start_time: ClockTime, interval: ClockTime) -> /*Unimplemented*/ClockID {
|
||||
// unsafe { TODO: call ffi:gst_clock_new_periodic_id() }
|
||||
//}
|
||||
|
||||
//fn new_single_shot_id(&self, time: ClockTime) -> /*Unimplemented*/ClockID {
|
||||
// unsafe { TODO: call ffi:gst_clock_new_single_shot_id() }
|
||||
//}
|
||||
|
||||
//fn periodic_id_reinit(&self, id: /*Unimplemented*/ClockID, start_time: ClockTime, interval: ClockTime) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_clock_periodic_id_reinit() }
|
||||
//}
|
||||
|
||||
fn set_calibration(
|
||||
&self,
|
||||
internal: ClockTime,
|
||||
|
@ -381,10 +357,6 @@ impl<O: IsA<Clock>> ClockExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn single_shot_id_reinit(&self, id: /*Unimplemented*/ClockID, time: ClockTime) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_clock_single_shot_id_reinit() }
|
||||
//}
|
||||
|
||||
fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_clock_unadjust_unlocked(
|
||||
|
|
|
@ -156,15 +156,6 @@ pub trait ElementExt: 'static {
|
|||
#[doc(alias = "gst_element_is_locked_state")]
|
||||
fn is_locked_state(&self) -> bool;
|
||||
|
||||
//#[doc(alias = "gst_element_iterate_pads")]
|
||||
//fn iterate_pads(&self) -> /*Ignored*/Iterator;
|
||||
|
||||
//#[doc(alias = "gst_element_iterate_sink_pads")]
|
||||
//fn iterate_sink_pads(&self) -> /*Ignored*/Iterator;
|
||||
|
||||
//#[doc(alias = "gst_element_iterate_src_pads")]
|
||||
//fn iterate_src_pads(&self) -> /*Ignored*/Iterator;
|
||||
|
||||
#[doc(alias = "gst_element_link")]
|
||||
fn link<P: IsA<Element>>(&self, dest: &P) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
|
@ -175,9 +166,6 @@ pub trait ElementExt: 'static {
|
|||
filter: &Caps,
|
||||
) -> Result<(), glib::error::BoolError>;
|
||||
|
||||
//#[doc(alias = "gst_element_link_many")]
|
||||
//fn link_many<P: IsA<Element>>(&self, element_2: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> bool;
|
||||
|
||||
#[doc(alias = "gst_element_link_pads")]
|
||||
fn link_pads<P: IsA<Element>>(
|
||||
&self,
|
||||
|
@ -207,14 +195,6 @@ pub trait ElementExt: 'static {
|
|||
#[doc(alias = "gst_element_lost_state")]
|
||||
fn lost_state(&self);
|
||||
|
||||
//#[doc(alias = "gst_element_message_full")]
|
||||
//fn message_full(&self, type_: /*Ignored*/MessageType, domain: glib::Quark, code: i32, text: Option<&str>, debug: Option<&str>, file: &str, function: &str, line: i32);
|
||||
|
||||
//#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
//#[doc(alias = "gst_element_message_full_with_details")]
|
||||
//fn message_full_with_details(&self, type_: /*Ignored*/MessageType, domain: glib::Quark, code: i32, text: Option<&str>, debug: Option<&str>, file: &str, function: &str, line: i32, structure: &mut Structure);
|
||||
|
||||
#[doc(alias = "gst_element_no_more_pads")]
|
||||
fn no_more_pads(&self);
|
||||
|
||||
|
@ -262,9 +242,6 @@ pub trait ElementExt: 'static {
|
|||
#[doc(alias = "gst_element_unlink")]
|
||||
fn unlink<P: IsA<Element>>(&self, dest: &P);
|
||||
|
||||
//#[doc(alias = "gst_element_unlink_many")]
|
||||
//fn unlink_many<P: IsA<Element>>(&self, element_2: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
#[doc(alias = "gst_element_unlink_pads")]
|
||||
fn unlink_pads<P: IsA<Element>>(&self, srcpadname: &str, dest: &P, destpadname: &str);
|
||||
|
||||
|
@ -520,18 +497,6 @@ impl<O: IsA<Element>> ElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn iterate_pads(&self) -> /*Ignored*/Iterator {
|
||||
// unsafe { TODO: call ffi:gst_element_iterate_pads() }
|
||||
//}
|
||||
|
||||
//fn iterate_sink_pads(&self) -> /*Ignored*/Iterator {
|
||||
// unsafe { TODO: call ffi:gst_element_iterate_sink_pads() }
|
||||
//}
|
||||
|
||||
//fn iterate_src_pads(&self) -> /*Ignored*/Iterator {
|
||||
// unsafe { TODO: call ffi:gst_element_iterate_src_pads() }
|
||||
//}
|
||||
|
||||
fn link<P: IsA<Element>>(&self, dest: &P) -> Result<(), glib::error::BoolError> {
|
||||
unsafe {
|
||||
glib::result_from_gboolean!(
|
||||
|
@ -561,10 +526,6 @@ impl<O: IsA<Element>> ElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn link_many<P: IsA<Element>>(&self, element_2: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_element_link_many() }
|
||||
//}
|
||||
|
||||
fn link_pads<P: IsA<Element>>(
|
||||
&self,
|
||||
srcpadname: Option<&str>,
|
||||
|
@ -632,16 +593,6 @@ impl<O: IsA<Element>> ElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn message_full(&self, type_: /*Ignored*/MessageType, domain: glib::Quark, code: i32, text: Option<&str>, debug: Option<&str>, file: &str, function: &str, line: i32) {
|
||||
// unsafe { TODO: call ffi:gst_element_message_full() }
|
||||
//}
|
||||
|
||||
//#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
//fn message_full_with_details(&self, type_: /*Ignored*/MessageType, domain: glib::Quark, code: i32, text: Option<&str>, debug: Option<&str>, file: &str, function: &str, line: i32, structure: &mut Structure) {
|
||||
// unsafe { TODO: call ffi:gst_element_message_full_with_details() }
|
||||
//}
|
||||
|
||||
fn no_more_pads(&self) {
|
||||
unsafe {
|
||||
ffi::gst_element_no_more_pads(self.as_ref().to_glib_none().0);
|
||||
|
@ -765,10 +716,6 @@ impl<O: IsA<Element>> ElementExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
//fn unlink_many<P: IsA<Element>>(&self, element_2: &P, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) {
|
||||
// unsafe { TODO: call ffi:gst_element_unlink_many() }
|
||||
//}
|
||||
|
||||
fn unlink_pads<P: IsA<Element>>(&self, srcpadname: &str, dest: &P, destpadname: &str) {
|
||||
unsafe {
|
||||
ffi::gst_element_unlink_pads(
|
||||
|
|
|
@ -39,11 +39,6 @@ impl Object {
|
|||
// unsafe { TODO: call ffi:gst_object_default_deep_notify() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_object_ref_sink")]
|
||||
//pub fn ref_sink(object: /*Unimplemented*/Option<Fundamental: Pointer>) -> /*Unimplemented*/Option<Fundamental: Pointer> {
|
||||
// unsafe { TODO: call ffi:gst_object_ref_sink() }
|
||||
//}
|
||||
|
||||
//#[doc(alias = "gst_object_replace")]
|
||||
//pub fn replace<P: IsA<Object>, Q: IsA<Object>>(oldobj: Option<P>, newobj: Option<&Q>) -> bool {
|
||||
// unsafe { TODO: call ffi:gst_object_replace() }
|
||||
|
|
|
@ -33,9 +33,6 @@ pub trait TagSetterExt: 'static {
|
|||
//#[doc(alias = "gst_tag_setter_add_tag_values")]
|
||||
//fn add_tag_values(&self, mode: TagMergeMode, tag: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
//#[doc(alias = "gst_tag_setter_add_tags")]
|
||||
//fn add_tags(&self, mode: TagMergeMode, tag: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs);
|
||||
|
||||
#[doc(alias = "gst_tag_setter_get_tag_list")]
|
||||
#[doc(alias = "get_tag_list")]
|
||||
fn tag_list(&self) -> Option<TagList>;
|
||||
|
@ -67,10 +64,6 @@ impl<O: IsA<TagSetter>> TagSetterExt for O {
|
|||
// unsafe { TODO: call ffi:gst_tag_setter_add_tag_values() }
|
||||
//}
|
||||
|
||||
//fn add_tags(&self, mode: TagMergeMode, tag: &str, : /*Unknown conversion*//*Unimplemented*/Fundamental: VarArgs) {
|
||||
// unsafe { TODO: call ffi:gst_tag_setter_add_tags() }
|
||||
//}
|
||||
|
||||
fn tag_list(&self) -> Option<TagList> {
|
||||
unsafe {
|
||||
from_glib_none(ffi::gst_tag_setter_get_tag_list(
|
||||
|
|
|
@ -17,11 +17,6 @@ glib::wrapper! {
|
|||
}
|
||||
|
||||
impl TypeFindFactory {
|
||||
//#[doc(alias = "gst_type_find_factory_call_function")]
|
||||
//pub fn call_function(&self, find: /*Ignored*/&mut TypeFind) {
|
||||
// unsafe { TODO: call ffi:gst_type_find_factory_call_function() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_type_find_factory_get_caps")]
|
||||
#[doc(alias = "get_caps")]
|
||||
pub fn caps(&self) -> Option<Caps> {
|
||||
|
|
Loading…
Reference in a new issue