summaryrefslogtreecommitdiffstats
path: root/ext/libcaca
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /ext/libcaca
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/libcaca')
-rw-r--r--ext/libcaca/gstcacasink.h60
1 files changed, 28 insertions, 32 deletions
diff --git a/ext/libcaca/gstcacasink.h b/ext/libcaca/gstcacasink.h
index 2080c284..3a6d4f23 100644
--- a/ext/libcaca/gstcacasink.h
+++ b/ext/libcaca/gstcacasink.h
@@ -28,9 +28,8 @@
#include <caca.h>
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_CACA_DEFAULT_SCREEN_WIDTH 80
#define GST_CACA_DEFAULT_SCREEN_HEIGHT 25
@@ -54,47 +53,44 @@ extern "C"
#define GST_IS_CACASINK_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CACASINK))
- typedef enum
- {
- GST_CACASINK_OPEN = GST_ELEMENT_FLAG_LAST,
+typedef enum {
+ GST_CACASINK_OPEN = GST_ELEMENT_FLAG_LAST,
- GST_CACASINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
- } GstCACASinkFlags;
+ GST_CACASINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
+} GstCACASinkFlags;
- typedef struct _GstCACASink GstCACASink;
- typedef struct _GstCACASinkClass GstCACASinkClass;
+typedef struct _GstCACASink GstCACASink;
+typedef struct _GstCACASinkClass GstCACASinkClass;
- struct _GstCACASink
- {
- GstVideoSink videosink;
+struct _GstCACASink {
+ GstVideoSink videosink;
- GstPad *sinkpad;
+ GstPad *sinkpad;
- gulong format;
- gint screen_width, screen_height;
- guint bpp;
- guint dither;
- gboolean antialiasing;
- guint red_mask, green_mask, blue_mask;
+ gulong format;
+ gint screen_width, screen_height;
+ guint bpp;
+ guint dither;
+ gboolean antialiasing;
+ guint red_mask, green_mask, blue_mask;
- gint64 correction;
- GstClockID id;
+ gint64 correction;
+ GstClockID id;
- struct caca_bitmap *bitmap;
- };
+ struct caca_bitmap *bitmap;
+};
- struct _GstCACASinkClass
- {
- GstVideoSinkClass parent_class;
+struct _GstCACASinkClass {
+ GstVideoSinkClass parent_class;
- /* signals */
- };
+ /* signals */
+};
- GType gst_cacasink_get_type (void);
+GType gst_cacasink_get_type(void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_CACASINKE_H__ */
+#endif /* __GST_CACASINKE_H__ */