From 5c0922a82d0c7b001b4f9f5dd9570b72f23dcb85 Mon Sep 17 00:00:00 2001 From: Haakon Sporsheim Date: Tue, 5 Apr 2011 21:04:54 +0200 Subject: [PATCH] dshowvideosink: update for latest GstXOverlay changes From xwindow_id to window_handle. https://bugzilla.gnome.org/show_bug.cgi?id=646955 --- sys/dshowvideosink/dshowvideosink.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index 1e4f219..8b8554c 100644 --- a/sys/dshowvideosink/dshowvideosink.cpp +++ b/sys/dshowvideosink/dshowvideosink.cpp @@ -106,7 +106,7 @@ gst_dshowvideosink_interface_init (GstImplementsInterfaceClass * klass) } static void -gst_dshowvideosink_set_window_id (GstXOverlay * overlay, ULONG window_id) +gst_dshowvideosink_set_window_handle (GstXOverlay * overlay, guintptr window_id) { GstDshowVideoSink *sink = GST_DSHOWVIDEOSINK (overlay); HWND previous_window = sink->window_id; @@ -154,7 +154,7 @@ gst_dshowvideosink_expose (GstXOverlay * overlay) static void gst_dshowvideosink_xoverlay_interface_init (GstXOverlayClass * iface) { - iface->set_xwindow_id = gst_dshowvideosink_set_window_id; + iface->set_window_handle = gst_dshowvideosink_set_window_handle; iface->expose = gst_dshowvideosink_expose; } @@ -713,7 +713,7 @@ gst_dshowvideosink_window_thread (GstDshowVideoSink * sink) sink->window_id = video_window; /* signal application we created a window */ - gst_x_overlay_got_xwindow_id (GST_X_OVERLAY (sink), + gst_x_overlay_got_window_handle (GST_X_OVERLAY (sink), (gulong)video_window); /* Set the renderer's clipping window */ -- 2.7.4