diff --git a/gst-libs/gst/video/videooverlay.c b/gst-libs/gst/video/videooverlay.c
index 4f07279ba2..a560822eb9 100644
--- a/gst-libs/gst/video/videooverlay.c
+++ b/gst-libs/gst/video/videooverlay.c
@@ -141,7 +141,7 @@
*
GstVideoOverlay and Gtk+
*
* |[
- * #include <gst/video/xoverlay.h>
+ * #include <gst/video/videooverlay.h>
* #include <gtk/gtk.h>
* #ifdef GDK_WINDOWING_X11
* #include <gdk/gdkx.h> // for GDK_WINDOW_XID
@@ -160,11 +160,11 @@
* 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,
diff --git a/sys/ximage/ximagesink.h b/sys/ximage/ximagesink.h
index c437b09030..8ca6fe9ee9 100644
--- a/sys/ximage/ximagesink.h
+++ b/sys/ximage/ximagesink.h
@@ -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
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index f02f745d92..b7aa26fb32 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -25,9 +25,10 @@
* 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.
*
*
* Scaling
diff --git a/sys/xvimage/xvimagesink.h b/sys/xvimage/xvimagesink.h
index 0686082697..d7b7eb0fc0 100644
--- a/sys/xvimage/xvimagesink.h
+++ b/sys/xvimage/xvimagesink.h
@@ -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
diff --git a/tests/examples/overlay/gtk-videooverlay.c b/tests/examples/overlay/gtk-videooverlay.c
index c7c7fc895c..e49092fc97 100644
--- a/tests/examples/overlay/gtk-videooverlay.c
+++ b/tests/examples/overlay/gtk-videooverlay.c
@@ -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);
diff --git a/tests/examples/overlay/qt-videooverlay.cpp b/tests/examples/overlay/qt-videooverlay.cpp
index c2eafe5b76..d5c9d9ebb5 100644
--- a/tests/examples/overlay/qt-videooverlay.cpp
+++ b/tests/examples/overlay/qt-videooverlay.cpp
@@ -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();
diff --git a/tests/examples/overlay/qtgv-videooverlay.cpp b/tests/examples/overlay/qtgv-videooverlay.cpp
index 23da96c528..ba60e37334 100644
--- a/tests/examples/overlay/qtgv-videooverlay.cpp
+++ b/tests/examples/overlay/qtgv-videooverlay.cpp
@@ -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);
diff --git a/tests/examples/playback/playback-test.c b/tests/examples/playback/playback-test.c
index def9b88170..c6cbf8851b 100644
--- a/tests/examples/playback/playback-test.c
+++ b/tests/examples/playback/playback-test.c
@@ -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);
diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c
index 25b5670649..0d3f455154 100644
--- a/tests/examples/seek/jsseek.c
+++ b/tests/examples/seek/jsseek.c
@@ -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);
diff --git a/tests/icles/test-colorkey.c b/tests/icles/test-colorkey.c
index 16b2224cda..2e6c782ce6 100644
--- a/tests/icles/test-colorkey.c
+++ b/tests/icles/test-colorkey.c
@@ -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);