pub trait BaseTransformExtManual: Sealed + 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

Object Safety§

This trait is not object safe.

Implementors§