[−][src]Trait gstreamer_editing_services::prelude::PadExtManual
Required methods
fn add_probe<F>(&self, mask: PadProbeType, func: F) -> Option<PadProbeId> where
F: Fn(&Self, &mut PadProbeInfo<'_>) -> PadProbeReturn + Send + Sync + 'static,
F: Fn(&Self, &mut PadProbeInfo<'_>) -> PadProbeReturn + Send + Sync + 'static,
fn remove_probe(&self, id: PadProbeId)
fn chain(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
fn push(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
fn chain_list(&self, list: BufferList) -> Result<FlowSuccess, FlowError>
fn push_list(&self, list: BufferList) -> Result<FlowSuccess, FlowError>
fn pull_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowError>
fn pull_range_fill(
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
fn get_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowError>
fn get_range_fill(
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
fn peer_query(&self, query: &mut QueryRef) -> bool
fn query(&self, query: &mut QueryRef) -> bool
fn query_default<P>(&self, parent: Option<&P>, query: &mut QueryRef) -> bool where
P: IsA<Object>,
P: IsA<Object>,
fn proxy_query_caps(&self, query: &mut QueryRef) -> bool
fn proxy_query_accept_caps(&self, query: &mut QueryRef) -> bool
fn event_default<P>(&self, parent: Option<&P>, event: Event) -> bool where
P: IsA<Object>,
P: IsA<Object>,
fn push_event(&self, event: Event) -> bool
fn send_event(&self, event: Event) -> bool
fn get_last_flow_return(&self) -> Result<FlowSuccess, FlowError>
fn iterate_internal_links(&self) -> Iterator<Pad>
fn iterate_internal_links_default<P>(&self, parent: Option<&P>) -> Iterator<Pad> where
P: IsA<Object>,
P: IsA<Object>,
fn link<P>(&self, sinkpad: &P) -> Result<PadLinkSuccess, PadLinkError> where
P: IsA<Pad>,
P: IsA<Pad>,
fn link_full<P>(
&self,
sinkpad: &P,
flags: PadLinkCheck
) -> Result<PadLinkSuccess, PadLinkError> where
P: IsA<Pad>,
&self,
sinkpad: &P,
flags: PadLinkCheck
) -> Result<PadLinkSuccess, PadLinkError> where
P: IsA<Pad>,
fn stream_lock(&self) -> StreamLock<'_>
unsafe fn set_activate_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static,
unsafe fn set_activatemode_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
unsafe fn set_chain_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_chain_list_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_event_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, Event) -> bool + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, Event) -> bool + Send + Sync + 'static,
unsafe fn set_event_full_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_getrange_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_iterate_internal_links_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
unsafe fn set_link_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
unsafe fn set_query_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
unsafe fn set_unlink_function<F>(&self, func: F) where
F: Fn(&Self, Option<&Object>) + Send + Sync + 'static,
F: Fn(&Self, Option<&Object>) + Send + Sync + 'static,
fn start_task<F>(&self, func: F) -> Result<(), BoolError> where
F: 'static + Send + FnMut(),
F: 'static + Send + FnMut(),
fn peer_query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
fn peer_query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
fn peer_query_duration<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
T: SpecificFormattedValue,
fn peer_query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn peer_query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
T: SpecificFormattedValue,
fn peer_query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
fn query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
fn query_duration<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
T: SpecificFormattedValue,
fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
T: SpecificFormattedValue,
fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn get_mode(&self) -> PadMode
fn sticky_events_foreach<F>(&self, func: F) where
F: FnMut(Event) -> Result<Option<Event>, Option<Event>>,
F: FnMut(Event) -> Result<Option<Event>, Option<Event>>,
fn store_sticky_event(&self, event: &Event) -> Result<FlowSuccess, FlowError>
fn set_pad_flags(&self, flags: PadFlags)
fn unset_pad_flags(&self, flags: PadFlags)
fn get_pad_flags(&self) -> PadFlags
Implementors
impl<O> PadExtManual for O where
O: IsA<Pad>,
[src]
O: IsA<Pad>,
fn add_probe<F>(&self, mask: PadProbeType, func: F) -> Option<PadProbeId> where
F: Fn(&O, &mut PadProbeInfo<'_>) -> PadProbeReturn + Send + Sync + 'static,
[src]
F: Fn(&O, &mut PadProbeInfo<'_>) -> PadProbeReturn + Send + Sync + 'static,
fn remove_probe(&self, id: PadProbeId)
[src]
fn chain(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
[src]
fn push(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
[src]
fn chain_list(&self, list: BufferList) -> Result<FlowSuccess, FlowError>
[src]
fn push_list(&self, list: BufferList) -> Result<FlowSuccess, FlowError>
[src]
fn get_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowError>
[src]
fn get_range_fill(
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
[src]
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
fn pull_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowError>
[src]
fn pull_range_fill(
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
[src]
&self,
offset: u64,
buffer: &mut BufferRef,
size: u32
) -> Result<(), FlowError>
fn query(&self, query: &mut QueryRef) -> bool
[src]
fn peer_query(&self, query: &mut QueryRef) -> bool
[src]
fn query_default<P>(&self, parent: Option<&P>, query: &mut QueryRef) -> bool where
P: IsA<Object>,
[src]
P: IsA<Object>,
fn proxy_query_accept_caps(&self, query: &mut QueryRef) -> bool
[src]
fn proxy_query_caps(&self, query: &mut QueryRef) -> bool
[src]
fn event_default<P>(&self, parent: Option<&P>, event: Event) -> bool where
P: IsA<Object>,
[src]
P: IsA<Object>,
fn push_event(&self, event: Event) -> bool
[src]
fn send_event(&self, event: Event) -> bool
[src]
fn get_last_flow_return(&self) -> Result<FlowSuccess, FlowError>
[src]
fn iterate_internal_links(&self) -> Iterator<Pad>
[src]
fn iterate_internal_links_default<P>(&self, parent: Option<&P>) -> Iterator<Pad> where
P: IsA<Object>,
[src]
P: IsA<Object>,
fn link<P>(&self, sinkpad: &P) -> Result<PadLinkSuccess, PadLinkError> where
P: IsA<Pad>,
[src]
P: IsA<Pad>,
fn link_full<P>(
&self,
sinkpad: &P,
flags: PadLinkCheck
) -> Result<PadLinkSuccess, PadLinkError> where
P: IsA<Pad>,
[src]
&self,
sinkpad: &P,
flags: PadLinkCheck
) -> Result<PadLinkSuccess, PadLinkError> where
P: IsA<Pad>,
fn stream_lock(&self) -> StreamLock<'_>
[src]
unsafe fn set_activate_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static,
unsafe fn set_activatemode_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
unsafe fn set_chain_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_chain_list_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_event_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, Event) -> bool + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, Event) -> bool + Send + Sync + 'static,
unsafe fn set_event_full_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_getrange_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static,
unsafe fn set_iterate_internal_links_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
unsafe fn set_link_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
unsafe fn set_query_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
unsafe fn set_unlink_function<F>(&self, func: F) where
F: Fn(&O, Option<&Object>) + Send + Sync + 'static,
[src]
F: Fn(&O, Option<&Object>) + Send + Sync + 'static,
fn start_task<F>(&self, func: F) -> Result<(), BoolError> where
F: 'static + Send + FnMut(),
[src]
F: 'static + Send + FnMut(),
fn peer_query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
[src]
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
fn peer_query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
[src]
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
fn peer_query_duration<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
[src]
T: SpecificFormattedValue,
fn peer_query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn peer_query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
[src]
T: SpecificFormattedValue,
fn peer_query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
[src]
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
fn query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
[src]
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
fn query_duration<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
[src]
T: SpecificFormattedValue,
fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
[src]
T: SpecificFormattedValue,
fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn get_mode(&self) -> PadMode
[src]
fn sticky_events_foreach<F>(&self, func: F) where
F: FnMut(Event) -> Result<Option<Event>, Option<Event>>,
[src]
F: FnMut(Event) -> Result<Option<Event>, Option<Event>>,