Trait gstreamer_video::subclass::prelude::VideoSinkImpl

source ·
pub trait VideoSinkImpl:
    VideoSinkImplExt
    + BaseSinkImpl
    + ElementImpl {
    // Provided method
    fn show_frame(&self, buffer: &Buffer) -> Result<FlowSuccess, FlowError> { ... }
}

Provided Methods§

source

fn show_frame(&self, buffer: &Buffer) -> Result<FlowSuccess, FlowError>

render a video frame. Maps to GstBaseSinkClass.render() and GstBaseSinkClass.preroll() vfuncs. Rendering during preroll will be suppressed if the show-preroll-frame property is set to false.

Object Safety§

This trait is not object safe.

Implementors§