pub trait VideoSinkImpl: BaseSinkImpl + ObjectSubclass<Type: IsA<VideoSink>> {
// Provided method
fn show_frame(&self, buffer: &Buffer) -> Result<FlowSuccess, FlowError> { ... }
}
Provided Methods§
Sourcefn show_frame(&self, buffer: &Buffer) -> Result<FlowSuccess, FlowError>
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
.
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.