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:
Tim-Philipp Müller 2008-01-07 16:41:00 +00:00
parent 7e0714b511
commit 9a1a9abb9e
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_window_thread):
FALSE is not a gpointer.
2008-01-05 Julien Moutte <julien@fluendo.com>
* sys/directdraw/gstdirectdrawsink.c:

View file

@ -1323,12 +1323,12 @@ gst_directdraw_sink_window_thread (GstDirectDrawSink * ddrawsink)
WS_OVERLAPPEDWINDOW | WS_SIZEBOX, 0, 0, 640, 480, NULL, NULL,
WndClass.hInstance, NULL);
if (ddrawsink->video_window == NULL)
return FALSE;
return NULL;
/* Set the clipper on that 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),
(gulong) ddrawsink->video_window);