mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
docs: update xoverlay docs for api addition and deprecation
This commit is contained in:
parent
269205b1ad
commit
deeae48a03
2 changed files with 43 additions and 40 deletions
|
@ -333,12 +333,12 @@ gst_x_overlay_base_init (gpointer g_class)
|
|||
|
||||
/**
|
||||
* gst_x_overlay_set_xwindow_id:
|
||||
* @overlay: a #GstXOverlay to set the XWindow on.
|
||||
* @xwindow_id: a #XID referencing the XWindow.
|
||||
* @overlay: a #GstXOverlay to set the window on.
|
||||
* @xwindow_id: a XID referencing the XWindow.
|
||||
*
|
||||
* 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
|
||||
* specific XWindow. Passing 0 as the @xwindow_id will tell the overlay to
|
||||
* stop using that window and create an internal one.
|
||||
*
|
||||
* Deprecated: Use gst_x_overlay_set_window_handle() instead.
|
||||
|
@ -358,13 +358,13 @@ gst_x_overlay_set_xwindow_id (GstXOverlay * overlay, gulong xwindow_id)
|
|||
|
||||
/**
|
||||
* gst_x_overlay_set_window_handle:
|
||||
* @overlay: a #GstXOverlay to set the XWindow on.
|
||||
* @xwindow_id: a #XID referencing the XWindow.
|
||||
* @overlay: a #GstXOverlay to set the window on.
|
||||
* @handle: a handle referencing the window.
|
||||
*
|
||||
* This will call the video overlay's set_window_handle 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.
|
||||
* 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.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
|
|
@ -52,10 +52,11 @@ typedef struct _GstXOverlayClass GstXOverlayClass;
|
|||
/**
|
||||
* GstXOverlayClass:
|
||||
* @klass: parent interface type.
|
||||
* @set_xwindow_id: virtual method to configure the XWindow id
|
||||
* @set_xwindow_id: (deprecated) virtual method to configure the XWindow handle
|
||||
* @expose: virtual method to handle expose events
|
||||
* @handle_events: virtual method to handle events
|
||||
* @set_render_rectangle: virtual method to set the render rectangle (since 0.10.29)
|
||||
* @set_window_handle: virtual method to configure the window handle
|
||||
*
|
||||
* #GstXOverlay interface
|
||||
*/
|
||||
|
@ -67,8 +68,10 @@ struct _GstXOverlayClass {
|
|||
void (* set_xwindow_id) (GstXOverlay *overlay,
|
||||
gulong xwindow_id);
|
||||
#else
|
||||
#ifndef __GTK_DOC_IGNORE__
|
||||
void (* set_xwindow_id_disabled) (GstXOverlay *overlay,
|
||||
gulong xwindow_id);
|
||||
#endif
|
||||
#endif /* not GST_DISABLE_DEPRECATED */
|
||||
|
||||
void (* expose) (GstXOverlay *overlay);
|
||||
|
|
Loading…
Reference in a new issue