diff options
Diffstat (limited to 'ext/sdl')
-rw-r--r-- | ext/sdl/sdlvideosink.c | 5 | ||||
-rw-r--r-- | ext/sdl/sdlvideosink.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index aada0eb3..57547102 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -51,7 +51,7 @@ static gboolean gst_sdlvideosink_supported (GstImplementsInterface *iface, static void gst_sdlvideosink_xoverlay_init (GstXOverlayClass *klass); static void gst_sdlvideosink_xoverlay_set_xwindow_id (GstXOverlay *overlay, - XID parent); + unsigned long parent); static gboolean gst_sdlvideosink_lock (GstSDLVideoSink *sdl); static void gst_sdlvideosink_unlock (GstSDLVideoSink *sdl); @@ -321,7 +321,8 @@ gst_sdlvideosink_xoverlay_init (GstXOverlayClass *klass) } static void -gst_sdlvideosink_xoverlay_set_xwindow_id (GstXOverlay *overlay, XID parent) +gst_sdlvideosink_xoverlay_set_xwindow_id (GstXOverlay *overlay, + unsigned long parent) { GstSDLVideoSink *sdlvideosink = GST_SDLVIDEOSINK (overlay); diff --git a/ext/sdl/sdlvideosink.h b/ext/sdl/sdlvideosink.h index ea45b654..ad682385 100644 --- a/ext/sdl/sdlvideosink.h +++ b/ext/sdl/sdlvideosink.h @@ -51,7 +51,7 @@ struct _GstSDLVideoSink { guint32 format; gint width, height; /* the size of the incoming YUV stream */ - XID xwindow_id; + unsigned long xwindow_id; gboolean init; |