[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.
authorTim-Philipp Müller <tim@centricular.net>
Mon, 7 Jan 2008 16:41:00 +0000 (16:41 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 16 May 2009 00:29:17 +0000 (01:29 +0100)
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_window_thread):
FALSE is not a gpointer.

sys/directdraw/gstdirectdrawsink.c

index 78406d2..9a02828 100644 (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);