diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-09-21 16:31:07 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-09-21 16:31:57 +0200 |
commit | a96c0ab9fec6a269428d2b64a65bb7908da91205 (patch) | |
tree | f4bbc3bb5d4db5db38f6ed2a6fc3a9a637a959dd /ext/sdl | |
parent | 849d3ec37190b067a3d8baa37707febe24a2ec5f (diff) | |
download | gstreamer-plugins-bad-a96c0ab9fec6a269428d2b64a65bb7908da91205.tar.gz |
sdl: Port to new XOverlay API
Fixes #630253
Diffstat (limited to 'ext/sdl')
-rw-r--r-- | ext/sdl/sdlvideosink.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 7932ecf06..8937a6100 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -63,7 +63,7 @@ static gboolean gst_sdlvideosink_supported (GstImplementsInterface * iface, GType type); static void gst_sdlvideosink_xoverlay_init (GstXOverlayClass * klass); -static void gst_sdlvideosink_xoverlay_set_xwindow_id +static void gst_sdlvideosink_xoverlay_set_window_handle (GstXOverlay * overlay, unsigned long parent); static gboolean gst_sdlvideosink_lock (GstSDLVideoSink * sdl); @@ -361,14 +361,15 @@ gst_sdlvideosink_supported (GstImplementsInterface * interface, static void gst_sdlvideosink_xoverlay_init (GstXOverlayClass * klass) { - klass->set_xwindow_id = gst_sdlvideosink_xoverlay_set_xwindow_id; + klass->set_window_handle = gst_sdlvideosink_xoverlay_set_window_handle; } static void -gst_sdlvideosink_xoverlay_set_xwindow_id (GstXOverlay * overlay, - unsigned long parent) +gst_sdlvideosink_xoverlay_set_window_handle (GstXOverlay * overlay, + guintptr handle) { GstSDLVideoSink *sdlvideosink = GST_SDLVIDEOSINK (overlay); + unsigned long parent = (unsigned long) handle; if (sdlvideosink->xwindow_id == parent) return; |