mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.
Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c: (gst_directdraw_sink_window_thread): FALSE is not a gpointer.
This commit is contained in:
parent
1e8cd75ae9
commit
c67d722907
1 changed files with 2 additions and 2 deletions
|
@ -1323,12 +1323,12 @@ gst_directdraw_sink_window_thread (GstDirectDrawSink * ddrawsink)
|
||||||
WS_OVERLAPPEDWINDOW | WS_SIZEBOX, 0, 0, 640, 480, NULL, NULL,
|
WS_OVERLAPPEDWINDOW | WS_SIZEBOX, 0, 0, 640, 480, NULL, NULL,
|
||||||
WndClass.hInstance, NULL);
|
WndClass.hInstance, NULL);
|
||||||
if (ddrawsink->video_window == NULL)
|
if (ddrawsink->video_window == NULL)
|
||||||
return FALSE;
|
return NULL;
|
||||||
|
|
||||||
/* Set the clipper on that window */
|
/* Set the clipper on that window */
|
||||||
IDirectDrawClipper_SetHWnd (ddrawsink->clipper, 0, ddrawsink->video_window);
|
IDirectDrawClipper_SetHWnd (ddrawsink->clipper, 0, ddrawsink->video_window);
|
||||||
|
|
||||||
/* signal application we create a window */
|
/* signal application we created a window */
|
||||||
gst_x_overlay_got_xwindow_id (GST_X_OVERLAY (ddrawsink),
|
gst_x_overlay_got_xwindow_id (GST_X_OVERLAY (ddrawsink),
|
||||||
(gulong) ddrawsink->video_window);
|
(gulong) ddrawsink->video_window);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue