debug: indent before renaming

This commit is contained in:
Stefan Kost 2009-04-15 15:43:04 +03:00
parent 787124dad6
commit 99fcc86ee4
8 changed files with 58 additions and 71 deletions

View file

@ -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 *

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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[];