[MOVED FROM GOOD] fix header and comments
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 22 Sep 2007 08:12:57 +0000 (08:12 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 16 May 2009 00:29:17 +0000 (01:29 +0100)
Original commit message from CVS:
fix header and comments

sys/directdraw/gstdirectdrawsink.c
sys/directdraw/gstdirectdrawsink.h

index 5eff741..65c3df2 100644 (file)
@@ -1,29 +1,26 @@
 /* GStreamer
-* Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
-* Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
-*      
-* Based on directfb video sink
-* gstdirectdrawsink.c:
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Library General Public
-* License as published by the Free Software Foundation; either
-* version 2 of the License, or (at your option) any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Library General Public License for more details.
-*
-* You should have received a copy of the GNU Library General Public
-* License along with this library; if not, write to the
-* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-* Boston, MA 02111-1307, USA.
-*
-* The development of this code was made possible due to the involvement
-* of Pioneers of the Inevitable, the creators of the Songbird Music player
-*
-*/
+ * Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
+ * Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
+ *     
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * The development of this code was made possible due to the involvement
+ * of Pioneers of the Inevitable, the creators of the Songbird Music player
+ *
+ */
 
 /**
  * SECTION:element-directdrawsink
index 0026eb3..9cb5f78 100644 (file)
@@ -1,9 +1,7 @@
 /* GStreamer
- * Copyright (C)  2005 Sebastien Moutte <sebastien@moutte.net>
+ * Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
  * Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
  *
- * gstdirectdrawsink.h: 
- *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
@@ -24,7 +22,6 @@
  *
  */
 
-
 #ifndef __GST_DIRECTDRAWSINK_H__
 #define __GST_DIRECTDRAWSINK_H__
 
@@ -38,6 +35,7 @@
 #include <ddraw.h>
 
 G_BEGIN_DECLS
+
 #define GST_TYPE_DIRECTDRAW_SINK            (gst_directdraw_sink_get_type())
 #define GST_DIRECTDRAW_SINK(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DIRECTDRAW_SINK,GstDirectDrawSink))
 #define GST_DIRECTDRAW_SINK_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DIRECTDRAW_SINK,GstDirectDrawSinkClass))
@@ -118,14 +116,14 @@ struct _GstDirectDrawSink
   /* thread processing our default window messages */
   GThread *window_thread;
 
-  /* TRUE when directdraw objects are setup */
+  /* TRUE when directdraw object is set up */
   gboolean setup;
 
-  /* TRUE if the hardware support blitting from one colorspace to another */
+  /* TRUE if the hardware supports blitting from one colorspace to another */
   gboolean can_blit_between_colorspace;
 
-  /* this flag is used to force re-creation of our offscreen surface 
-   * it's need when hardware doesn't support fourcc blit and the bit deph
+  /* This flag is used to force re-creation of our offscreen surface.
+   * It's needed when hardware doesn't support fourcc blit and the bit depth
    * of the current display mode changes.
    */
   gboolean must_recreate_offscreen;
@@ -139,4 +137,5 @@ struct _GstDirectDrawSinkClass
 GType gst_directdraw_sink_get_type (void);
 
 G_END_DECLS
+
 #endif /* __GST_DIRECTDRAWSINK_H__ */