gstreamer_video::prelude

Trait VideoSinkExt

Source
pub trait VideoSinkExt: IsA<VideoSink> + 'static {
    // Provided methods
    fn shows_preroll_frame(&self) -> bool { ... }
    fn set_show_preroll_frame(&self, show_preroll_frame: bool) { ... }
    fn connect_show_preroll_frame_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all VideoSink methods.

§Implementors

VideoSink

Provided Methods§

Source

fn shows_preroll_frame(&self) -> bool

Whether to show video frames during preroll. If set to false, video frames will only be rendered in PLAYING state.

Source

fn set_show_preroll_frame(&self, show_preroll_frame: bool)

Whether to show video frames during preroll. If set to false, video frames will only be rendered in PLAYING state.

Source

fn connect_show_preroll_frame_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

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§