don't mix tabs and spaces

Original commit message from CVS:
don't mix tabs and spaces
This commit is contained in:
Thomas Vander Stichele 2004-03-15 19:32:28 +00:00
parent 8392245d80
commit f83cb187de
126 changed files with 5083 additions and 5019 deletions

View file

@ -1,3 +1,7 @@
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):

View file

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

View file

@ -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},

View file

@ -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
{ {
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
{ {
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},

View file

@ -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},

View file

@ -57,6 +57,7 @@ gst_alsa_clock_get_type (void)
(GInstanceInitFunc) gst_alsa_clock_init, (GInstanceInitFunc) gst_alsa_clock_init,
NULL NULL
}; };
clock_type = g_type_register_static (GST_TYPE_CLOCK, "GstAlsaClock", clock_type = g_type_register_static (GST_TYPE_CLOCK, "GstAlsaClock",
&clock_info, 0); &clock_info, 0);
} }

View file

@ -1030,6 +1030,7 @@ cdparanoia_get_query_types (GstPad * pad)
GST_QUERY_SEGMENT_END, GST_QUERY_SEGMENT_END,
0 0
}; };
return src_query_types; return src_query_types;
} }

View file

@ -56,7 +56,8 @@ typedef enum
GST_GNOMEVFSSINK_OPEN = GST_ELEMENT_FLAG_LAST, GST_GNOMEVFSSINK_OPEN = GST_ELEMENT_FLAG_LAST,
GST_GNOMEVFSSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, GST_GNOMEVFSSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
} GstGnomeVFSSinkFlags; }
GstGnomeVFSSinkFlags;
struct _GstGnomeVFSSink struct _GstGnomeVFSSink
{ {
@ -144,6 +145,7 @@ gst_gnomevfssink_get_type (void)
0, 0,
(GInstanceInitFunc) gst_gnomevfssink_init, (GInstanceInitFunc) gst_gnomevfssink_init,
}; };
gnomevfssink_type = gnomevfssink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstGnomeVFSSink", g_type_register_static (GST_TYPE_ELEMENT, "GstGnomeVFSSink",
&gnomevfssink_info, 0); &gnomevfssink_info, 0);

View file

@ -73,7 +73,8 @@ typedef enum
GST_GNOMEVFSSRC_OPEN = GST_ELEMENT_FLAG_LAST, GST_GNOMEVFSSRC_OPEN = GST_ELEMENT_FLAG_LAST,
GST_GNOMEVFSSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, GST_GNOMEVFSSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
} GstGnomeVFSSrcFlags; }
GstGnomeVFSSrcFlags;
typedef struct _GstGnomeVFSSrc GstGnomeVFSSrc; typedef struct _GstGnomeVFSSrc GstGnomeVFSSrc;
typedef struct _GstGnomeVFSSrcClass GstGnomeVFSSrcClass; typedef struct _GstGnomeVFSSrcClass GstGnomeVFSSrcClass;
@ -142,6 +143,7 @@ gst_gnomevfssrc_get_formats (GstPad * pad)
GST_FORMAT_BYTES, GST_FORMAT_BYTES,
0, 0,
}; };
return formats; return formats;
} }
@ -153,6 +155,7 @@ gst_gnomevfssrc_get_query_types (GstPad * pad)
GST_QUERY_POSITION, GST_QUERY_POSITION,
0, 0,
}; };
return types; return types;
} }
@ -166,6 +169,7 @@ gst_gnomevfssrc_get_event_mask (GstPad * pad)
{GST_EVENT_SIZE, 0}, {GST_EVENT_SIZE, 0},
{0, 0}, {0, 0},
}; };
return masks; return masks;
} }
@ -235,6 +239,7 @@ gst_gnomevfssrc_get_type (void)
0, 0,
(GInstanceInitFunc) gst_gnomevfssrc_init, (GInstanceInitFunc) gst_gnomevfssrc_init,
}; };
gnomevfssrc_type = gnomevfssrc_type =
g_type_register_static (GST_TYPE_ELEMENT, g_type_register_static (GST_TYPE_ELEMENT,
"GstGnomeVFSSrc", &gnomevfssrc_info, 0); "GstGnomeVFSSrc", &gnomevfssrc_info, 0);

View file

@ -52,7 +52,8 @@ typedef enum
GST_OGG_STATE_SEEK, GST_OGG_STATE_SEEK,
/* normal playback */ /* normal playback */
GST_OGG_STATE_PLAY GST_OGG_STATE_PLAY
} GstOggState; }
GstOggState;
/* all information needed for one ogg stream */ /* all information needed for one ogg stream */
typedef struct typedef struct
@ -69,7 +70,8 @@ typedef struct
glong pages; /* number of pages in stream or 0 */ glong pages; /* number of pages in stream or 0 */
guint flags; guint flags;
} GstOggPad; }
GstOggPad;
typedef enum typedef enum
{ {
@ -82,7 +84,8 @@ GstOggPadFlags;
typedef struct typedef struct
{ {
GSList *pads; /* list of GstOggPad */ GSList *pads; /* list of GstOggPad */
} GstOggChain; }
GstOggChain;
#define CURRENT_CHAIN(ogg) (&g_array_index ((ogg)->chains, GstOggChain, (ogg)->current_chain)) #define CURRENT_CHAIN(ogg) (&g_array_index ((ogg)->chains, GstOggChain, (ogg)->current_chain))
#define FOR_PAD_IN_CURRENT_CHAIN(ogg, _pad, ...) G_STMT_START{ \ #define FOR_PAD_IN_CURRENT_CHAIN(ogg, _pad, ...) G_STMT_START{ \
@ -98,7 +101,8 @@ typedef enum
GST_OGG_FLAG_BOS = GST_ELEMENT_FLAG_LAST, GST_OGG_FLAG_BOS = GST_ELEMENT_FLAG_LAST,
GST_OGG_FLAG_EOS, GST_OGG_FLAG_EOS,
GST_OGG_FLAG_WAIT_FOR_DISCONT GST_OGG_FLAG_WAIT_FOR_DISCONT
} GstOggFlag; }
GstOggFlag;
struct _GstOggDemux struct _GstOggDemux
{ {
@ -250,6 +254,7 @@ gst_ogg_demux_get_event_masks (GstPad * pad)
{GST_EVENT_SEEK, GST_SEEK_METHOD_SET | GST_SEEK_FLAG_FLUSH}, {GST_EVENT_SEEK, GST_SEEK_METHOD_SET | GST_SEEK_FLAG_FLUSH},
{0,} {0,}
}; };
return gst_ogg_demux_src_event_masks; return gst_ogg_demux_src_event_masks;
} }
static const GstQueryType * static const GstQueryType *
@ -260,6 +265,7 @@ gst_ogg_demux_get_query_types (GstPad * pad)
GST_QUERY_POSITION, GST_QUERY_POSITION,
0 0
}; };
return gst_ogg_demux_src_query_types; return gst_ogg_demux_src_query_types;
} }
@ -897,7 +903,8 @@ typedef struct
ogg_packet *packet; ogg_packet *packet;
guint best_probability; guint best_probability;
GstCaps *caps; GstCaps *caps;
} OggTypeFind; }
OggTypeFind;
static guint8 * static guint8 *
ogg_find_peek (gpointer data, gint64 offset, guint size) ogg_find_peek (gpointer data, gint64 offset, guint size)
{ {

View file

@ -88,6 +88,7 @@ gst_textoverlay_get_type (void)
0, 0,
(GInstanceInitFunc) gst_textoverlay_init, (GInstanceInitFunc) gst_textoverlay_init,
}; };
textoverlay_type = textoverlay_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstTextOverlay", g_type_register_static (GST_TYPE_ELEMENT, "GstTextOverlay",
&textoverlay_info, 0); &textoverlay_info, 0);

View file

@ -87,6 +87,7 @@ gst_timeoverlay_get_type (void)
0, 0,
gst_timeoverlay_init, gst_timeoverlay_init,
}; };
timeoverlay_type = g_type_register_static (GST_TYPE_VIDEOFILTER, timeoverlay_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstTimeoverlay", &timeoverlay_info, 0); "GstTimeoverlay", &timeoverlay_info, 0);
} }

View file

@ -114,6 +114,7 @@ vorbis_dec_get_formats (GstPad * pad)
GST_FORMAT_TIME, GST_FORMAT_TIME,
0 0
}; };
return (GST_PAD_IS_SRC (pad) ? src_formats : sink_formats); return (GST_PAD_IS_SRC (pad) ? src_formats : sink_formats);
} }

