Commit 6cc1c73d authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

don't mix tabs and spaces

Original commit message from CVS:
don't mix tabs and spaces
parent d07ec45f
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* *.c, *.cc: don't mix tabs and spaces
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org> 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/gst/play/play.c: (gst_play_pipeline_setup): * gst-libs/gst/play/play.c: (gst_play_pipeline_setup):
......
...@@ -60,7 +60,8 @@ typedef struct ...@@ -60,7 +60,8 @@ typedef struct
GstElement *bin; GstElement *bin;
GstElement *pipeline; GstElement *pipeline;
GstIndex *index; GstIndex *index;
} dyn_link; }
dyn_link;
static void static void
dynamic_link (GstPadTemplate * templ, GstPad * newpad, gpointer data) dynamic_link (GstPadTemplate * templ, GstPad * newpad, gpointer data)
......
...@@ -47,7 +47,8 @@ typedef struct ...@@ -47,7 +47,8 @@ typedef struct
{ {
const gchar *name; const gchar *name;
const GstFormat format; const GstFormat format;
} seek_format; }
seek_format;
static seek_format seek_formats[] = { static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME}, {"tim", GST_FORMAT_TIME},
......
...@@ -28,7 +28,8 @@ typedef struct ...@@ -28,7 +28,8 @@ typedef struct
const gchar *padname; const gchar *padname;
GstPad *target; GstPad *target;
GstElement *bin; GstElement *bin;
} dyn_link; }
dyn_link;
static GstElement * static GstElement *
gst_element_factory_make_or_warn (gchar * type, gchar * name) gst_element_factory_make_or_warn (gchar * type, gchar * name)
...@@ -572,7 +573,8 @@ typedef struct ...@@ -572,7 +573,8 @@ typedef struct
{ {
const gchar *name; const gchar *name;
const GstFormat format; const GstFormat format;
} seek_format; }
seek_format;
static seek_format seek_formats[] = { static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME}, {"tim", GST_FORMAT_TIME},
...@@ -808,7 +810,8 @@ typedef struct ...@@ -808,7 +810,8 @@ typedef struct
{ {
gchar *name; gchar *name;
GstElement *(*func) (const gchar * location); GstElement *(*func) (const gchar * location);
} Pipeline; }
Pipeline;
static Pipeline pipelines[] = { static Pipeline pipelines[] = {
{"mp3", make_mp3_pipeline}, {"mp3", make_mp3_pipeline},
......
...@@ -91,7 +91,8 @@ typedef struct ...@@ -91,7 +91,8 @@ typedef struct
{ {
const gchar *name; const gchar *name;
const GstFormat format; const GstFormat format;
} seek_format; }
seek_format;
static seek_format seek_formats[] = { static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME}, {"tim", GST_FORMAT_TIME},
......
...@@ -100,6 +100,7 @@ gst_aasink_get_type (void) ...@@ -100,6 +100,7 @@ gst_aasink_get_type (void)
0, 0,
(GInstanceInitFunc) gst_aasink_init, (GInstanceInitFunc) gst_aasink_init,
}; };
aasink_type = aasink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAASink", &aasink_info, 0); g_type_register_static (GST_TYPE_ELEMENT, "GstAASink", &aasink_info, 0);
} }
......
...@@ -144,6 +144,7 @@ gst_dvdec_quality_get_type (void) ...@@ -144,6 +144,7 @@ gst_dvdec_quality_get_type (void)
{DV_QUALITY_AC_2, "DV_QUALITY_AC_2", "AC 2 something"}, {DV_QUALITY_AC_2, "DV_QUALITY_AC_2", "AC 2 something"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
qtype = g_flags_register_static ("GstDVDecQualityFlags", values); qtype = g_flags_register_static ("GstDVDecQualityFlags", values);
} }
return qtype; return qtype;
...@@ -211,6 +212,7 @@ gst_dvdec_get_type (void) ...@@ -211,6 +212,7 @@ gst_dvdec_get_type (void)
0, 0,
(GInstanceInitFunc) gst_dvdec_init, (GInstanceInitFunc) gst_dvdec_init,
}; };
dvdec_type = dvdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstDVDec", &dvdec_info, 0); g_type_register_static (GST_TYPE_ELEMENT, "GstDVDec", &dvdec_info, 0);
} }
...@@ -486,6 +488,7 @@ gst_dvdec_get_src_query_types (GstPad * pad) ...@@ -486,6 +488,7 @@ gst_dvdec_get_src_query_types (GstPad * pad)
GST_QUERY_POSITION, GST_QUERY_POSITION,
0 0
}; };
return src_query_types; return src_query_types;
} }
......
...@@ -96,6 +96,7 @@ gst_esdmon_depths_get_type (void) ...@@ -96,6 +96,7 @@ gst_esdmon_depths_get_type (void)
{16, "16", "16 Bits"}, {16, "16", "16 Bits"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
if (!esdmon_depths_type) { if (!esdmon_depths_type) {
esdmon_depths_type = esdmon_depths_type =
g_enum_register_static ("GstEsdmonDepths", esdmon_depths); g_enum_register_static ("GstEsdmonDepths", esdmon_depths);
...@@ -113,6 +114,7 @@ gst_esdmon_channels_get_type (void) ...@@ -113,6 +114,7 @@ gst_esdmon_channels_get_type (void)
{2, "2", "Stereo"}, {2, "2", "Stereo"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
if (!esdmon_channels_type) { if (!esdmon_channels_type) {
esdmon_channels_type = esdmon_channels_type =
g_enum_register_static ("GstEsdmonChannels", esdmon_channels); g_enum_register_static ("GstEsdmonChannels", esdmon_channels);
...@@ -142,6 +144,7 @@ gst_esdmon_get_type (void) ...@@ -142,6 +144,7 @@ gst_esdmon_get_type (void)
0, 0,
gst_esdmon_init, gst_esdmon_init,
}; };
esdmon_type = esdmon_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstEsdmon", &esdmon_info, 0); g_type_register_static (GST_TYPE_ELEMENT, "GstEsdmon", &esdmon_info, 0);
} }
......
...@@ -104,6 +104,7 @@ gst_esdsink_get_type (void) ...@@ -104,6 +104,7 @@ gst_esdsink_get_type (void)
0, 0,
gst_esdsink_init, gst_esdsink_init,
}; };
esdsink_type = esdsink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstEsdsink", &esdsink_info, g_type_register_static (GST_TYPE_ELEMENT, "GstEsdsink", &esdsink_info,
0); 0);
......
...@@ -112,6 +112,7 @@ flacdec_get_type (void) ...@@ -112,6 +112,7 @@ flacdec_get_type (void)
0, 0,
(GInstanceInitFunc) gst_flacdec_init, (GInstanceInitFunc) gst_flacdec_init,
}; };
flacdec_type = flacdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "FlacDec", &flacdec_info, 0); g_type_register_static (GST_TYPE_ELEMENT, "FlacDec", &flacdec_info, 0);
} }
...@@ -585,6 +586,7 @@ gst_flacdec_get_src_formats (GstPad * pad) ...@@ -585,6 +586,7 @@ gst_flacdec_get_src_formats (GstPad * pad)
GST_FORMAT_TIME, GST_FORMAT_TIME,
0, 0,
}; };
return formats; return formats;
} }
...@@ -659,6 +661,7 @@ gst_flacdec_get_src_query_types (GstPad * pad) ...@@ -659,6 +661,7 @@ gst_flacdec_get_src_query_types (GstPad * pad)
GST_QUERY_POSITION, GST_QUERY_POSITION,
0, 0,
}; };
return types; return types;
} }
...@@ -702,6 +705,7 @@ gst_flacdec_get_src_event_masks (GstPad * pad) ...@@ -702,6 +705,7 @@ gst_flacdec_get_src_event_masks (GstPad * pad)
{GST_EVENT_SEEK, GST_SEEK_FLAG_ACCURATE}, {GST_EVENT_SEEK, GST_SEEK_FLAG_ACCURATE},
{0, 0}, {0, 0},
}; };
return masks; return masks;
} }
......
...@@ -137,7 +137,8 @@ typedef struct ...@@ -137,7 +137,8 @@ typedef struct
guint rice_parameter_search_dist; guint rice_parameter_search_dist;
guint max_lpc_order; guint max_lpc_order;
guint blocksize; guint blocksize;
} FlacEncParams; }
FlacEncParams;
static const FlacEncParams flacenc_params[] = { static const FlacEncParams flacenc_params[] = {
{FALSE, FALSE, FALSE, FALSE, 0, FALSE, 2, 2, 0, 0, 1152}, {FALSE, FALSE, FALSE, FALSE, 0, FALSE, 2, 2, 0, 0, 1152},
...@@ -174,6 +175,7 @@ gst_flacenc_quality_get_type (void) ...@@ -174,6 +175,7 @@ gst_flacenc_quality_get_type (void)
{9, "9", "9 - Insane"}, {9, "9", "9 - Insane"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
qtype = g_enum_register_static ("FlacEncQuality", values); qtype = g_enum_register_static ("FlacEncQuality", values);
} }
return qtype; return qtype;
......
...@@ -56,7 +56,8 @@ typedef enum ...@@ -56,7 +56,8 @@ typedef enum
GST_FLAC_TAG_STATE_VC_METADATA_BLOCK, GST_FLAC_TAG_STATE_VC_METADATA_BLOCK,
GST_FLAC_TAG_STATE_ADD_VORBIS_COMMENT, GST_FLAC_TAG_STATE_ADD_VORBIS_COMMENT,
GST_FLAC_TAG_STATE_AUDIO_DATA GST_FLAC_TAG_STATE_AUDIO_DATA
} GstFlacTagState; }
GstFlacTagState;
struct _GstFlacTag struct _GstFlacTag
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment