diff options
author | Haakon Sporsheim <haakon.sporsheim@gmail.com> | 2011-04-05 21:04:54 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-04-07 23:10:01 +0100 |
commit | 5c0922a82d0c7b001b4f9f5dd9570b72f23dcb85 (patch) | |
tree | 0de62efe179b8337971a822f64f4669e98fe0c95 /sys/dshowvideosink | |
parent | c77e11fd4ae110f9eb4a554266570c9cf817d1e0 (diff) | |
download | gstreamer-plugins-bad-5c0922a82d0c7b001b4f9f5dd9570b72f23dcb85.tar.gz |
dshowvideosink: update for latest GstXOverlay changes
From xwindow_id to window_handle.
https://bugzilla.gnome.org/show_bug.cgi?id=646955
Diffstat (limited to 'sys/dshowvideosink')
-rw-r--r-- | sys/dshowvideosink/dshowvideosink.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index 1e4f219cd..8b8554ca6 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 */ |