mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dshowvideosink: update for latest GstXOverlay changes
From xwindow_id to window_handle. https://bugzilla.gnome.org/show_bug.cgi?id=646955
This commit is contained in:
parent
c77e11fd4a
commit
5c0922a82d
1 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ gst_dshowvideosink_interface_init (GstImplementsInterfaceClass * klass)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
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);
|
GstDshowVideoSink *sink = GST_DSHOWVIDEOSINK (overlay);
|
||||||
HWND previous_window = sink->window_id;
|
HWND previous_window = sink->window_id;
|
||||||
|
@ -154,7 +154,7 @@ gst_dshowvideosink_expose (GstXOverlay * overlay)
|
||||||
static void
|
static void
|
||||||
gst_dshowvideosink_xoverlay_interface_init (GstXOverlayClass * iface)
|
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;
|
iface->expose = gst_dshowvideosink_expose;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -713,7 +713,7 @@ gst_dshowvideosink_window_thread (GstDshowVideoSink * sink)
|
||||||
sink->window_id = video_window;
|
sink->window_id = video_window;
|
||||||
|
|
||||||
/* signal application we created a 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);
|
(gulong)video_window);
|
||||||
|
|
||||||
/* Set the renderer's clipping window */
|
/* Set the renderer's clipping window */
|
||||||
|
|
Loading…
Reference in a new issue