| Top |
#define GST_VAAPI_WINDOW_XWINDOW(window)
Macro that evaluates to the underlying X11 Window of window
GstVaapiWindow * gst_vaapi_window_x11_new (GstVaapiDisplay *display,guint width,guint height);
Creates a window with the specified width
and height
. The window
will be attached to the display
and remains invisible to the user
until gst_vaapi_window_show() is called.
GstVaapiWindow * gst_vaapi_window_x11_new_with_xid (GstVaapiDisplay *display,Window xid);
Creates a GstVaapiWindow using the X11 Window xid
. The caller
still owns the window and must call XDestroyWindow() when all
GstVaapiWindow references are released. Doing so too early can
yield undefined behaviour.
Window
gst_vaapi_window_x11_get_xid (GstVaapiWindowX11 *window);
Returns the underlying X11 Window that was created by
gst_vaapi_window_x11_new() or that was bound with
gst_vaapi_window_x11_new_with_xid().
gboolean
gst_vaapi_window_x11_is_foreign_xid (GstVaapiWindowX11 *window);
Checks whether the window
XID was created by gst_vaapi_window_x11_new() or bound with gst_vaapi_window_x11_new_with_xid().