View file

@ -350,6 +350,7 @@ gst_vorbisenc_get_query_types (GstPad * pad)
GST_QUERY_POSITION, GST_QUERY_POSITION,
0 0
}; };
return gst_vorbisenc_src_query_types; return gst_vorbisenc_src_query_types;
} }

View file

@ -57,6 +57,7 @@ gst_audio_clock_get_type (void)
(GInstanceInitFunc) gst_audio_clock_init, (GInstanceInitFunc) gst_audio_clock_init,
NULL NULL
}; };
clock_type = g_type_register_static (GST_TYPE_SYSTEM_CLOCK, "GstAudioClock", clock_type = g_type_register_static (GST_TYPE_SYSTEM_CLOCK, "GstAudioClock",
&clock_info, 0); &clock_info, 0);
} }

View file

@ -73,6 +73,7 @@ gst_audiofilter_get_type (void)
0, 0,
gst_audiofilter_init, gst_audiofilter_init,
}; };
audiofilter_type = g_type_register_static (GST_TYPE_ELEMENT, audiofilter_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstAudiofilter", &audiofilter_info, G_TYPE_FLAG_ABSTRACT); "GstAudiofilter", &audiofilter_info, G_TYPE_FLAG_ABSTRACT);
} }

View file

@ -107,6 +107,7 @@ gst_audiofilter_template_get_type (void)
0, 0,
NULL, NULL,
}; };
audiofilter_template_type = g_type_register_static (GST_TYPE_AUDIOFILTER, audiofilter_template_type = g_type_register_static (GST_TYPE_AUDIOFILTER,
"GstAudiofilterTemplate", &audiofilter_template_info, 0); "GstAudiofilterTemplate", &audiofilter_template_info, 0);
} }

View file

@ -686,3 +686,5 @@ gst_idct_mmx32_idct (short *blk)
emms (); /* restore processor state */ emms (); /* restore processor state */
/* all done */ /* all done */
} }

View file

@ -151,7 +151,8 @@ typedef struct
{ {
guint meta; guint meta;
guint encoded; guint encoded;
} TagFlagScore; }
TagFlagScore;
static void static void
tag_flag_score (const GstTagList * list, const gchar * tag, gpointer user_data) tag_flag_score (const GstTagList * list, const gchar * tag, gpointer user_data)

View file

@ -113,6 +113,7 @@ gst_media_info_get_type (void)
(GInstanceInitFunc) gst_media_info_instance_init, (GInstanceInitFunc) gst_media_info_instance_init,
NULL NULL
}; };
gst_media_info_type = g_type_register_static (G_TYPE_OBJECT, gst_media_info_type = g_type_register_static (G_TYPE_OBJECT,
"GstMediaInfo", &gst_media_info_info, 0); "GstMediaInfo", &gst_media_info_info, 0);
} }

View file

@ -108,7 +108,8 @@ static union
{ {
int i[4]; int i[4];
float f[4]; float f[4];
} av_tmp __attribute__ ((__aligned__ (16))); }
av_tmp __attribute__ ((__aligned__ (16)));
void void
conv_double_short_altivec (double *dest, short *src, int n) conv_double_short_altivec (double *dest, short *src, int n)

View file

@ -777,7 +777,8 @@ gst_riff_read_info (GstRiffRead * riff)
if (name && name[0] != '\0') { if (name && name[0] != '\0') {
GValue src = { 0 } GValue src = { 0 }
, dest = { , dest =
{
0}; 0};
GType dest_type = gst_tag_get_type (type); GType dest_type = gst_tag_get_type (type);

View file

@ -74,6 +74,7 @@ gst_videofilter_get_type (void)
0, 0,
gst_videofilter_init, gst_videofilter_init,
}; };
videofilter_type = g_type_register_static (GST_TYPE_ELEMENT, videofilter_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstVideofilter", &videofilter_info, G_TYPE_FLAG_ABSTRACT); "GstVideofilter", &videofilter_info, G_TYPE_FLAG_ABSTRACT);
} }

View file

