[gstreamermm: 62/167] xoverlay to videooverlay renamed, minor improvements
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm: 62/167] xoverlay to videooverlay renamed, minor improvements
- Date: Tue, 3 Sep 2013 19:24:17 +0000 (UTC)
commit b7e041f2948f828dd490a9c98b00058a6d0e127d
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date: Fri Jul 26 15:44:18 2013 +0200
xoverlay to videooverlay renamed, minor improvements
gstreamer/src/filelist.am | 2 +-
gstreamer/src/{xoverlay.ccg => videooverlay.ccg} | 0
gstreamer/src/{xoverlay.hg => videooverlay.hg} | 25 ++++++++-------------
3 files changed, 11 insertions(+), 16 deletions(-)
---
diff --git a/gstreamer/src/filelist.am b/gstreamer/src/filelist.am
index dc298d6..9b33151 100644
--- a/gstreamer/src/filelist.am
+++ b/gstreamer/src/filelist.am
@@ -140,7 +140,7 @@ files_hg = \
value.hg \
videoorientation.hg \
videosink.hg \
- xoverlay.hg \
+ videooverlay.hg \
$(plugins_hg)
files_ccg = $(files_hg:.hg=.ccg)
diff --git a/gstreamer/src/xoverlay.ccg b/gstreamer/src/videooverlay.ccg
similarity index 100%
rename from gstreamer/src/xoverlay.ccg
rename to gstreamer/src/videooverlay.ccg
diff --git a/gstreamer/src/xoverlay.hg b/gstreamer/src/videooverlay.hg
similarity index 80%
rename from gstreamer/src/xoverlay.hg
rename to gstreamer/src/videooverlay.hg
index abd1e07..b2d1376 100644
--- a/gstreamer/src/xoverlay.hg
+++ b/gstreamer/src/videooverlay.hg
@@ -17,7 +17,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <gst/interfaces/xoverlay.h>
+#include <gst/video/videooverlay.h>
#include <glibmm/interface.h>
_DEFS(gstreamermm,gst)
@@ -26,7 +26,7 @@ namespace Gst
{
/** An interface for setting/getting a Window on elements supporting it.
- * The XOverlay interface is used for 2 main purposes :
+ * The VideoOverlay interface is used for 2 main purposes :
*
* - To get a grab on the Window where the video sink element is going to
* render. This is achieved by either being informed about the Window
@@ -95,23 +95,18 @@ namespace Gst
* @endcode
* @ingroup GstInterfaces
*/
-class XOverlay : public Glib::Interface
+class VideoOverlay : public Glib::Interface
{
- _CLASS_INTERFACE(XOverlay, GstXOverlay, GST_X_OVERLAY, GstXOverlayClass)
+ _CLASS_INTERFACE(VideoOverlay, GstVideoOverlay, GST_VIDEO_OVERLAY, GstVideoOverlayClass)
public:
- _WRAP_METHOD(void set_xwindow_id(gulong xwindow_id), gst_x_overlay_set_xwindow_id)
- _WRAP_METHOD(void got_xwindow_id(gulong xwindow_id), gst_x_overlay_got_xwindow_id)
- _WRAP_METHOD(void got_window_handle(guintptr xwindow_id), gst_x_overlay_got_window_handle)
- _WRAP_METHOD(void set_window_handle(guintptr xwindow_handle), gst_x_overlay_set_window_handle)
- _WRAP_METHOD(void prepare_xwindow_id(), gst_x_overlay_prepare_xwindow_id)
- _WRAP_METHOD(void expose(), gst_x_overlay_expose)
- _WRAP_METHOD(void handle_events(bool handle_events), gst_x_overlay_handle_events)
- _WRAP_METHOD(bool set_render_rectangle(int x, int y, int width, int height),
gst_x_overlay_set_render_rectangle)
+ _WRAP_METHOD(void set_window_handle(guintptr window_handle), gst_video_overlay_set_window_handle)
+ _WRAP_METHOD(void got_window_handle(guintptr window_handle), gst_video_overlay_got_window_handle)
+ _WRAP_METHOD(void prepare_window_handle(), gst_video_overlay_prepare_window_handle)
+ _WRAP_METHOD(void expose(), gst_video_overlay_expose)
+ _WRAP_METHOD(void handle_events(bool handle_events), gst_video_overlay_handle_events)
+ _WRAP_METHOD(bool set_render_rectangle(int x, int y, int width, int height),
gst_video_overlay_set_render_rectangle)
- /** Virtual method to configure the XWindow id.
- */
- _WRAP_VFUNC(void set_xwindow_id(gulong xwindow_id), "set_xwindow_id")
/** Virtual method to handle expose events.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]