Trait gstreamer_video::prelude::VideoSinkExt

source ·
pub trait VideoSinkExt: IsA<VideoSink> + Sealed + '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

Object Safety§

This trait is not object safe.

Implementors§