gstreamer_video::prelude

Trait VideoOverlayExtManual

Source
pub trait VideoOverlayExtManual: IsA<VideoOverlay> + 'static {
    // Provided methods
    unsafe fn set_window_handle(&self, handle: uintptr_t) { ... }
    unsafe fn got_window_handle(&self, handle: uintptr_t) { ... }
}

Provided Methods§

Source

unsafe fn set_window_handle(&self, handle: uintptr_t)

This will call the video overlay’s set_window_handle method. You should use this method to tell to an overlay to display video output to a specific window (e.g. an XWindow on X11). Passing 0 as the handle will tell the overlay to stop using that window and create an internal one.

§handle

a handle referencing the window.

Source

unsafe fn got_window_handle(&self, handle: uintptr_t)

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§