Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Normand <pnormand@igalia.com>2010-09-21 14:48:34 +0400
committerEdward Hervey <bilboed@bilboed.com>2010-09-21 15:40:33 +0400
commit720369c06e9e4895549b90b269e1132943f4eb74 (patch)
tree8fa4f26876e8a1742e5b5f54848bcdb43db55c8b /sys/osxvideo
parent57b2d69fc4db4e8f70a419f59fe17a1d75754d8c (diff)
osxvideosink: use the new xoverlay APIs
Also bumped -base requirements.
Diffstat (limited to 'sys/osxvideo')
-rw-r--r--sys/osxvideo/osxvideosink.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m
index 0a546fcf6..fb7b88e5c 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;
}