Struct gstreamer_player::PlayerVideoOverlayVideoRenderer[]

pub struct PlayerVideoOverlayVideoRenderer(_, _);

Implements

glib::object::ObjectExt, PlayerVideoRendererExt

Methods

impl PlayerVideoOverlayVideoRenderer
[src]

Tell an overlay that it has been exposed. This will redraw the current frame in the drawable even if the pipeline is PAUSED.

Return the currently configured render rectangle. See PlayerVideoOverlayVideoRenderer::set_render_rectangle for details.

x

the horizontal offset of the render area inside the window

y

the vertical offset of the render area inside the window

width

the width of the render area inside the window

height

the height of the render area inside the window

Configure a subregion as a video target within the window set by PlayerVideoOverlayVideoRenderer::set_window_handle. If this is not used or not supported the video will fill the area of the window set as the overlay to 100%. By specifying the rectangle, the video can be overlaid to a specific region of that window only. After setting the new rectangle one should call PlayerVideoOverlayVideoRenderer::expose to force a redraw. To unset the region pass -1 for the width and height parameters.

This method is needed for non fullscreen video overlay in UI toolkits that do not support subwindows.

x

the horizontal offset of the render area inside the window

y

the vertical offset of the render area inside the window

width

the width of the render area inside the window

height

the height of the render area inside the window

impl PlayerVideoOverlayVideoRenderer
[src]

window_handle

Window handle to use or None

window_handle

Window handle to use or None

video_sink

the custom video_sink element to be set for the video renderer

Returns

Since 1.12

Returns

The currently set, platform specific window handle

Sets the platform specific window handle into which the video should be rendered

window_handle

handle referencing to the platform specific window

Trait Implementations

impl Clone for PlayerVideoOverlayVideoRenderer

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for PlayerVideoOverlayVideoRenderer

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for PlayerVideoOverlayVideoRenderer

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl StaticType for PlayerVideoOverlayVideoRenderer

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for PlayerVideoOverlayVideoRenderer

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PlayerVideoOverlayVideoRenderer

impl<T: IsA<Object>> PartialOrd<T> for PlayerVideoOverlayVideoRenderer

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for PlayerVideoOverlayVideoRenderer

Formats the value using the given formatter. Read more

impl IsA<PlayerVideoRenderer> for PlayerVideoOverlayVideoRenderer

impl IsA<Object> for PlayerVideoOverlayVideoRenderer

impl Send for PlayerVideoOverlayVideoRenderer
[src]

impl Sync for PlayerVideoOverlayVideoRenderer
[src]