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,7 +8,8 @@
#include <gst/gst.h>
#ifdef __cplusplus
extern "C" {
extern "C"
{
#endif /* __cplusplus */
/* #define's don't like whitespacey bits */

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,7 +45,8 @@ typedef struct
guint8 cy, cu, cv;
} ButtonClick;
struct _GstNavigationtest {
struct _GstNavigationtest
{
GstVideoFilter videofilter;
gint width, height;
@ -58,12 +57,12 @@ struct _GstNavigationtest {
GSList *clicks;
};
struct _GstNavigationtestClass {
struct _GstNavigationtestClass
{
GstVideoFilterClass parent_class;
};
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,11 +36,11 @@ 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 {
struct _GstNavSeek
{
GstBaseTransform basetransform;
gdouble seek_offset;
@ -52,11 +51,10 @@ struct _GstNavSeek {
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;
@ -55,6 +53,4 @@ struct _GstPushFileSrcClass
GType gst_push_file_src_get_type (void);
G_END_DECLS
#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,7 +46,8 @@ typedef struct _GstTagInjectClass GstTagInjectClass;
*
* Opaque #GstTagInject data structure
*/
struct _GstTagInject {
struct _GstTagInject
{
GstBaseTransform element;
/*< private > */
@ -57,12 +55,12 @@ struct _GstTagInject {
gboolean tags_sent;
};
struct _GstTagInjectClass {
struct _GstTagInjectClass
{
GstBaseTransformClass parent_class;
};
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;
@ -65,6 +63,4 @@ struct _GstProgressReportClass
GType gst_progress_report_get_type (void);
G_END_DECLS
#endif /* __GST_PROGRESS_REPORT_H__ */

View file

@ -25,14 +25,13 @@
typedef struct _GstTestInfo GstTestInfo;
struct _GstTestInfo {
struct _GstTestInfo
{
GParamSpec *(*get_spec) (const GstTestInfo * info, gboolean compare_value);
gpointer (*new) (const GstTestInfo * info);
void (* add) (gpointer test,
GstBuffer *buffer);
void (*add) (gpointer test, GstBuffer * buffer);
gboolean (*finish) (gpointer test, GValue * value);
void (* get_value) (gpointer test,
GValue *value);
void (*get_value) (gpointer test, GValue * value);
void (*free) (gpointer test);
};