docs: fix up some more GstXOverlay -> GstVideoOverlay
authorTim-Philipp Müller <tim@centricular.net>
Mon, 10 Dec 2012 13:35:37 +0000 (13:35 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 10 Dec 2012 13:40:26 +0000 (13:40 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=689740

gst-libs/gst/video/videooverlay.c
sys/ximage/ximagesink.h
sys/xvimage/xvimagesink.c
sys/xvimage/xvimagesink.h
tests/examples/overlay/gtk-videooverlay.c
tests/examples/overlay/qt-videooverlay.cpp
tests/examples/overlay/qtgv-videooverlay.cpp
tests/examples/playback/playback-test.c
tests/examples/seek/jsseek.c
tests/icles/test-colorkey.c

index 4f07279..a560822 100644 (file)
  * <title>GstVideoOverlay and Gtk+</title>
  * <para>
  * |[
- * #include &lt;gst/video/xoverlay.h&gt;
+ * #include &lt;gst/video/videooverlay.h&gt;
  * #include &lt;gtk/gtk.h&gt;
  * #ifdef GDK_WINDOWING_X11
  * #include &lt;gdk/gdkx.h&gt;  // for GDK_WINDOW_XID
  *    return GST_BUS_PASS;
  *
  *  if (video_window_handle != 0) {
- *    GstXOverlay *xoverlay;
+ *    GstVideoOverlay *overlay;
  *
  *    // GST_MESSAGE_SRC (message) will be the video sink element
- *    xoverlay = GST_X_OVERLAY (GST_MESSAGE_SRC (message));
- *    gst_x_overlay_set_window_handle (xoverlay, video_window_handle);
+ *    overlay = GST_VIDEO_OVERLAY (GST_MESSAGE_SRC (message));
+ *    gst_video_overlay_set_window_handle (overlay, video_window_handle);
  *  } else {
  *    g_warning ("Should have obtained video_window_handle by now!");
  *  }
@@ -339,7 +339,7 @@ gst_video_overlay_get_type (void)
  * @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
+ * 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.
  */
@@ -441,7 +441,7 @@ gst_video_overlay_expose (GstVideoOverlay * overlay)
  * events are forwarded 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.
+ * from the #GstVideoOverlay.
  */
 void
 gst_video_overlay_handle_events (GstVideoOverlay * overlay,
index c437b09..8ca6fe9 100644 (file)
@@ -118,7 +118,7 @@ struct _GstXContext
  * @width: the width in pixels of Window @win
  * @height: the height in pixels of Window @win
  * @internal: used to remember if Window @win was created internally or passed
- * through the #GstXOverlay interface
+ * through the #GstVideoOverlay interface
  * @gc: the Graphical Context of Window @win
  *
  * Structure used to store informations about a Window.
@@ -147,7 +147,7 @@ struct _GstXWindow
  * @x_lock: used to protect X calls as we are not using the XLib in threaded
  * mode
  * @flow_lock: used to protect data flow routines from external calls such as
- * events from @event_thread or methods from the #GstXOverlay interface
+ * events from @event_thread or methods from the #GstVideoOverlay interface
  * @par: used to override calculated pixel aspect ratio from @xcontext
  * @pool_lock: used to protect the buffer pool
  * @buffer_pool: a list of #GstXImageBuffer that could be reused at next buffer
index f02f745..b7aa26f 100644 (file)
  * using the XVideo extension. Rendering to a remote display is theoretically
  * possible but i doubt that the XVideo extension is actually available when
  * connecting to a remote display. This element can receive a Window ID from the
- * application through the XOverlay interface and will then render video frames
- * in this drawable. If no Window ID was provided by the application, the
- * element will create its own internal window and render into it.
+ * application through the #GstVideoOverlay interface and will then render
+ * video frames in this drawable. If no Window ID was provided by the
+ * application, the element will create its own internal window and render
+ * into it.
  *
  * <refsect2>
  * <title>Scaling</title>
index 0686082..d7b7eb0 100644 (file)
@@ -140,7 +140,7 @@ struct _GstXContext
  * @width: the width in pixels of Window @win
  * @height: the height in pixels of Window @win
  * @internal: used to remember if Window @win was created internally or passed
- * through the #GstXOverlay interface
+ * through the #GstVideoOverlay interface
  * @gc: the Graphical Context of Window @win
  *
  * Structure used to store informations about a Window.
@@ -182,7 +182,7 @@ struct _GstXvImageFormat
  * @x_lock: used to protect X calls as we are not using the XLib in threaded
  * mode
  * @flow_lock: used to protect data flow routines from external calls such as
- * events from @event_thread or methods from the #GstXOverlay interface
+ * events from @event_thread or methods from the #GstVideoOverlay interface
  * @par: used to override calculated pixel aspect ratio from @xcontext
  * @pool_lock: used to protect the buffer pool
  * @image_pool: a list of #GstXvImageBuffer that could be reused at next buffer
index c7c7fc8..e49092f 100644 (file)
@@ -119,7 +119,7 @@ main (int argc, char **argv)
   g_signal_connect (G_OBJECT (window), "delete-event",
       G_CALLBACK (window_closed), (gpointer) pipeline);
   gtk_window_set_default_size (GTK_WINDOW (window), 320, 240);
-  gtk_window_set_title (GTK_WINDOW (window), "GstXOverlay Gtk+ demo");
+  gtk_window_set_title (GTK_WINDOW (window), "GstVideoOverlay Gtk+ demo");
 
   video_window = gtk_drawing_area_new ();
   gtk_widget_set_double_buffered (video_window, FALSE);
index c2eafe5..d5c9d9e 100644 (file)
@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
 
   QWidget window;
   window.resize(320, 240);
-  window.setWindowTitle("GstXOverlay Qt demo");
+  window.setWindowTitle("GstVideoOverlay Qt demo");
   window.show();
   
   WId xwinid = window.winId();
index 23da96c..ba60e37 100644 (file)
@@ -113,7 +113,7 @@ int main( int argc, char **argv )
 
     QGraphicsView view( &scene );
     view.resize(320, 240);
-    view.setWindowTitle("GstXOverlay Qt GraphicsView demo");
+    view.setWindowTitle("GstVideoOverlay Qt GraphicsView demo");
     view.show();
 
     gst_init (&argc, &argv);
index def9b88..c6cbf88 100644 (file)
@@ -2118,7 +2118,7 @@ realize_cb (GtkWidget * widget, PlaybackApp * app)
   /* This is here just for pedagogical purposes, GDK_WINDOW_XID will call it
    * as well */
   if (!gdk_window_ensure_native (window))
-    g_error ("Couldn't create native window needed for GstXOverlay!");
+    g_error ("Couldn't create native window needed for GstVideoOverlay!");
 
 #if defined (GDK_WINDOWING_WIN32)
   app->embed_xid = GDK_WINDOW_HWND (window);
index 25b5670..0d3f455 100644 (file)
@@ -2476,7 +2476,7 @@ realize_cb (GtkWidget * widget, gpointer data)
   /* This is here just for pedagogical purposes, GDK_WINDOW_XID will call it
    * as well */
   if (!gdk_window_ensure_native (window))
-    g_error ("Couldn't create native window needed for GstXOverlay!");
+    g_error ("Couldn't create native window needed for GstVideoOverlay!");
 
 #ifdef HAVE_X
   embed_xid = GDK_WINDOW_XID (window);
index 16b2224..2e6c782 100644 (file)
@@ -99,7 +99,7 @@ realize_cb (GtkWidget * widget, gpointer data)
   /* This is here just for pedagogical purposes, GDK_WINDOW_XID will call it
    * as well */
   if (!gdk_window_ensure_native (window))
-    g_error ("Couldn't create native window needed for GstXOverlay!");
+    g_error ("Couldn't create native window needed for GstVideoOverlay!");
 
   embed_xid = GDK_WINDOW_XID (window);
   g_print ("Window realize: video window XID = %lu\n", embed_xid);