summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2007-09-22 08:12:57 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-05-16 01:29:17 +0100
commitca3a85c8338c9624a00fadddf8e9f59358e1931b (patch)
treee0f60c16f8785bb472ae467b6a6718da76624535 /sys
parent958dc325050cc5683e3ad21489568997737a3a53 (diff)
downloadgst-plugins-bad-ca3a85c8338c9624a00fadddf8e9f59358e1931b.tar.gz
gst-plugins-bad-ca3a85c8338c9624a00fadddf8e9f59358e1931b.tar.bz2
gst-plugins-bad-ca3a85c8338c9624a00fadddf8e9f59358e1931b.zip
[MOVED FROM GOOD] fix header and comments
Original commit message from CVS: fix header and comments
Diffstat (limited to 'sys')
-rw-r--r--sys/directdraw/gstdirectdrawsink.c47
-rw-r--r--sys/directdraw/gstdirectdrawsink.h15
2 files changed, 29 insertions, 33 deletions
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index 5eff741c..65c3df23 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -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
diff --git a/sys/directdraw/gstdirectdrawsink.h b/sys/directdraw/gstdirectdrawsink.h
index 0026eb35..9cb5f788 100644
--- a/sys/directdraw/gstdirectdrawsink.h
+++ b/sys/directdraw/gstdirectdrawsink.h
@@ -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__ */