[gst-cvs] gst-plugins-good: osxvideosink: use the new xoverlay APIs
Edward Hervey
bilboed at kemper.freedesktop.org
Tue Sep 21 04:40:48 PDT 2010
Module: gst-plugins-good
Branch: master
Commit: 720369c06e9e4895549b90b269e1132943f4eb74
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=720369c06e9e4895549b90b269e1132943f4eb74
Author: Philippe Normand <pnormand at igalia.com>
Date: Tue Sep 21 12:48:34 2010 +0200
osxvideosink: use the new xoverlay APIs
Also bumped -base requirements.
---
configure.ac | 2 +-
sys/osxvideo/osxvideosink.m | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index e2f2b66..0dd4c7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff ***
GST_REQ=0.10.30
-GSTPB_REQ=0.10.30
+GSTPB_REQ=0.10.30.1
dnl *** autotools stuff ****
diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m
index 0a546fc..fb7b88e 100644
--- a/sys/osxvideo/osxvideosink.m
+++ b/sys/osxvideo/osxvideosink.m
@@ -418,9 +418,10 @@ gst_osx_video_sink_interface_init (GstImplementsInterfaceClass * klass)
}
static void
-gst_osx_video_sink_set_xwindow_id (GstXOverlay * overlay, gulong window_id)
+gst_osx_video_sink_set_window_handle (GstXOverlay * overlay, guintptr handle_id)
{
GstOSXVideoSink *osxvideosink = GST_OSX_VIDEO_SINK (overlay);
+ gulong window_id = (gulong) handle_id;
if (osxvideosink->superview) {
GST_INFO_OBJECT (osxvideosink, "old xwindow id %p", osxvideosink->superview);
@@ -443,7 +444,7 @@ gst_osx_video_sink_set_xwindow_id (GstXOverlay * overlay, gulong window_id)
static void
gst_osx_video_sink_xoverlay_init (GstXOverlayClass * iface)
{
- iface->set_xwindow_id = gst_osx_video_sink_set_xwindow_id;
+ iface->set_window_handle = gst_osx_video_sink_set_window_handle;
iface->expose = NULL;
iface->handle_events = NULL;
}
More information about the Gstreamer-commits
mailing list