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 { ... }
}
Provided Methods§
Sourcefn shows_preroll_frame(&self) -> bool
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.
Sourcefn set_show_preroll_frame(&self, show_preroll_frame: bool)
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.
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.