Import line: | GstInterfaces = imports.gi.GstInterfaces; |
GIR File: | GstInterfaces-0.10.gir |
C documentation: | GstXOverlay |
Interface : | XOverlay |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
expose
()
:
none
Tell an overlay that it has been exposed.
Tell an overlay that it has been exposed. This will redraw the current frame in the drawable even if the pipeline is PAUSED.
|
GstInterfaces.XOverlay | |
got_xwindow_id
(Number xwindow_id)
:
none
This will post a "have-xwindow-id" element message on the bus.
This will post a "have-xwindow-id" element message on the bus. This function should only be used by video overlay plugin developers.
|
GstInterfaces.XOverlay | |
handle_events
(Boolean handle_events)
:
none
Tell an overlay that it should handle events from the window system.
Tell an overlay that it should handle events from the window system. These events are forwared upstream as navigation events. In some window system, events are not propagated in the window hierarchy if a client is listening for them. This method allows you to disable events handling completely from the XOverlay.
|
GstInterfaces.XOverlay | |
prepare_xwindow_id
()
:
none
This will post a "prepare-xwindow-id" element message on the bus to give applications an opportunity to call gst_x_overlay_set_xwindow_id() before a plugin creates its own window.
This will post a "prepare-xwindow-id" element message on the bus to give applications an opportunity to call gst_x_overlay_set_xwindow_id() before a plugin creates its own window. This function should only be used by video overlay plugin developers.
|
GstInterfaces.XOverlay | |
set_render_rectangle
(VideoRectangle rect)
:
Boolean
Configure a subregion as a video target within the window set by gst_x_overlay_set_xwindow_id().
Configure a subregion as a video target within the window set by gst_x_overlay_set_xwindow_id(). 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 overlayed to a specific region of that window only. After setting the new rectangle one should call gst_x_overlay_expose() to force a redraw. To unset the region pass NULL for the rect parameter. This method is needed for non fullscreen video overlay in UI toolkits that do not support subwindows.
|
GstInterfaces.XOverlay | |
set_xwindow_id
(Number xwindow_id)
:
none
This will call the video overlay's set_xwindow_id method.
This will call the video overlay's set_xwindow_id method. You should use this method to tell to a XOverlay to display video output to a specific XWindow. Passing 0 as the xwindow_id will tell the overlay to stop using that window and create an internal one.
|
GstInterfaces.XOverlay |
None |