From bdb814f6ef56edca67e1241eb16df22fdd8ab17c Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Dec 2005 19:55:58 +0000 Subject: expand tabs Original commit message from CVS: expand tabs --- ext/audiofile/gstafparse.h | 14 ++++---- ext/audiofile/gstafsink.c | 2 +- ext/audiofile/gstafsink.h | 16 ++++----- ext/audiofile/gstafsrc.c | 2 +- ext/audiofile/gstafsrc.h | 14 ++++---- ext/cdaudio/gstcdaudio.c | 10 +++--- ext/divx/gstdivxenc.c | 16 ++++----- ext/dts/gstdtsdec.h | 30 ++++++++-------- ext/faac/gstfaac.h | 4 +-- ext/ivorbis/vorbisenc.h | 14 ++++---- ext/ivorbis/vorbisfile.c | 10 +++--- ext/musepack/gstmusepackdec.h | 4 +-- ext/nas/nassink.c | 2 +- ext/snapshot/gstsnapshot.c | 2 +- ext/sndfile/gstsf.h | 10 +++--- ext/tarkin/gsttarkindec.h | 24 ++++++------- ext/tarkin/gsttarkinenc.h | 18 +++++----- ext/xine/gstxine.h | 34 +++++++++--------- ext/xine/xinecaps.c | 84 +++++++++++++++++++++---------------------- ext/xvid/gstxvid.h | 6 ++-- 20 files changed, 158 insertions(+), 158 deletions(-) (limited to 'ext') diff --git a/ext/audiofile/gstafparse.h b/ext/audiofile/gstafparse.h index 43f64f4f..08539f1e 100644 --- a/ext/audiofile/gstafparse.h +++ b/ext/audiofile/gstafparse.h @@ -27,7 +27,7 @@ #include #include -#include /* what else are we to do */ +#include /* what else are we to do */ #include @@ -56,7 +56,7 @@ typedef struct _GstAFParseClass GstAFParseClass; typedef enum { GST_AFPARSE_OPEN = (GST_ELEMENT_FLAG_LAST << 0), - GST_AFPARSE_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), + GST_AFPARSE_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), } GstAFParseFlags; struct _GstAFParse { @@ -71,9 +71,9 @@ struct _GstAFParse { int width; unsigned int rate; gboolean is_signed; - int type; /* type of output, compare to audiofile.h - * RAW, AIFF, AIFFC, NEXTSND, WAVE - */ + int type; /* type of output, compare to audiofile.h + * RAW, AIFF, AIFFC, NEXTSND, WAVE + */ /* blocking */ gulong curoffset; gulong bytes_per_read; @@ -82,7 +82,7 @@ struct _GstAFParse { gulong seq; gint64 timestamp; /* FIXME : endianness is a little cryptic at this point */ - int endianness_data; /* 4321 or 1234 */ + int endianness_data; /* 4321 or 1234 */ int endianness_wanted; /* same thing, but what the output format wants */ int endianness_output; /* what the output endianness will be */ }; @@ -94,7 +94,7 @@ struct _GstAFParseClass { void (*handoff) (GstElement *element,GstPad *pad); }; -gboolean gst_afparse_plugin_init (GstPlugin *plugin); +gboolean gst_afparse_plugin_init (GstPlugin *plugin); #ifdef __cplusplus } diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index b513a198..ace3c388 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -399,7 +399,7 @@ gst_afsink_chain (GstPad * pad, GstData * _data) if (bytes_written < GST_BUFFER_SIZE (buf)) { printf ("afsink : Warning : %d bytes should be written, only %d bytes written\n", - GST_BUFFER_SIZE (buf), bytes_written); + GST_BUFFER_SIZE (buf), bytes_written); } } */ diff --git a/ext/audiofile/gstafsink.h b/ext/audiofile/gstafsink.h index 9b0d0e4e..6e5379a9 100644 --- a/ext/audiofile/gstafsink.h +++ b/ext/audiofile/gstafsink.h @@ -26,7 +26,7 @@ #include -#include /* what else are we to do */ +#include /* what else are we to do */ #ifdef __cplusplus @@ -54,7 +54,7 @@ typedef struct _GstAFSinkClass GstAFSinkClass; typedef enum { GST_AFSINK_OPEN = (GST_ELEMENT_FLAG_LAST << 0), - GST_AFSINK_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), + GST_AFSINK_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), } GstAFSinkFlags; struct _GstAFSink { @@ -71,11 +71,11 @@ struct _GstAFSink { int width; unsigned int rate; gboolean is_signed; - int type; /* type of output, compare to audiofile.h - * RAW, AIFF, AIFFC, NEXTSND, WAVE - */ + int type; /* type of output, compare to audiofile.h + * RAW, AIFF, AIFFC, NEXTSND, WAVE + */ /* FIXME : endianness is a little cryptic at this point */ - int endianness_data; /* 4321 or 1234 */ + int endianness_data; /* 4321 or 1234 */ int endianness_wanted; /* same thing, but what the output format wants */ int endianness_output; /* what the output endianness will be */ }; @@ -87,8 +87,8 @@ struct _GstAFSinkClass { void (*handoff) (GstElement *element,GstPad *pad); }; -GType gst_afsink_get_type (void); -gboolean gst_afsink_plugin_init (GstPlugin *plugin); +GType gst_afsink_get_type (void); +gboolean gst_afsink_plugin_init (GstPlugin *plugin); diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index b17a8770..e864cf8f 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -364,7 +364,7 @@ gst_afsrc_close_file (GstAFSrc * src) /* g_print ("DEBUG: closing srcfile...\n"); */ g_return_if_fail (GST_OBJECT_FLAG_IS_SET (src, GST_AFSRC_OPEN)); /* g_print ("DEBUG: past flag test\n"); */ -/* if (fclose (src->file) != 0) */ +/* if (fclose (src->file) != 0) */ if (afCloseFile (src->file) != 0) { GST_ELEMENT_ERROR (src, RESOURCE, CLOSE, (_("Error closing file \"%s\"."), src->filename), GST_ERROR_SYSTEM); diff --git a/ext/audiofile/gstafsrc.h b/ext/audiofile/gstafsrc.h index b5dcfba3..ae55bb8d 100644 --- a/ext/audiofile/gstafsrc.h +++ b/ext/audiofile/gstafsrc.h @@ -26,7 +26,7 @@ #include -#include /* what else are we to do */ +#include /* what else are we to do */ #ifdef __cplusplus @@ -54,7 +54,7 @@ typedef struct _GstAFSrcClass GstAFSrcClass; typedef enum { GST_AFSRC_OPEN = (GST_ELEMENT_FLAG_LAST << 0), - GST_AFSRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), + GST_AFSRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), } GstAFSrcFlags; struct _GstAFSrc { @@ -71,9 +71,9 @@ struct _GstAFSrc { int width; unsigned int rate; gboolean is_signed; - int type; /* type of output, compare to audiofile.h - * RAW, AIFF, AIFFC, NEXTSND, WAVE - */ + int type; /* type of output, compare to audiofile.h + * RAW, AIFF, AIFFC, NEXTSND, WAVE + */ /* blocking */ gulong curoffset; gulong bytes_per_read; @@ -81,7 +81,7 @@ struct _GstAFSrc { gulong seq; guint64 framestamp; /* FIXME : endianness is a little cryptic at this point */ - int endianness_data; /* 4321 or 1234 */ + int endianness_data; /* 4321 or 1234 */ int endianness_wanted; /* same thing, but what the output format wants */ int endianness_output; /* what the output endianness will be */ }; @@ -93,7 +93,7 @@ struct _GstAFSrcClass { void (*handoff) (GstElement *element,GstPad *pad); }; -GType gst_afsrc_get_type (void); +GType gst_afsrc_get_type (void); gboolean gst_afsrc_plugin_init (GstPlugin *plugin); diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c index e278a687..e07e0f2b 100644 --- a/ext/cdaudio/gstcdaudio.c +++ b/ext/cdaudio/gstcdaudio.c @@ -25,11 +25,11 @@ #include -#define GST_TYPE_CDAUDIO (gst_cdaudio_get_type()) -#define GST_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CDAUDIO,GstCDAudio)) -#define GST_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CDAUDIO,GstCDAudioClass)) -#define GST_IS_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CDAUDIO)) -#define GST_IS_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CDAUDIO)) +#define GST_TYPE_CDAUDIO (gst_cdaudio_get_type()) +#define GST_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CDAUDIO,GstCDAudio)) +#define GST_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CDAUDIO,GstCDAudioClass)) +#define GST_IS_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CDAUDIO)) +#define GST_IS_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CDAUDIO)) typedef struct _GstCDAudio GstCDAudio; typedef struct _GstCDAudioClass GstCDAudioClass; diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c index 00ec93d1..591bb90e 100644 --- a/ext/divx/gstdivxenc.c +++ b/ext/divx/gstdivxenc.c @@ -366,14 +366,14 @@ gst_divxenc_chain (GstPad * pad, GstData * _data) case GST_MAKE_FOURCC ('R', 'G', 'B', ' '): gst_caps_get_int (caps, "depth", &d); switch (d) { - case 24: - divx_cs = 0; - bitcnt = 24; - break; - case 32: - divx_cs = 0; - bitcnt = 32; - break; + case 24: + divx_cs = 0; + bitcnt = 24; + break; + case 32: + divx_cs = 0; + bitcnt = 32; + break; */ static GstPadLinkReturn diff --git a/ext/dts/gstdtsdec.h b/ext/dts/gstdtsdec.h index 04b7f687..6da751ed 100644 --- a/ext/dts/gstdtsdec.h +++ b/ext/dts/gstdtsdec.h @@ -41,31 +41,31 @@ typedef struct _GstDtsDec GstDtsDec; typedef struct _GstDtsDecClass GstDtsDecClass; struct _GstDtsDec { - GstElement element; + GstElement element; /* pads */ - GstPad *sinkpad, - *srcpad; + GstPad *sinkpad, + *srcpad; /* stream properties */ - gint bit_rate; - gint sample_rate; - gint stream_channels; - gint request_channels; - gint using_channels; + gint bit_rate; + gint sample_rate; + gint stream_channels; + gint request_channels; + gint using_channels; /* decoding properties */ - sample_t level; - sample_t bias; - gboolean dynamic_range_compression; - sample_t *samples; - dts_state_t *state; + sample_t level; + sample_t bias; + gboolean dynamic_range_compression; + sample_t *samples; + dts_state_t *state; /* Data left over from the previous buffer */ - GstBuffer *cache; + GstBuffer *cache; /* keep track of time */ - GstClockTime current_ts; + GstClockTime current_ts; }; struct _GstDtsDecClass { diff --git a/ext/faac/gstfaac.h b/ext/faac/gstfaac.h index b45f849e..4a17e108 100644 --- a/ext/faac/gstfaac.h +++ b/ext/faac/gstfaac.h @@ -52,9 +52,9 @@ typedef struct _GstFaac { shortctl, outputformat; gboolean tns, - midside; + midside; gulong bytes, - samples; + samples; /* FAAC object */ faacEncHandle handle; diff --git a/ext/ivorbis/vorbisenc.h b/ext/ivorbis/vorbisenc.h index 60fdf670..fe44be34 100644 --- a/ext/ivorbis/vorbisenc.h +++ b/ext/ivorbis/vorbisenc.h @@ -45,18 +45,18 @@ typedef struct _VorbisEnc VorbisEnc; typedef struct _VorbisEncClass VorbisEncClass; struct _VorbisEnc { - GstElement element; + GstElement element; GstPad *sinkpad, *srcpad; ogg_stream_state os; /* take physical pages, weld into a logical - stream of packets */ + stream of packets */ ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ ogg_packet op; /* one raw packet of data for decode */ vorbis_info vi; /* struct that stores all the static vorbis bitstream - settings */ + settings */ vorbis_comment vc; /* struct that stores all the user comments */ vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ @@ -69,20 +69,20 @@ struct _VorbisEnc { gint min_bitrate; gint max_bitrate; gfloat quality; - gboolean quality_set; + gboolean quality_set; gint serial; gint channels; gint frequency; - guint64 samples_in; - guint64 bytes_out; + guint64 samples_in; + guint64 bytes_out; GstCaps *metadata; gboolean setup; gboolean flush_header; - gchar *last_message; + gchar *last_message; }; struct _VorbisEncClass { diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 22668a8a..353a2b43 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -31,15 +31,15 @@ GST_DEBUG_CATEGORY_STATIC (ivorbisfile_debug); #define GST_CAT_DEFAULT ivorbisfile_debug -#define GST_TYPE_IVORBISFILE \ +#define GST_TYPE_IVORBISFILE \ (ivorbisfile_get_type()) -#define GST_IVORBISFILE(obj) \ +#define GST_IVORBISFILE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_IVORBISFILE,Ivorbisfile)) -#define GST_IVORBISFILE_CLASS(klass) \ +#define GST_IVORBISFILE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IVORBISFILE,IvorbisfileClass)) -#define GST_IS_IVORBISFILE(obj) \ +#define GST_IS_IVORBISFILE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IVORBISFILE)) -#define GST_IS_IVORBISFILE_CLASS(obj) \ +#define GST_IS_IVORBISFILE_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IVORBISFILE)) typedef struct _Ivorbisfile Ivorbisfile; diff --git a/ext/musepack/gstmusepackdec.h b/ext/musepack/gstmusepackdec.h index 3b931cad..3743519c 100644 --- a/ext/musepack/gstmusepackdec.h +++ b/ext/musepack/gstmusepackdec.h @@ -71,8 +71,8 @@ typedef struct _GstMusepackDecClass { GType gst_musepackdec_get_type (void); extern gboolean gst_musepackdec_src_convert (GstPad * pad, - GstFormat src_format, - gint64 src_value, GstFormat * dest_format, gint64 * dest_value); + GstFormat src_format, + gint64 src_value, GstFormat * dest_format, gint64 * dest_value); G_END_DECLS diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index dafe71bc..b647861a 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -30,7 +30,7 @@ #include