pub trait VideoAggregatorPadImpl: VideoAggregatorPadImplExt + AggregatorPadImpl {
    // Provided methods
    fn update_conversion_info(&self) { ... }
    fn prepare_frame(
        &self,
        aggregator: &VideoAggregator,
        token: &AggregateFramesToken<'_>,
        buffer: &Buffer,
    ) -> Option<VideoFrame<Readable>> { ... }
    fn clean_frame(
        &self,
        aggregator: &VideoAggregator,
        token: &AggregateFramesToken<'_>,
        frame: Option<VideoFrame<Readable>>,
    ) { ... }
}

Provided Methods§

source

fn update_conversion_info(&self)

Called when either the input or output formats have changed.

source

fn prepare_frame( &self, aggregator: &VideoAggregator, token: &AggregateFramesToken<'_>, buffer: &Buffer, ) -> Option<VideoFrame<Readable>>

Prepare the frame from the pad buffer and sets it to prepared_frame. Implementations should always return TRUE. Returning FALSE will cease iteration over subsequent pads.

source

fn clean_frame( &self, aggregator: &VideoAggregator, token: &AggregateFramesToken<'_>, frame: Option<VideoFrame<Readable>>, )

clean the frame previously prepared in prepare_frame

Object Safety§

This trait is not object safe.

Implementors§