From 3ecf433432289b9c1990165f65bdd51aaad2eaa7 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Dec 2005 19:44:58 +0000 Subject: expand tabs Original commit message from CVS: expand tabs --- gst/oldcore/gstaggregator.c | 2 +- gst/oldcore/gstaggregator.h | 8 ++++---- gst/oldcore/gstmd5sink.c | 34 +++++++++++++++++----------------- gst/oldcore/gstmd5sink.h | 2 +- gst/oldcore/gstmultifilesrc.c | 2 +- gst/oldcore/gstmultifilesrc.h | 6 +++--- gst/oldcore/gstpipefilter.h | 4 ++-- gst/oldcore/gstshaper.h | 14 +++++++------- 8 files changed, 36 insertions(+), 36 deletions(-) (limited to 'gst/oldcore') diff --git a/gst/oldcore/gstaggregator.c b/gst/oldcore/gstaggregator.c index 71d8d50a..53b165a4 100644 --- a/gst/oldcore/gstaggregator.c +++ b/gst/oldcore/gstaggregator.c @@ -82,7 +82,7 @@ gst_aggregator_sched_get_type (void) return aggregator_sched_type; } -#define AGGREGATOR_IS_LOOP_BASED(ag) ((ag)->sched != AGGREGATOR_CHAIN) +#define AGGREGATOR_IS_LOOP_BASED(ag) ((ag)->sched != AGGREGATOR_CHAIN) static GstPad *gst_aggregator_request_new_pad (GstElement * element, GstPadTemplate * temp, const gchar * unused); diff --git a/gst/oldcore/gstaggregator.h b/gst/oldcore/gstaggregator.h index 24af881d..327e0bf8 100644 --- a/gst/oldcore/gstaggregator.h +++ b/gst/oldcore/gstaggregator.h @@ -30,7 +30,7 @@ G_BEGIN_DECLS typedef enum { - AGGREGATOR_LOOP = 1, + AGGREGATOR_LOOP = 1, AGGREGATOR_LOOP_SELECT, AGGREGATOR_CHAIN } GstAggregatorSchedType; @@ -46,8 +46,8 @@ typedef enum { #define GST_IS_AGGREGATOR_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AGGREGATOR)) -typedef struct _GstAggregator GstAggregator; -typedef struct _GstAggregatorClass GstAggregatorClass; +typedef struct _GstAggregator GstAggregator; +typedef struct _GstAggregatorClass GstAggregatorClass; struct _GstAggregator { GstElement element; @@ -67,7 +67,7 @@ struct _GstAggregatorClass { GstElementClass parent_class; }; -GType gst_aggregator_get_type (void); +GType gst_aggregator_get_type (void); G_END_DECLS diff --git a/gst/oldcore/gstmd5sink.c b/gst/oldcore/gstmd5sink.c index bd661bfc..282d4c3f 100644 --- a/gst/oldcore/gstmd5sink.c +++ b/gst/oldcore/gstmd5sink.c @@ -66,8 +66,8 @@ GST_BOILERPLATE_FULL (GstMD5Sink, gst_md5sink, GstElement, GST_TYPE_ELEMENT, _do_init); /* GObject stuff */ -/*static void gst_md5sink_set_property (GObject *object, guint prop_id, - const GValue *value, GParamSpec *pspec);*/ +/*static void gst_md5sink_set_property (GObject *object, guint prop_id, + const GValue *value, GParamSpec *pspec);*/ static void gst_md5sink_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); @@ -255,14 +255,14 @@ md5_process_block (const void *buffer, size_t len, GstMD5Sink * ctx) before the computation. To reduce the work for the next steps we store the swapped words in the array CORRECT_WORDS. */ -#define OP(a, b, c, d, s, T) \ - do \ - { \ - a += FF (b, c, d) + (*cwp++ = GUINT32_TO_LE (*words)) + T; \ - ++words; \ - CYCLIC (a, s); \ - a += b; \ - } \ +#define OP(a, b, c, d, s, T) \ + do \ + { \ + a += FF (b, c, d) + (*cwp++ = GUINT32_TO_LE (*words)) + T; \ + ++words; \ + CYCLIC (a, s); \ + a += b; \ + } \ while (0) /* It is unfortunate that C does not provide an operator for @@ -297,13 +297,13 @@ md5_process_block (const void *buffer, size_t len, GstMD5Sink * ctx) in CORRECT_WORDS. Redefine the macro to take an additional first argument specifying the function to use. */ #undef OP -#define OP(f, a, b, c, d, k, s, T) \ - do \ - { \ - a += f (b, c, d) + correct_words[k] + T; \ - CYCLIC (a, s); \ - a += b; \ - } \ +#define OP(f, a, b, c, d, k, s, T) \ + do \ + { \ + a += f (b, c, d) + correct_words[k] + T; \ + CYCLIC (a, s); \ + a += b; \ + } \ while (0) /* Round 2. */ diff --git a/gst/oldcore/gstmd5sink.h b/gst/oldcore/gstmd5sink.h index d2b8109a..b083e12e 100644 --- a/gst/oldcore/gstmd5sink.h +++ b/gst/oldcore/gstmd5sink.h @@ -67,7 +67,7 @@ struct _GstMD5SinkClass { }; -GType gst_md5sink_get_type (void); +GType gst_md5sink_get_type (void); G_END_DECLS diff --git a/gst/oldcore/gstmultifilesrc.c b/gst/oldcore/gstmultifilesrc.c index cfc3aef7..df722aaf 100644 --- a/gst/oldcore/gstmultifilesrc.c +++ b/gst/oldcore/gstmultifilesrc.c @@ -78,7 +78,7 @@ static void gst_multifilesrc_get_property (GObject * object, guint prop_id, static GstData *gst_multifilesrc_get (GstPad * pad); -/*static GstBuffer * gst_multifilesrc_get_region (GstPad *pad,GstRegionType type,guint64 offset,guint64 len);*/ +/*static GstBuffer * gst_multifilesrc_get_region (GstPad *pad,GstRegionType type,guint64 offset,guint64 len);*/ static GstStateChangeReturn gst_multifilesrc_change_state (GstElement * element); diff --git a/gst/oldcore/gstmultifilesrc.h b/gst/oldcore/gstmultifilesrc.h index 34fc5991..c78ee8a2 100644 --- a/gst/oldcore/gstmultifilesrc.h +++ b/gst/oldcore/gstmultifilesrc.h @@ -41,10 +41,10 @@ G_BEGIN_DECLS (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MULTIFILESRC)) typedef enum { - GST_MULTIFILESRC_OPEN = (GST_ELEMENT_FLAG_LAST << 0), + GST_MULTIFILESRC_OPEN = (GST_ELEMENT_FLAG_LAST << 0), GST_MULTIFILESRC_NEWFILE = (GST_ELEMENT_FLAG_LAST << 1) - GST_MULTIFILESRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2) + GST_MULTIFILESRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2) } GstMultiFileSrcFlags; typedef struct _GstMultiFileSrc GstMultiFileSrc; @@ -67,7 +67,7 @@ struct _GstMultiFileSrc { gint curfileindex; /* how many files have we done so far */ gboolean have_newmedia_events; /* tunable parameter to say whether new media - disconts should be generated */ + disconts should be generated */ gboolean new_seek; }; diff --git a/gst/oldcore/gstpipefilter.h b/gst/oldcore/gstpipefilter.h index 281375d4..87ba8ad5 100644 --- a/gst/oldcore/gstpipefilter.h +++ b/gst/oldcore/gstpipefilter.h @@ -42,9 +42,9 @@ G_BEGIN_DECLS (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PIPEFILTER)) typedef enum { - GST_PIPEFILTER_OPEN = (GST_ELEMENT_FLAG_LAST << 0), + GST_PIPEFILTER_OPEN = (GST_ELEMENT_FLAG_LAST << 0), - GST_PIPEFILTER_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2) + GST_PIPEFILTER_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2) } GstPipeFilterFlags; typedef struct _GstPipefilter GstPipefilter; diff --git a/gst/oldcore/gstshaper.h b/gst/oldcore/gstshaper.h index 1fe84e51..4b3db6fc 100644 --- a/gst/oldcore/gstshaper.h +++ b/gst/oldcore/gstshaper.h @@ -50,22 +50,22 @@ typedef struct _GstShaper GstShaper; typedef struct _GstShaperClass GstShaperClass; struct _GstShaper { - GstElement element; + GstElement element; - GSList *connections; - gint nconnections; + GSList *connections; + gint nconnections; - GstShaperPolicyType policy; + GstShaperPolicyType policy; - gboolean silent; - gchar *last_message; + gboolean silent; + gchar *last_message; }; struct _GstShaperClass { GstElementClass parent_class; }; -GType gst_shaper_get_type (void); +GType gst_shaper_get_type (void); G_END_DECLS -- cgit