diff options
Diffstat (limited to 'sys/osxvideo')
-rw-r--r-- | sys/osxvideo/osxvideosink.m | 5 |
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; } |