Trait gstreamer_editing_services::prelude::BaseEffectExt[][src]

pub trait BaseEffectExt: 'static {
    fn is_time_effect(&self) -> bool;
fn register_time_property(&self, child_property_name: &str) -> bool; }

Trait containing all BaseEffect methods.

Implementors

crate::BaseEffect, crate::Effect

Required methods

fn is_time_effect(&self) -> bool[src]

This is supported on crate feature v1_18 only.

Get whether the effect is considered a time effect or not. An effect with registered time properties or set translation functions is considered a time effect.

Returns

true if self is considered a time effect.

fn register_time_property(&self, child_property_name: &str) -> bool[src]

This is supported on crate feature v1_18 only.

Register a child property of the effect as a property that, when set, can change the timing of its input data. The child property should be specified as in [crate::prelude::TimelineElementExt::lookup_child()].

You should also set the corresponding time translation using [Self::set_time_translation_funcs()].

Note that self must not be part of a clip, nor can it have [crate::TrackElement:has-internal-source] set to true.

child_property_name

The name of the child property to register as a time property

Returns

true if the child property was found and newly registered.

Loading content...

Implementors

impl<O: IsA<BaseEffect>> BaseEffectExt for O[src]

fn is_time_effect(&self) -> bool[src]

This is supported on crate feature v1_18 only.

fn register_time_property(&self, child_property_name: &str) -> bool[src]

This is supported on crate feature v1_18 only.
Loading content...