diff options
| author | Stefan Kost <ensonic@users.sf.net> | 2009-04-15 15:43:04 +0300 | 
|---|---|---|
| committer | Stefan Kost <ensonic@users.sf.net> | 2009-04-15 16:13:34 +0300 | 
| commit | 99fcc86ee441d34752b39e382014d5a8a5cb04b0 (patch) | |
| tree | 7e73c7baee67685b82d4daba7aca5b047352c17e | |
| parent | 787124dad6657d2c79134f611ae960f1666ca156 (diff) | |
debug: indent before renaming
| -rw-r--r-- | gst/debug/efence.c | 4 | ||||
| -rw-r--r-- | gst/debug/efence.h | 35 | ||||
| -rw-r--r-- | gst/debug/gstnavigationtest.h | 13 | ||||
| -rw-r--r-- | gst/debug/gstnavseek.h | 24 | ||||
| -rw-r--r-- | gst/debug/gstpushfilesrc.h | 12 | ||||
| -rw-r--r-- | gst/debug/gsttaginject.h | 16 | ||||
| -rw-r--r-- | gst/debug/progressreport.h | 8 | ||||
| -rw-r--r-- | gst/debug/tests.h | 17 | 
8 files changed, 58 insertions, 71 deletions
diff --git a/gst/debug/efence.c b/gst/debug/efence.c index 8174e3ca..a46bf1ac 100644 --- a/gst/debug/efence.c +++ b/gst/debug/efence.c @@ -397,8 +397,8 @@ gst_fenced_buffer_finalize (GstFencedBuffer * buffer)      munmap (fenced_buffer->region, fenced_buffer->length);    } -  GST_MINI_OBJECT_CLASS (fenced_buffer_parent_class)-> -      finalize (GST_MINI_OBJECT (buffer)); +  GST_MINI_OBJECT_CLASS (fenced_buffer_parent_class)->finalize (GST_MINI_OBJECT +      (buffer));  }  static GstFencedBuffer * diff --git a/gst/debug/efence.h b/gst/debug/efence.h index 726c10ba..7c4acb5d 100644 --- a/gst/debug/efence.h +++ b/gst/debug/efence.h @@ -8,8 +8,9 @@  #include <gst/gst.h>  #ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +extern "C" +{ +#endif                          /* __cplusplus */  /* #define's don't like whitespacey bits */  #define GST_TYPE_EFENCE \ @@ -23,27 +24,27 @@ extern "C" {  #define GST_IS_EFENCE_CLASS(klass) \    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE)) -typedef struct _GstEFence      GstEFence; -typedef struct _GstEFenceClass GstEFenceClass; +  typedef struct _GstEFence GstEFence; +  typedef struct _GstEFenceClass GstEFenceClass; -struct _GstEFence -{ -  GstElement element; +  struct _GstEFence +  { +    GstElement element; -  GstPad *sinkpad, *srcpad; +    GstPad *sinkpad, *srcpad; -  gboolean fence_top; -}; +    gboolean fence_top; +  }; -struct _GstEFenceClass  -{ -  GstElementClass parent_class; -}; +  struct _GstEFenceClass +  { +    GstElementClass parent_class; +  }; -GType gst_gst_efence_get_type (void); +  GType gst_gst_efence_get_type (void);  #ifdef __cplusplus  } -#endif /* __cplusplus */ +#endif                          /* __cplusplus */ -#endif /* __GST_EFENCE_H__ */ +#endif                          /* __GST_EFENCE_H__ */ diff --git a/gst/debug/gstnavigationtest.h b/gst/debug/gstnavigationtest.h index 21c355f6..efdbb228 100644 --- a/gst/debug/gstnavigationtest.h +++ b/gst/debug/gstnavigationtest.h @@ -24,7 +24,6 @@  #include <gst/video/gstvideofilter.h>  G_BEGIN_DECLS -  #define GST_TYPE_NAVIGATIONTEST \    (gst_navigationtest_get_type())  #define GST_NAVIGATIONTEST(obj) \ @@ -35,7 +34,6 @@ G_BEGIN_DECLS    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NAVIGATIONTEST))  #define GST_IS_NAVIGATIONTEST_CLASS(klass) \    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NAVIGATIONTEST)) -  typedef struct _GstNavigationtest GstNavigationtest;  typedef struct _GstNavigationtestClass GstNavigationtestClass; @@ -47,23 +45,24 @@ typedef struct    guint8 cy, cu, cv;  } ButtonClick; -struct _GstNavigationtest { +struct _GstNavigationtest +{    GstVideoFilter videofilter;    gint width, height; -   +    GValue framerate;    gdouble x, y;    GSList *clicks;  }; -struct _GstNavigationtestClass { +struct _GstNavigationtestClass +{    GstVideoFilterClass parent_class;  }; -GType gst_navigationtest_get_type(void); +GType gst_navigationtest_get_type (void);  G_END_DECLS -  #endif /* __GST_NAVIGATIONTEST_H__ */ diff --git a/gst/debug/gstnavseek.h b/gst/debug/gstnavseek.h index 7eaa6674..af7e9d21 100644 --- a/gst/debug/gstnavseek.h +++ b/gst/debug/gstnavseek.h @@ -26,7 +26,6 @@  #include <gst/base/gstbasetransform.h>  G_BEGIN_DECLS -  #define GST_TYPE_NAVSEEK \    (gst_navseek_get_type())  #define GST_NAVSEEK(obj) \ @@ -37,26 +36,25 @@ G_BEGIN_DECLS    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NAVSEEK))  #define GST_IS_NAVSEEK_CLASS(klass) \    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NAVSEEK)) -  typedef struct _GstNavSeek GstNavSeek;  typedef struct _GstNavSeekClass GstNavSeekClass; -struct _GstNavSeek { -  GstBaseTransform  basetransform; +struct _GstNavSeek +{ +  GstBaseTransform basetransform; -  gdouble           seek_offset; -  gboolean          loop; -  gboolean          grab_seg_start; -  gboolean          grab_seg_end; -  GstClockTime      segment_start; -  GstClockTime      segment_end; +  gdouble seek_offset; +  gboolean loop; +  gboolean grab_seg_start; +  gboolean grab_seg_end; +  GstClockTime segment_start; +  GstClockTime segment_end;  }; -struct _GstNavSeekClass { +struct _GstNavSeekClass +{    GstBaseTransformClass parent_class;  };  G_END_DECLS -  #endif /* __GST_NAVSEEK_H__ */ - diff --git a/gst/debug/gstpushfilesrc.h b/gst/debug/gstpushfilesrc.h index 350696f5..d9333444 100644 --- a/gst/debug/gstpushfilesrc.h +++ b/gst/debug/gstpushfilesrc.h @@ -23,7 +23,6 @@  #include <gst/gstbin.h>  G_BEGIN_DECLS -  #define GST_TYPE_PUSH_FILE_SRC \    (gst_push_file_src_get_type())  #define GST_PUSH_FILE_SRC(obj) \ @@ -34,7 +33,6 @@ G_BEGIN_DECLS    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PUSH_FILE_SRC))  #define GST_IS_PUSH_FILE_SRC_CLASS(klass) \    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PUSH_FILE_SRC)) -  typedef struct _GstPushFileSrc GstPushFileSrc;  typedef struct _GstPushFileSrcClass GstPushFileSrcClass; @@ -42,9 +40,9 @@ struct _GstPushFileSrc  {    GstBin parent; -  /*< private >*/ +  /*< private > */    GstElement *filesrc; -  GstPad     *srcpad; +  GstPad *srcpad;  };  struct _GstPushFileSrcClass @@ -52,9 +50,7 @@ struct _GstPushFileSrcClass    GstBinClass parent_class;  }; -GType gst_push_file_src_get_type(void); +GType gst_push_file_src_get_type (void);  G_END_DECLS - -#endif /* __GST_PUSH_FILE_SRC_H__*/ - +#endif /* __GST_PUSH_FILE_SRC_H__ */ diff --git a/gst/debug/gsttaginject.h b/gst/debug/gsttaginject.h index 4d0f04f1..8e8de1ee 100644 --- a/gst/debug/gsttaginject.h +++ b/gst/debug/gsttaginject.h @@ -28,8 +28,6 @@  #include <gst/base/gstbasetransform.h>  G_BEGIN_DECLS - -  #define GST_TYPE_TAG_INJECT \    (gst_tag_inject_get_type())  #define GST_TAG_INJECT(obj) \ @@ -40,7 +38,6 @@ G_BEGIN_DECLS    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TAG_INJECT))  #define GST_IS_TAG_INJECT_CLASS(klass) \    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TAG_INJECT)) -  typedef struct _GstTagInject GstTagInject;  typedef struct _GstTagInjectClass GstTagInjectClass; @@ -49,20 +46,21 @@ typedef struct _GstTagInjectClass GstTagInjectClass;   *   * Opaque #GstTagInject data structure   */ -struct _GstTagInject { -  GstBaseTransform 	 element; +struct _GstTagInject +{ +  GstBaseTransform element; -  /*< private >*/ +  /*< private > */    GstTagList *tags;    gboolean tags_sent;  }; -struct _GstTagInjectClass { +struct _GstTagInjectClass +{    GstBaseTransformClass parent_class;  }; -GType gst_tag_inject_get_type(void); +GType gst_tag_inject_get_type (void);  G_END_DECLS -  #endif /* __GST_TAG_INJECT_H__ */ diff --git a/gst/debug/progressreport.h b/gst/debug/progressreport.h index 880efc8a..92886b29 100644 --- a/gst/debug/progressreport.h +++ b/gst/debug/progressreport.h @@ -26,7 +26,6 @@  #include <gst/base/gstbasetransform.h>  G_BEGIN_DECLS -  #define GST_TYPE_PROGRESS_REPORT \    (gst_progress_report_get_type())  #define GST_PROGRESS_REPORT(obj) \ @@ -37,7 +36,6 @@ G_BEGIN_DECLS    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PROGRESS_REPORT))  #define GST_IS_PROGRESS_REPORT_CLASS(klass) \    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PROGRESS_REPORT)) -  typedef struct _GstProgressReport GstProgressReport;  typedef struct _GstProgressReportClass GstProgressReportClass; @@ -62,9 +60,7 @@ struct _GstProgressReportClass    GstBaseTransformClass parent_class;  }; -GType gst_progress_report_get_type(void); +GType gst_progress_report_get_type (void);  G_END_DECLS - -#endif /* __GST_PROGRESS_REPORT_H__*/ - +#endif /* __GST_PROGRESS_REPORT_H__ */ diff --git a/gst/debug/tests.h b/gst/debug/tests.h index 444a1c19..9926af62 100644 --- a/gst/debug/tests.h +++ b/gst/debug/tests.h @@ -25,15 +25,14 @@  typedef struct _GstTestInfo GstTestInfo; -struct _GstTestInfo { -  GParamSpec *  (* get_spec)    (const GstTestInfo *info, gboolean compare_value); -  gpointer      (* new)         (const GstTestInfo *info); -  void          (* add)         (gpointer test, -                                 GstBuffer *buffer); -  gboolean      (* finish)      (gpointer test, GValue *value); -  void          (* get_value)   (gpointer test, -                                 GValue *value); -  void          (* free)        (gpointer test); +struct _GstTestInfo +{ +  GParamSpec *(*get_spec) (const GstTestInfo * info, gboolean compare_value); +    gpointer (*new) (const GstTestInfo * info); +  void (*add) (gpointer test, GstBuffer * buffer); +    gboolean (*finish) (gpointer test, GValue * value); +  void (*get_value) (gpointer test, GValue * value); +  void (*free) (gpointer test);  };  extern const GstTestInfo tests[];  | 
