gstreamer_base::prelude

Trait BaseTransformExtManual

Source
pub trait BaseTransformExtManual: IsA<BaseTransform> + 'static {
    // Provided methods
    fn allocator(&self) -> (Option<Allocator>, AllocationParams) { ... }
    fn segment(&self) -> Segment { ... }
    fn sink_pad(&self) -> &Pad { ... }
    fn src_pad(&self) -> &Pad { ... }
}

Provided Methods§

Source

fn allocator(&self) -> (Option<Allocator>, AllocationParams)

Lets BaseTransform sub-classes know the memory allocator used by the base class and its params.

Unref the allocator after use.

§Returns
§allocator

the gst::Allocator used

§params

the gst::AllocationParams of allocator

Source

fn segment(&self) -> Segment

Source

fn sink_pad(&self) -> &Pad

Source

fn src_pad(&self) -> &Pad

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§