Struct gstreamer_editing_services::Pipeline
source · #[repr(transparent)]pub struct Pipeline { /* private fields */ }
Expand description
A Pipeline
can take an audio-video Timeline
and conveniently
link its Track
-s to an internal playsink
element, for
preview/playback, and an internal encodebin
element, for rendering.
You can switch between these modes using GESPipelineExt::set_mode()
.
You can choose the specific audio and video sinks used for previewing
the timeline by setting the audio-sink
and
video-sink
properties.
You can set the encoding and save location used in rendering by calling
GESPipelineExt::set_render_settings()
.
Properties
audio-filter
The audio filter(s) to apply during playback in preview mode,
immediately before the audio-sink
. This exposes the
playsink:audio-filter
property of the internal playsink
.
Readable | Writeable
audio-sink
The audio sink used for preview. This exposes the
playsink:audio-sink
property of the internal playsink
.
Readable | Writeable
mode
The pipeline’s mode. In preview mode (for audio or video, or both) the pipeline can display the timeline’s content to an end user. In rendering mode the pipeline can encode the timeline’s content and save it to a file.
Readable | Writeable
timeline
The timeline used by this pipeline, whose content it will play and
render, or None
if the pipeline does not yet have a timeline.
Note that after you set the timeline for the first time, subsequent calls to change the timeline will fail.
Readable | Writeable
video-filter
The video filter(s) to apply during playback in preview mode,
immediately before the video-sink
. This exposes the
playsink:video-filter
property of the internal playsink
.
Readable | Writeable
video-sink
The video sink used for preview. This exposes the
playsink:video-sink
property of the internal playsink
.
Readable | Writeable
Pipeline
auto-flush-bus
Whether or not to automatically flush all messages on the
pipeline’s bus when going from READY to NULL state. Please see
[PipelineExtManual::set_auto_flush_bus()
][crate::gst::prelude::PipelineExtManual::set_auto_flush_bus()] for more information on this option.
Readable | Writeable
delay
The expected delay needed for elements to spin up to the
PLAYING state expressed in nanoseconds.
see [PipelineExtManual::set_delay()
][crate::gst::prelude::PipelineExtManual::set_delay()] for more information on this option.
Readable | Writeable
latency
Latency to configure on the pipeline. See [PipelineExtManual::set_latency()
][crate::gst::prelude::PipelineExtManual::set_latency()].
Readable | Writeable
Bin
async-handling
If set to true
, the bin will handle asynchronous state changes.
This should be used only if the bin subclass is modifying the state
of its children on its own.
Readable | Writeable
message-forward
Forward all children messages, even those that would normally be filtered by the bin. This can be interesting when one wants to be notified of the EOS state of individual elements, for example.
The messages are converted to an ELEMENT message with the bin as the
source. The structure of the message is named GstBinForwarded
and contains
a field named message
that contains the original forwarded GstMessage
.
Readable | Writeable
Object
name
Readable | Writeable | Construct
parent
The parent of the object. Please note, that when changing the ‘parent’
property, we don’t emit notify
and deep-notify
signals due to locking issues. In some cases one can use
element-added
or element-removed
signals on the parent to
achieve a similar effect.
Readable | Writeable
Implements
GESPipelineExt
, gst::prelude::PipelineExt
, [trait@gst::prelude::BinExt
], gst::prelude::ElementExt
, gst::prelude::GstObjectExt
, glib::ObjectExt
, gst::prelude::ChildProxyExt
Implementations§
Trait Implementations§
source§impl HasParamSpec for Pipeline
impl HasParamSpec for Pipeline
source§impl Ord for Pipeline
impl Ord for Pipeline
source§impl<OT: ObjectType> PartialEq<OT> for Pipeline
impl<OT: ObjectType> PartialEq<OT> for Pipeline
source§impl<OT: ObjectType> PartialOrd<OT> for Pipeline
impl<OT: ObjectType> PartialOrd<OT> for Pipeline
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for Pipeline
impl StaticType for Pipeline
source§fn static_type() -> Type
fn static_type() -> Type
Self
.impl Eq for Pipeline
impl IsA<Bin> for Pipeline
impl IsA<ChildProxy> for Pipeline
impl IsA<Element> for Pipeline
impl IsA<Object> for Pipeline
impl IsA<Pipeline> for Pipeline
Auto Trait Implementations§
impl RefUnwindSafe for Pipeline
impl !Send for Pipeline
impl !Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations§
source§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read moresource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read moresource§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
T
. Read moresource§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
T
. Read moresource§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moresource§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moresource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
T
unconditionally. Read moresource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
&T
unconditionally. Read moresource§impl<O> ChildProxyExt for Owhere
O: IsA<ChildProxy>,
impl<O> ChildProxyExt for Owhere
O: IsA<ChildProxy>,
source§fn child_added(&self, child: &impl IsA<Object>, name: &str)
fn child_added(&self, child: &impl IsA<Object>, name: &str)
child-added
signal. Read moresource§fn child_removed(&self, child: &impl IsA<Object>, name: &str)
fn child_removed(&self, child: &impl IsA<Object>, name: &str)
child-removed
signal. Read moresource§fn child_by_index(&self, index: u32) -> Option<Object>
fn child_by_index(&self, index: u32) -> Option<Object>
source§fn child_by_name(&self, name: &str) -> Option<Object>
fn child_by_name(&self, name: &str) -> Option<Object>
source§fn child_by_name_recurse(&self, name: &str) -> Option<Object>
fn child_by_name_recurse(&self, name: &str) -> Option<Object>
v1_22
only.source§fn children_count(&self) -> u32
fn children_count(&self) -> u32
source§fn connect_child_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Object, &str) + Send + Sync + 'static,
fn connect_child_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Object, &str) + Send + Sync + 'static,
source§impl<O> ChildProxyExtManual for Owhere
O: IsA<ChildProxy>,
impl<O> ChildProxyExtManual for Owhere
O: IsA<ChildProxy>,
source§fn child_property<V>(&self, name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
fn child_property<V>(&self, name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
glib::Value::unset()
][crate::glib::Value::unset()] Read morefn child_property_value(&self, name: &str) -> Value
source§fn set_child_property(&self, name: &str, value: impl Into<Value>)
fn set_child_property(&self, name: &str, value: impl Into<Value>)
fn set_child_property_from_value(&self, name: &str, value: &Value)
source§impl<O> ElementExt for Owhere
O: IsA<Element>,
impl<O> ElementExt for Owhere
O: IsA<Element>,
source§fn abort_state(&self)
fn abort_state(&self)
source§fn add_pad(&self, pad: &impl IsA<Pad>) -> Result<(), BoolError>
fn add_pad(&self, pad: &impl IsA<Pad>) -> Result<(), BoolError>
self
. pad
’s parent will be set to self
;
see GstObjectExt::set_parent()
for refcounting information. Read moresource§fn change_state(
&self,
transition: StateChange
) -> Result<StateChangeSuccess, StateChangeError>
fn change_state(
&self,
transition: StateChange
) -> Result<StateChangeSuccess, StateChangeError>
source§fn continue_state(
&self,
ret: impl Into<StateChangeReturn>
) -> Result<StateChangeSuccess, StateChangeError>
fn continue_state(
&self,
ret: impl Into<StateChangeReturn>
) -> Result<StateChangeSuccess, StateChangeError>
StateChangeReturn::Success
from the state change function. Read morefn create_all_pads(&self)
fn foreach_pad<P>(&self, func: P) -> boolwhere
P: FnMut(&Element, &Pad) -> bool,
fn foreach_sink_pad<P>(&self, func: P) -> boolwhere
P: FnMut(&Element, &Pad) -> bool,
fn foreach_src_pad<P>(&self, func: P) -> boolwhere
P: FnMut(&Element, &Pad) -> bool,
fn base_time(&self) -> Option<ClockTime>
fn bus(&self) -> Option<Bus>
fn clock(&self) -> Option<Clock>
fn compatible_pad(&self, pad: &impl IsA<Pad>, caps: Option<&Caps>) -> Option<Pad>
fn compatible_pad_template(
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>
fn context(&self, context_type: &str) -> Option<Context>
fn contexts(&self) -> Vec<Context, Global> ⓘ
fn factory(&self) -> Option<ElementFactory>
fn start_time(&self) -> Option<ClockTime>
fn state(
&self,
timeout: impl Into<Option<ClockTime>>
) -> (Result<StateChangeSuccess, StateChangeError>, State, State)
fn static_pad(&self, name: &str) -> Option<Pad>
fn is_locked_state(&self) -> bool
fn lost_state(&self)
fn no_more_pads(&self)
fn post_message(&self, message: Message) -> Result<(), BoolError>
fn provide_clock(&self) -> Option<Clock>
fn release_request_pad(&self, pad: &impl IsA<Pad>)
fn remove_pad(&self, pad: &impl IsA<Pad>) -> Result<(), BoolError>
fn request_pad(
&self,
templ: &PadTemplate,
name: Option<&str>,
caps: Option<&Caps>
) -> Option<Pad>
fn set_base_time(&self, time: ClockTime)
fn set_bus(&self, bus: Option<&Bus>)
fn set_clock(&self, clock: Option<&impl IsA<Clock>>) -> Result<(), BoolError>
fn set_context(&self, context: &Context)
fn set_locked_state(&self, locked_state: bool) -> bool
fn set_start_time(&self, time: impl Into<Option<ClockTime>>)
fn set_state(&self, state: State) -> Result<StateChangeSuccess, StateChangeError>
fn sync_state_with_parent(&self) -> Result<(), BoolError>
fn unlink(&self, dest: &impl IsA<Element>)
fn unlink_pads(
&self,
srcpadname: &str,
dest: &impl IsA<Element>,
destpadname: &str
)
fn connect_no_more_pads<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O) + Send + Sync + 'static,
fn connect_pad_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Pad) + Send + Sync + 'static,
fn connect_pad_removed<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Pad) + Send + Sync + 'static,
source§impl<O> ElementExtManual for Owhere
O: IsA<Element>,
impl<O> ElementExtManual for Owhere
O: IsA<Element>,
fn element_class(&self) -> &Class<Element>
fn current_state(&self) -> State
fn pending_state(&self) -> State
source§fn query(&self, query: &mut QueryRef) -> bool
fn query(&self, query: &mut QueryRef) -> bool
source§fn send_event(&self, event: impl Into<Event>) -> bool
fn send_event(&self, event: impl Into<Event>) -> bool
fn metadata<'a>(&self, key: &str) -> Option<&'a str>
fn pad_template(&self, name: &str) -> Option<PadTemplate>
fn pad_template_list(&self) -> List<PadTemplate>
fn set_element_flags(&self, flags: ElementFlags)
fn unset_element_flags(&self, flags: ElementFlags)
fn element_flags(&self) -> ElementFlags
fn message_full<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
)where
T: MessageErrorDomain,
fn message_full_with_details<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
)where
T: MessageErrorDomain,
fn post_error_message(&self, msg: ErrorMessage)
fn iterate_pads(&self) -> Iterator<Pad>
fn iterate_sink_pads(&self) -> Iterator<Pad>
fn iterate_src_pads(&self) -> Iterator<Pad>
fn pads(&self) -> Vec<Pad, Global> ⓘ
fn sink_pads(&self) -> Vec<Pad, Global> ⓘ
fn src_pads(&self) -> Vec<Pad, Global> ⓘ
fn num_pads(&self) -> u16
fn num_sink_pads(&self) -> u16
fn num_src_pads(&self) -> u16
fn add_property_deep_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
fn add_property_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)
fn query_convert<U>(&self, src_val: impl FormattedValue) -> Option<U>where
U: SpecificFormattedValueFullRange,
fn query_convert_generic(
&self,
src_val: impl FormattedValue,
dest_format: Format
) -> Option<GenericFormattedValue>
fn query_duration<T>(&self) -> Option<T>where
T: SpecificFormattedValueIntrinsic,
fn query_duration_generic(&self, format: Format) -> Option<GenericFormattedValue>
fn query_position<T>(&self) -> Option<T>where
T: SpecificFormattedValueIntrinsic,
fn query_position_generic(&self, format: Format) -> Option<GenericFormattedValue>
fn seek<V>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: impl CompatibleFormattedValue<V>
) -> Result<(), BoolError>where
V: FormattedValue,
fn seek_simple(
&self,
seek_flags: SeekFlags,
seek_pos: impl FormattedValue
) -> Result<(), BoolError>
fn call_async<F>(&self, func: F)where
F: FnOnce(&O) + Send + 'static,
fn call_async_future<F, T>(
&self,
func: F
) -> Pin<Box<dyn Future<Output = T> + Send + 'static, Global>>where
F: FnOnce(&O) -> T + Send + 'static,
T: Send + 'static,
fn current_running_time(&self) -> Option<ClockTime>
fn current_clock_time(&self) -> Option<ClockTime>
fn request_pad_simple(&self, name: &str) -> Option<Pad>
fn link(&self, dest: &impl IsA<Element>) -> Result<(), BoolError>
fn link_filtered(
&self,
dest: &impl IsA<Element>,
filter: &Caps
) -> Result<(), BoolError>
fn link_pads(
&self,
srcpadname: Option<&str>,
dest: &impl IsA<Element>,
destpadname: Option<&str>
) -> Result<(), BoolError>
fn link_pads_filtered(
&self,
srcpadname: Option<&str>,
dest: &impl IsA<Element>,
destpadname: Option<&str>,
filter: &Caps
) -> Result<(), BoolError>
fn link_pads_full(
&self,
srcpadname: Option<&str>,
dest: &impl IsA<Element>,
destpadname: Option<&str>,
flags: PadLinkCheck
) -> Result<(), BoolError>
source§impl<O> GObjectExtManualGst for Owhere
O: IsA<Object>,
impl<O> GObjectExtManualGst for Owhere
O: IsA<Object>,
fn set_property_from_str(&self, name: &str, value: &str)
source§impl<O> GstBinExt for Owhere
O: IsA<Bin>,
impl<O> GstBinExt for Owhere
O: IsA<Bin>,
source§fn add(&self, element: &impl IsA<Element>) -> Result<(), BoolError>
fn add(&self, element: &impl IsA<Element>) -> Result<(), BoolError>
source§fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>
fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>
None
otherwise. If a pad is found, the caller
owns a reference to it and should use gst_object_unref()
on the
pad when it is not needed any longer. Read moresource§fn by_interface(&self, iface: Type) -> Option<Element>
fn by_interface(&self, iface: Type) -> Option<Element>
GstBinExtManual::iterate_all_by_interface()
. This function recurses into child bins. Read moresource§fn by_name(&self, name: &str) -> Option<Element>
fn by_name(&self, name: &str) -> Option<Element>
source§fn by_name_recurse_up(&self, name: &str) -> Option<Element>
fn by_name_recurse_up(&self, name: &str) -> Option<Element>
source§fn suppressed_flags(&self) -> ElementFlags
fn suppressed_flags(&self) -> ElementFlags
source§fn recalculate_latency(&self) -> Result<(), BoolError>
fn recalculate_latency(&self) -> Result<(), BoolError>
self
for the current latency and reconfigures this latency on all the
elements using a LATENCY event. Read moresource§fn remove(&self, element: &impl IsA<Element>) -> Result<(), BoolError>
fn remove(&self, element: &impl IsA<Element>) -> Result<(), BoolError>
gst_object_ref()
before removing it from the bin. Read moresource§fn set_suppressed_flags(&self, flags: ElementFlags)
fn set_suppressed_flags(&self, flags: ElementFlags)
ElementFlags
of a
child element are propagated when it is added to the bin.
When suppressed flags are set, those specified flags will
not be propagated to the bin. Read moresource§fn sync_children_states(&self) -> Result<(), BoolError>
fn sync_children_states(&self) -> Result<(), BoolError>
self
with the state
of self
. See also ElementExt::sync_state_with_parent()
. Read moresource§fn is_async_handling(&self) -> bool
fn is_async_handling(&self) -> bool
true
, the bin will handle asynchronous state changes.
This should be used only if the bin subclass is modifying the state
of its children on its own.source§fn set_async_handling(&self, async_handling: bool)
fn set_async_handling(&self, async_handling: bool)
true
, the bin will handle asynchronous state changes.
This should be used only if the bin subclass is modifying the state
of its children on its own.source§fn is_message_forward(&self) -> bool
fn is_message_forward(&self) -> bool
source§fn set_message_forward(&self, message_forward: bool)
fn set_message_forward(&self, message_forward: bool)
source§fn connect_deep_element_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Bin, &Element) + Send + Sync + 'static,
fn connect_deep_element_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Bin, &Element) + Send + Sync + 'static,
sub_bin
. Read moresource§fn connect_deep_element_removed<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Bin, &Element) + Send + Sync + 'static,
fn connect_deep_element_removed<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Bin, &Element) + Send + Sync + 'static,
sub_bin
. Read moresource§fn connect_element_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Element) + Send + Sync + 'static,
fn connect_element_added<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Element) + Send + Sync + 'static,
source§fn connect_element_removed<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Element) + Send + Sync + 'static,
fn connect_element_removed<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Element) + Send + Sync + 'static,
fn connect_async_handling_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O) + Send + Sync + 'static,
fn connect_message_forward_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O) + Send + Sync + 'static,
source§impl<O> GstBinExtManual for Owhere
O: IsA<Bin>,
impl<O> GstBinExtManual for Owhere
O: IsA<Bin>,
fn add_many<E>(&self, elements: &[&E]) -> Result<(), BoolError>where
E: IsA<Element>,
fn remove_many<E>(&self, elements: &[&E]) -> Result<(), BoolError>where
E: IsA<Element>,
fn connect_do_latency<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O) -> Result<(), LoggableError> + Send + Sync + 'static,
source§fn iterate_all_by_element_factory_name(
&self,
factory_name: &str
) -> Iterator<Element>
fn iterate_all_by_element_factory_name(
&self,
factory_name: &str
) -> Iterator<Element>
v1_18
only.fn iterate_all_by_interface(&self, iface: Type) -> Iterator<Element>
fn iterate_elements(&self) -> Iterator<Element>
fn iterate_recurse(&self) -> Iterator<Element>
fn iterate_sinks(&self) -> Iterator<Element>
fn iterate_sorted(&self) -> Iterator<Element>
fn iterate_sources(&self) -> Iterator<Element>
fn children(&self) -> Vec<Element, Global> ⓘ
fn debug_to_dot_data(&self, details: DebugGraphDetails) -> GString
fn debug_to_dot_file(
&self,
details: DebugGraphDetails,
file_name: impl AsRef<Path>
)
fn debug_to_dot_file_with_ts(
&self,
details: DebugGraphDetails,
file_name: impl AsRef<Path>
)
fn set_bin_flags(&self, flags: BinFlags)
fn unset_bin_flags(&self, flags: BinFlags)
fn bin_flags(&self) -> BinFlags
source§impl<O> GstObjectExt for Owhere
O: IsA<Object>,
impl<O> GstObjectExt for Owhere
O: IsA<Object>,
source§fn add_control_binding(
&self,
binding: &impl IsA<ControlBinding>
) -> Result<(), BoolError>
fn add_control_binding(
&self,
binding: &impl IsA<ControlBinding>
) -> Result<(), BoolError>
ControlBinding
to the object. If there already was a
ControlBinding
for this property it will be replaced. Read moresource§fn default_error(&self, error: &Error, debug: Option<&str>)
fn default_error(&self, error: &Error, debug: Option<&str>)
g_printerr()
to display the error message
and the optional debug string.. Read moresource§fn control_binding(&self, property_name: &str) -> Option<ControlBinding>
fn control_binding(&self, property_name: &str) -> Option<ControlBinding>
ControlBinding
for the property. This should be
unreferenced again after use. Read moresource§fn control_rate(&self) -> Option<ClockTime>
fn control_rate(&self) -> Option<ClockTime>
self
. Audio processing Element
objects will use this rate to sub-divide their processing loop and call
sync_values()
in between. The length of the processing segment
should be up to control
-rate nanoseconds. Read moresource§fn parent(&self) -> Option<Object>
fn parent(&self) -> Option<Object>
self
. This function increases the refcount
of the parent object so you should gst_object_unref()
it after usage. Read moresource§fn path_string(&self) -> GString
fn path_string(&self) -> GString
self
in
the object hierarchy. Only useful (or used) for debugging. Read moresource§fn value(
&self,
property_name: &str,
timestamp: impl Into<Option<ClockTime>>
) -> Option<Value>
fn value(
&self,
property_name: &str,
timestamp: impl Into<Option<ClockTime>>
) -> Option<Value>
fn has_active_control_bindings(&self) -> bool
fn has_ancestor(&self, ancestor: &impl IsA<Object>) -> bool
fn has_as_ancestor(&self, ancestor: &impl IsA<Object>) -> bool
fn has_as_parent(&self, parent: &impl IsA<Object>) -> bool
fn remove_control_binding(&self, binding: &impl IsA<ControlBinding>) -> bool
fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)
fn set_control_bindings_disabled(&self, disabled: bool)
fn set_control_rate(&self, control_rate: impl Into<Option<ClockTime>>)
fn set_parent(&self, parent: &impl IsA<Object>) -> Result<(), BoolError>
fn suggest_next_sync(&self) -> Option<ClockTime>
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>
fn unparent(&self)
fn connect_parent_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&O) + Send + Sync + 'static,
source§impl<O> GstObjectExtManual for Owhere
O: IsA<Object>,
impl<O> GstObjectExtManual for Owhere
O: IsA<Object>,
fn connect_deep_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&O, &Object, &ParamSpec) + Send + Sync + 'static,
fn set_object_flags(&self, flags: ObjectFlags)
fn unset_object_flags(&self, flags: ObjectFlags)
fn object_flags(&self) -> ObjectFlags
fn g_value_array(
&self,
property_name: &str,
timestamp: ClockTime,
interval: ClockTime,
values: &mut [Value]
) -> Result<(), BoolError>
fn object_lock(&self) -> ObjectLockGuard<'_, O>
source§impl<O> GstPipelineExtManual for Owhere
O: IsA<Pipeline>,
impl<O> GstPipelineExtManual for Owhere
O: IsA<Pipeline>,
fn set_pipeline_flags(&self, flags: PipelineFlags)
fn unset_pipeline_flags(&self, flags: PipelineFlags)
fn pipeline_flags(&self) -> PipelineFlags
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
fn parent_class_init<T>(class: &mut Class<U>)where
T: ObjectSubclass,
<U as ParentClassIs>::Parent: IsSubclassable<T>,
fn parent_instance_init<T>(instance: &mut InitializingObject<T>)where
T: ObjectSubclass,
<U as ParentClassIs>::Parent: IsSubclassable<T>,
source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
source§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere
U: StaticType,
true
if the object is an instance of (can be cast to) T
.source§fn object_class(&self) -> &Class<Object>
fn object_class(&self) -> &Class<Object>
ObjectClass
of the object. Read moresource§fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
T
. Read moresource§fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
T
of the object. Read moresource§fn set_property_from_value(&self, property_name: &str, value: &Value)
fn set_property_from_value(&self, property_name: &str, value: &Value)
source§fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
source§fn set_properties_from_value(&self, property_values: &[(&str, Value)])
fn set_properties_from_value(&self, property_values: &[(&str, Value)])
source§fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
property_name
of the object and cast it to the type V. Read moresource§fn property_value(&self, property_name: &str) -> Value
fn property_value(&self, property_name: &str) -> Value
property_name
of the object. Read moresource§fn property_type(&self, property_name: &str) -> Option<Type>
fn property_type(&self, property_name: &str) -> Option<Type>
property_name
of this object. Read moresource§fn find_property(&self, property_name: &str) -> Option<ParamSpec>
fn find_property(&self, property_name: &str) -> Option<ParamSpec>
ParamSpec
of the property property_name
of this object.source§fn list_properties(&self) -> PtrSlice<ParamSpec>
fn list_properties(&self) -> PtrSlice<ParamSpec>
ParamSpec
of the properties of this object.source§fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
source§unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
key
. Read moresource§unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
key
. Read moresource§unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
key
. Read moresource§unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
key
. Read moresource§unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
key
. Read moresource§unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
key
. Read moresource§fn block_signal(&self, handler_id: &SignalHandlerId)
fn block_signal(&self, handler_id: &SignalHandlerId)
source§fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
source§fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
source§fn stop_signal_emission_by_name(&self, signal_name: &str)
fn stop_signal_emission_by_name(&self, signal_name: &str)
source§fn connect<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
fn connect<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
signal_name
on this object. Read moresource§fn connect_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
fn connect_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
signal_id
on this object. Read moresource§fn connect_local<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + 'static,
fn connect_local<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + 'static,
signal_name
on this object. Read moresource§fn connect_local_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + 'static,
fn connect_local_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + 'static,
signal_id
on this object. Read moresource§unsafe fn connect_unsafe<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value>,
unsafe fn connect_unsafe<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value>,
signal_name
on this object. Read moresource§unsafe fn connect_unsafe_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value>,
unsafe fn connect_unsafe_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value>,
signal_id
on this object. Read moresource§fn connect_closure(
&self,
signal_name: &str,
after: bool,
closure: RustClosure
) -> SignalHandlerId
fn connect_closure(
&self,
signal_name: &str,
after: bool,
closure: RustClosure
) -> SignalHandlerId
signal_name
on this object. Read moresource§fn connect_closure_id(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
closure: RustClosure
) -> SignalHandlerId
fn connect_closure_id(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
closure: RustClosure
) -> SignalHandlerId
signal_id
on this object. Read moresource§fn watch_closure(&self, closure: &impl AsRef<Closure>)
fn watch_closure(&self, closure: &impl AsRef<Closure>)
closure
to the lifetime of the object. When
the object’s reference count drops to zero, the closure will be
invalidated. An invalidated closure will ignore any calls to
invoke_with_values
, or
invoke
when using Rust closures.source§fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
Self::emit
but takes Value
for the arguments.source§fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_by_name_with_values(
&self,
signal_name: &str,
args: &[Value]
) -> Option<Value>
fn emit_by_name_with_values(
&self,
signal_name: &str,
args: &[Value]
) -> Option<Value>
source§fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue]
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue]
) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_by_name_with_details_and_values(
&self,
signal_name: &str,
details: Quark,
args: &[Value]
) -> Option<Value>
fn emit_by_name_with_details_and_values(
&self,
signal_name: &str,
details: Quark,
args: &[Value]
) -> Option<Value>
source§fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue]
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue]
) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_with_details_and_values(
&self,
signal_id: SignalId,
details: Quark,
args: &[Value]
) -> Option<Value>
fn emit_with_details_and_values(
&self,
signal_id: SignalId,
details: Quark,
args: &[Value]
) -> Option<Value>
source§fn disconnect(&self, handler_id: SignalHandlerId)
fn disconnect(&self, handler_id: SignalHandlerId)
source§fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec) + Send + Sync + 'static,
fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec) + Send + Sync + 'static,
notify
signal of the object. Read moresource§fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec) + 'static,
fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec) + 'static,
notify
signal of the object. Read moresource§unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec),
unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec),
notify
signal of the object. Read moresource§fn notify(&self, property_name: &str)
fn notify(&self, property_name: &str)
source§fn notify_by_pspec(&self, pspec: &ParamSpec)
fn notify_by_pspec(&self, pspec: &ParamSpec)
source§fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + Send + 'static,
fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + Send + 'static,
source§fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
source§fn bind_property<'f, 't, O, 'a>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
fn bind_property<'f, 't, O, 'a>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
source§unsafe fn run_dispose(&self)
unsafe fn run_dispose(&self)
source§impl<O> PipelineExt for Owhere
O: IsA<Pipeline>,
impl<O> PipelineExt for Owhere
O: IsA<Pipeline>,
source§fn auto_clock(&self)
fn auto_clock(&self)
self
select a clock automatically. This is the default
behaviour. Read moresource§fn is_auto_flush_bus(&self) -> bool
fn is_auto_flush_bus(&self) -> bool
self
will automatically flush messages when going to
the NULL state. Read moresource§fn latency(&self) -> Option<ClockTime>
fn latency(&self) -> Option<ClockTime>
set_latency()
. Read moresource§fn pipeline_clock(&self) -> Clock
fn pipeline_clock(&self) -> Clock
self
. Read moresource§fn set_auto_flush_bus(&self, auto_flush: bool)
fn set_auto_flush_bus(&self, auto_flush: bool)
source§fn set_delay(&self, delay: ClockTime)
fn set_delay(&self, delay: ClockTime)
delay
will be added to the
base time of the elements so that they wait an additional delay
amount of time before starting to process buffers and cannot be
GST_CLOCK_TIME_NONE
. Read more