summaryrefslogtreecommitdiffstats
path: root/ext/raw1394/gstdv1394src.h
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/raw1394/gstdv1394src.h
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/raw1394/gstdv1394src.h')
-rw-r--r--ext/raw1394/gstdv1394src.h63
1 files changed, 30 insertions, 33 deletions
diff --git a/ext/raw1394/gstdv1394src.h b/ext/raw1394/gstdv1394src.h
index 2ba4ab3d..7d384fd0 100644
--- a/ext/raw1394/gstdv1394src.h
+++ b/ext/raw1394/gstdv1394src.h
@@ -27,9 +27,8 @@
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_TYPE_DV1394SRC \
@@ -43,47 +42,45 @@ extern "C"
#define GST_IS_DV1394SRC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DV1394SRC))
- typedef struct _GstDV1394Src GstDV1394Src;
- typedef struct _GstDV1394SrcClass GstDV1394SrcClass;
+typedef struct _GstDV1394Src GstDV1394Src;
+typedef struct _GstDV1394SrcClass GstDV1394SrcClass;
- struct _GstDV1394Src
- {
- GstElement element;
+struct _GstDV1394Src {
+ GstElement element;
- GstPad *srcpad;
+ GstPad *srcpad;
- // consecutive=2, skip=4 will skip 4 frames, then let 2 consecutive ones thru
- gint consecutive;
- gint skip;
- gboolean drop_incomplete;
+ // consecutive=2, skip=4 will skip 4 frames, then let 2 consecutive ones thru
+ gint consecutive;
+ gint skip;
+ gboolean drop_incomplete;
- int numcards, numports;
- int card, port, channel;
+ int numcards,numports;
+ int card,port,channel;
- struct raw1394_portinfo pinfo[16];
- raw1394handle_t handle;
+ struct raw1394_portinfo pinfo[16];
+ raw1394handle_t handle;
- gboolean started;
- GstBuffer *buf;
+ gboolean started;
+ GstBuffer *buf;
+
+ GstBuffer *frame;
+ guint frameSize;
+ guint bytesInFrame;
+ guint frameSequence;
- GstBuffer *frame;
- guint frameSize;
- guint bytesInFrame;
- guint frameSequence;
+ gboolean negotiated;
+};
- gboolean negotiated;
- };
+struct _GstDV1394SrcClass {
+ GstElementClass parent_class;
+};
- struct _GstDV1394SrcClass
- {
- GstElementClass parent_class;
- };
-
- GType gst_dv1394src_get_type (void);
+GType gst_dv1394src_get_type(void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_GST1394_H__ */
+#endif /* __GST_GST1394_H__ */