@ -97,6 +97,7 @@ gst_adder_get_type (void)
sizeof (GstAdder), 0, sizeof (GstAdder), 0,
(GInstanceInitFunc) gst_adder_init, (GInstanceInitFunc) gst_adder_init,
}; };
adder_type = g_type_register_static (GST_TYPE_ELEMENT, "GstAdder", adder_type = g_type_register_static (GST_TYPE_ELEMENT, "GstAdder",
&adder_info, 0); &adder_info, 0);
} }

View file

@ -77,6 +77,7 @@ gst_audioscale_method_get_type (void)
{GST_RESAMPLE_SINC, "2", "Sinc"}, {GST_RESAMPLE_SINC, "2", "Sinc"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
if (!audioscale_method_type) { if (!audioscale_method_type) {
audioscale_method_type = g_enum_register_static ("GstAudioscaleMethod", audioscale_method_type = g_enum_register_static ("GstAudioscaleMethod",
audioscale_methods); audioscale_methods);
@ -116,6 +117,7 @@ audioscale_get_type (void)
0, 0,
(GInstanceInitFunc) gst_audioscale_init, (GInstanceInitFunc) gst_audioscale_init,
}; };
audioscale_type = audioscale_type =
g_type_register_static (GST_TYPE_ELEMENT, "Audioscale", g_type_register_static (GST_TYPE_ELEMENT, "Audioscale",
&audioscale_info, 0); &audioscale_info, 0);

View file

@ -109,6 +109,7 @@ gst_sinesrc_get_type (void)
sizeof (GstSineSrc), 0, sizeof (GstSineSrc), 0,
(GInstanceInitFunc) gst_sinesrc_init, (GInstanceInitFunc) gst_sinesrc_init,
}; };
sinesrc_type = g_type_register_static (GST_TYPE_ELEMENT, "GstSineSrc", sinesrc_type = g_type_register_static (GST_TYPE_ELEMENT, "GstSineSrc",
&sinesrc_info, 0); &sinesrc_info, 0);
} }

View file

@ -415,7 +415,8 @@ typedef struct
guint count; guint count;
guint data_count; guint data_count;
GList *entries; GList *entries;
} MyForEach; }
MyForEach;
GList * GList *
gst_tag_to_vorbis_comments (const GstTagList * list, const gchar * tag) gst_tag_to_vorbis_comments (const GstTagList * list, const gchar * tag)

View file

@ -60,6 +60,7 @@ gst_tcpsink_control_get_type (void)
{CONTROL_TCP, "2", "tcp"}, {CONTROL_TCP, "2", "tcp"},
{CONTROL_ZERO, NULL, NULL} {CONTROL_ZERO, NULL, NULL}
}; };
if (!tcpsink_control_type) { if (!tcpsink_control_type) {
tcpsink_control_type = tcpsink_control_type =
g_enum_register_static ("GstTCPSinkControl", tcpsink_control); g_enum_register_static ("GstTCPSinkControl", tcpsink_control);
@ -105,6 +106,7 @@ gst_tcpsink_get_type (void)
(GInstanceInitFunc) gst_tcpsink_init, (GInstanceInitFunc) gst_tcpsink_init,
NULL NULL
}; };
tcpsink_type = tcpsink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstTCPSink", &tcpsink_info, g_type_register_static (GST_TYPE_ELEMENT, "GstTCPSink", &tcpsink_info,
0); 0);

View file

@ -60,6 +60,7 @@ gst_tcpsrc_control_get_type (void)
{CONTROL_TCP, "2", "tcp"}, {CONTROL_TCP, "2", "tcp"},
{CONTROL_ZERO, NULL, NULL} {CONTROL_ZERO, NULL, NULL}
}; };
if (!tcpsrc_control_type) { if (!tcpsrc_control_type) {
tcpsrc_control_type = tcpsrc_control_type =
g_enum_register_static ("GstTCPSrcControl", tcpsrc_control); g_enum_register_static ("GstTCPSrcControl", tcpsrc_control);
@ -103,6 +104,7 @@ gst_tcpsrc_get_type (void)
(GInstanceInitFunc) gst_tcpsrc_init, (GInstanceInitFunc) gst_tcpsrc_init,
NULL NULL
}; };
tcpsrc_type = tcpsrc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstTCPSrc", &tcpsrc_info, 0); g_type_register_static (GST_TYPE_ELEMENT, "GstTCPSrc", &tcpsrc_info, 0);
} }

View file

@ -1178,7 +1178,8 @@ typedef struct
guint size; guint size;
guint probability; guint probability;
GstCaps *caps; GstCaps *caps;
} GstTypeFindData; }
GstTypeFindData;
static void static void
start_with_type_find (GstTypeFind * tf, gpointer private) start_with_type_find (GstTypeFind * tf, gpointer private)
{ {

View file

@ -61,6 +61,7 @@ gst_videoscale_method_get_type (void)
{GST_VIDEOSCALE_BICUBIC, "3", "Bicubic"}, {GST_VIDEOSCALE_BICUBIC, "3", "Bicubic"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
if (!videoscale_method_type) { if (!videoscale_method_type) {
videoscale_method_type = videoscale_method_type =
g_enum_register_static ("GstVideoscaleMethod", videoscale_methods); g_enum_register_static ("GstVideoscaleMethod", videoscale_methods);
@ -132,6 +133,7 @@ gst_videoscale_get_type (void)
0, 0,
(GInstanceInitFunc) gst_videoscale_init, (GInstanceInitFunc) gst_videoscale_init,
}; };
videoscale_type = videoscale_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstVideoscale", g_type_register_static (GST_TYPE_ELEMENT, "GstVideoscale",
&videoscale_info, 0); &videoscale_info, 0);

View file

@ -92,6 +92,7 @@ gst_v4lmjpegsink_get_type (void)
0, 0,
(GInstanceInitFunc) gst_v4lmjpegsink_init, (GInstanceInitFunc) gst_v4lmjpegsink_init,
}; };
v4lmjpegsink_type = v4lmjpegsink_type =
g_type_register_static (GST_TYPE_V4LELEMENT, "GstV4lMjpegSink", g_type_register_static (GST_TYPE_V4LELEMENT, "GstV4lMjpegSink",
&v4lmjpegsink_info, 0); &v4lmjpegsink_info, 0);

View file

@ -121,6 +121,7 @@ gst_v4lmjpegsrc_get_type (void)
(GInstanceInitFunc) gst_v4lmjpegsrc_init, (GInstanceInitFunc) gst_v4lmjpegsrc_init,
NULL NULL
}; };
v4lmjpegsrc_type = v4lmjpegsrc_type =
g_type_register_static (GST_TYPE_V4LELEMENT, "GstV4lMjpegSrc", g_type_register_static (GST_TYPE_V4LELEMENT, "GstV4lMjpegSrc",
&v4lmjpegsrc_info, 0); &v4lmjpegsrc_info, 0);

View file

@ -115,6 +115,7 @@ gst_v4lsrc_get_type (void)
(GInstanceInitFunc) gst_v4lsrc_init, (GInstanceInitFunc) gst_v4lsrc_init,
NULL NULL
}; };
v4lsrc_type = v4lsrc_type =
g_type_register_static (GST_TYPE_V4LELEMENT, "GstV4lSrc", &v4lsrc_info, g_type_register_static (GST_TYPE_V4LELEMENT, "GstV4lSrc", &v4lsrc_info,
0); 0);

View file

@ -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
{ {
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
{ {
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},

View file

@ -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},

View file

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

View file

@ -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},

View file

@ -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},

View file

@ -62,6 +62,7 @@ sinesrc_get_type (void)
sizeof (SineSrc), 0, sizeof (SineSrc), 0,
(GInstanceInitFunc) sinesrc_init, (GInstanceInitFunc) sinesrc_init,
}; };
sinesrc_type = g_type_register_static (GST_TYPE_ELEMENT, "SineSrc", sinesrc_type = g_type_register_static (GST_TYPE_ELEMENT, "SineSrc",
&sinesrc_info, 0); &sinesrc_info, 0);
} }

View file

@ -62,6 +62,7 @@ sinesrc_get_type (void)
sizeof (SineSrc), 0, sizeof (SineSrc), 0,
(GInstanceInitFunc) sinesrc_init, (GInstanceInitFunc) sinesrc_init,
}; };
sinesrc_type = g_type_register_static (GST_TYPE_ELEMENT, "SineSrc", sinesrc_type = g_type_register_static (GST_TYPE_ELEMENT, "SineSrc",
&sinesrc_info, 0); &sinesrc_info, 0);
} }