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:27 +00:00
parent d07ec45fa4
commit 6cc1c73d2b
124 changed files with 6006 additions and 5872 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>
* gst-libs/gst/play/play.c: (gst_play_pipeline_setup):

View file

@ -60,7 +60,8 @@ typedef struct
GstElement *bin;
GstElement *pipeline;
GstIndex *index;
} dyn_link;
}
dyn_link;
static void
dynamic_link (GstPadTemplate * templ, GstPad * newpad, gpointer data)

View file

@ -47,7 +47,8 @@ typedef struct
{
const gchar *name;
const GstFormat format;
} seek_format;
}
seek_format;
static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME},

View file

@ -28,7 +28,8 @@ typedef struct
const gchar *padname;
GstPad *target;
GstElement *bin;
} dyn_link;
}
dyn_link;
static GstElement *
gst_element_factory_make_or_warn (gchar * type, gchar * name)
@ -572,7 +573,8 @@ typedef struct
{
const gchar *name;
const GstFormat format;
} seek_format;
}
seek_format;
static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME},
@ -808,7 +810,8 @@ typedef struct
{
gchar *name;
GstElement *(*func) (const gchar * location);
} Pipeline;
}
Pipeline;
static Pipeline pipelines[] = {
{"mp3", make_mp3_pipeline},

View file

@ -91,7 +91,8 @@ typedef struct
{
const gchar *name;
const GstFormat format;
} seek_format;
}
seek_format;
static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME},

View file

@ -100,6 +100,7 @@ gst_aasink_get_type (void)
0,
(GInstanceInitFunc) gst_aasink_init,
};
aasink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAASink", &aasink_info, 0);
}

View file

@ -144,6 +144,7 @@ gst_dvdec_quality_get_type (void)
{DV_QUALITY_AC_2, "DV_QUALITY_AC_2", "AC 2 something"},
{0, NULL, NULL}
};
qtype = g_flags_register_static ("GstDVDecQualityFlags", values);
}
return qtype;
@ -211,6 +212,7 @@ gst_dvdec_get_type (void)
0,
(GInstanceInitFunc) gst_dvdec_init,
};
dvdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstDVDec", &dvdec_info, 0);
}
@ -486,6 +488,7 @@ gst_dvdec_get_src_query_types (GstPad * pad)
GST_QUERY_POSITION,
0
};
return src_query_types;
}

View file

@ -96,6 +96,7 @@ gst_esdmon_depths_get_type (void)
{16, "16", "16 Bits"},
{0, NULL, NULL},
};
if (!esdmon_depths_type) {
esdmon_depths_type =
g_enum_register_static ("GstEsdmonDepths", esdmon_depths);
@ -113,6 +114,7 @@ gst_esdmon_channels_get_type (void)
{2, "2", "Stereo"},
{0, NULL, NULL},
};
if (!esdmon_channels_type) {
esdmon_channels_type =
g_enum_register_static ("GstEsdmonChannels", esdmon_channels);
@ -142,6 +144,7 @@ gst_esdmon_get_type (void)
0,
gst_esdmon_init,
};
esdmon_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstEsdmon", &esdmon_info, 0);
}

View file

@ -104,6 +104,7 @@ gst_esdsink_get_type (void)
0,
gst_esdsink_init,
};
esdsink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstEsdsink", &esdsink_info,
0);

View file

@ -112,6 +112,7 @@ flacdec_get_type (void)
0,
(GInstanceInitFunc) gst_flacdec_init,
};
flacdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "FlacDec", &flacdec_info, 0);
}
@ -585,6 +586,7 @@ gst_flacdec_get_src_formats (GstPad * pad)
GST_FORMAT_TIME,
0,
};
return formats;
}
@ -659,6 +661,7 @@ gst_flacdec_get_src_query_types (GstPad * pad)
GST_QUERY_POSITION,
0,
};
return types;
}
@ -702,6 +705,7 @@ gst_flacdec_get_src_event_masks (GstPad * pad)
{GST_EVENT_SEEK, GST_SEEK_FLAG_ACCURATE},
{0, 0},
};
return masks;
}

View file

@ -137,7 +137,8 @@ typedef struct
guint rice_parameter_search_dist;
guint max_lpc_order;
guint blocksize;
} FlacEncParams;
}
FlacEncParams;
static const FlacEncParams flacenc_params[] = {
{FALSE, FALSE, FALSE, FALSE, 0, FALSE, 2, 2, 0, 0, 1152},
@ -174,6 +175,7 @@ gst_flacenc_quality_get_type (void)
{9, "9", "9 - Insane"},
{0, NULL, NULL}
};
qtype = g_enum_register_static ("FlacEncQuality", values);
}
return qtype;

View file

@ -56,7 +56,8 @@ typedef enum
GST_FLAC_TAG_STATE_VC_METADATA_BLOCK,
GST_FLAC_TAG_STATE_ADD_VORBIS_COMMENT,
GST_FLAC_TAG_STATE_AUDIO_DATA
} GstFlacTagState;
}
GstFlacTagState;
struct _GstFlacTag

View file

@ -41,7 +41,8 @@ typedef struct
/* our own stuff - we're much better at keeping fields small :p */
GstGdkAnimation *ani;
gboolean initialized;
} GstLoaderContext;
}
GstLoaderContext;
GST_DEBUG_CATEGORY_STATIC (gst_loader_debug);
#define GST_CAT_DEFAULT gst_loader_debug

View file

@ -184,6 +184,7 @@ gst_gdk_pixbuf_get_type (void)
0,
(GInstanceInitFunc) gst_gdk_pixbuf_init,
};
plugin_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstGdkPixbuf", &plugin_info, 0);
}

View file

@ -76,6 +76,7 @@ gst_jpegdec_get_type (void)
0,
(GInstanceInitFunc) gst_jpegdec_init,
};
jpegdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstJpegDec", &jpegdec_info,
0);

View file

@ -84,6 +84,7 @@ gst_jpegenc_get_type (void)
0,
(GInstanceInitFunc) gst_jpegenc_init,
};
jpegenc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstJpegEnc", &jpegenc_info,
0);

View file

@ -123,6 +123,7 @@ gst_mikmod_get_type (void)
0,
(GInstanceInitFunc) gst_mikmod_init,
};
mikmod_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMikmod", &mikmod_info, 0);
}

View file

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

View file

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

View file

@ -107,6 +107,7 @@ gst_dv1394src_get_type (void)
0,
(GInstanceInitFunc) gst_dv1394src_init,
};
gst_dv1394src_type =
g_type_register_static (GST_TYPE_ELEMENT, "DV1394Src",
&gst_dv1394src_info, 0);

View file

@ -110,6 +110,7 @@ gst_shout2send_protocol_get_type (void)
{SHOUT2SEND_PROTOCOL_HTTP, "4", "Http Protocol (icecast 2.x)"},
{0, NULL, NULL},
};
if (!shout2send_protocol_type) {
shout2send_protocol_type =
g_enum_register_static ("GstShout2SendProtocol", shout2send_protocol);
@ -134,6 +135,7 @@ gst_shout2send_get_type (void)
0,
(GInstanceInitFunc) gst_shout2send_init,
};
shout2send_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstShout2send",
&shout2send_info, 0);

View file

@ -77,6 +77,7 @@ gst_speexdec_get_type (void)
0,
(GInstanceInitFunc) gst_speexdec_init,
};
speexdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSpeexDec", &speexdec_info,
0);

View file

@ -77,6 +77,7 @@ gst_speexenc_get_type (void)
0,
(GInstanceInitFunc) gst_speexenc_init,
};
speexenc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSpeexEnc", &speexenc_info,
0);

View file

@ -94,6 +94,7 @@ gst_auparse_get_type (void)
0,
(GInstanceInitFunc) gst_auparse_init,
};
auparse_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAuParse", &auparse_info,
0);

View file

@ -132,6 +132,7 @@ gst_avi_decoder_get_type (void)
0,
(GInstanceInitFunc) gst_avi_decoder_init,
};
avi_decoder_type =
g_type_register_static (GST_TYPE_BIN, "GstAviDecoder",
&avi_decoder_info, 0);

View file

@ -751,7 +751,8 @@ gst_avi_demux_add_stream (GstAviDemux * avi)
gst_riff_strf_vids *vids;
gst_riff_strf_auds *auds;
gst_riff_strf_iavs *iavs;
} strf;
}
strf;
/* the stream starts with a 'strh' header */
if (!(tag = gst_riff_peek_tag (riff, NULL)))

View file

@ -163,6 +163,7 @@ gst_avimux_get_type (void)
0,
(GInstanceInitFunc) gst_avimux_init,
};
avimux_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAviMux", &avimux_info, 0);
}

View file

@ -101,6 +101,7 @@ gst_cutter_get_type (void)
sizeof (GstCutter), 0,
(GInstanceInitFunc) gst_cutter_init,
};
cutter_type = g_type_register_static (GST_TYPE_ELEMENT, "GstCutter",
&cutter_info, 0);
}

View file

@ -122,6 +122,7 @@ gst_gst_efence_get_type (void)
0,
(GInstanceInitFunc) gst_efence_init,
};
plugin_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstEFence", &plugin_info, 0);
}

View file

@ -79,6 +79,7 @@ gst_navigationtest_get_type (void)
0,
gst_navigationtest_init,
};
navigationtest_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstNavigationtest", &navigationtest_info, 0);
}

View file

@ -60,7 +60,8 @@ typedef struct _scratch
gint x;
gint dx;
gint init;
} scratch;
}
scratch;
static int dx[8] = { 1, 1, 0, -1, -1, -1, 0, 1 };
static int dy[8] = { 0, -1, -1, -1, 0, 1, 1, 1 };
@ -129,6 +130,7 @@ gst_agingtv_get_type (void)
0,
gst_agingtv_init,
};
agingtv_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstAgingTV", &agingtv_info, 0);
}

View file

@ -41,7 +41,8 @@ typedef enum _dice_dir
DICE_RIGHT = 1,
DICE_DOWN = 2,
DICE_LEFT = 3
} DiceDir;
}
DiceDir;
struct _GstDiceTV
{

View file

@ -125,6 +125,7 @@ gst_warptv_get_type (void)
0,
gst_warptv_init,
};
warptv_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstWarpTV", &warptv_info, 0);
}

View file

@ -103,6 +103,7 @@ gst_flxdec_get_type (void)
0,
(GInstanceInitFunc) gst_flxdec_init,
};
flxdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstFlxDec", &flxdec_info, 0);
}

View file

@ -134,6 +134,7 @@ gst_goom_get_type (void)
0,
(GInstanceInitFunc) gst_goom_init,
};
type = g_type_register_static (GST_TYPE_ELEMENT, "GstGOOM", &info, 0);
}
return type;

View file

@ -129,6 +129,7 @@ gst_alawdec_get_type (void)
0,
(GInstanceInitFunc) gst_alawdec_init,
};
alawdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstALawDec", &alawdec_info,
0);

View file

@ -171,6 +171,7 @@ gst_alawenc_get_type (void)
0,
(GInstanceInitFunc) gst_alawenc_init,
};
alawenc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstALawEnc", &alawenc_info,
0);

View file

@ -106,6 +106,7 @@ gst_mulawdec_get_type (void)
0,
(GInstanceInitFunc) gst_mulawdec_init,
};
mulawdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMuLawDec", &mulawdec_info,
0);

View file

@ -104,6 +104,7 @@ gst_mulawenc_get_type (void)
0,
(GInstanceInitFunc) gst_mulawenc_init,
};
mulawenc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMuLawEnc", &mulawenc_info,
0);

View file

@ -98,6 +98,7 @@ gst_level_get_type (void)
sizeof (GstLevel), 0,
(GInstanceInitFunc) gst_level_init
};
level_type = g_type_register_static (GST_TYPE_ELEMENT, "GstLevel",
&level_info, 0);
}

View file

@ -2551,7 +2551,8 @@ gst_matroska_demux_plugin_init (GstPlugin * plugin)
/* TODO: Real/Quicktime */
/* FILLME */
NULL,
}, *audio_id[] = {
}, *audio_id[] =
{
GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L1,
GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L2,
GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L3,
@ -2564,9 +2565,11 @@ gst_matroska_demux_plugin_init (GstPlugin * plugin)
GST_MATROSKA_CODEC_ID_AUDIO_MPEG2, GST_MATROSKA_CODEC_ID_AUDIO_MPEG4,
/* TODO: AC3-9/10, Real, Musepack, Quicktime */
/* FILLME */
NULL,}, *complex_id[] = {
NULL,}
, *complex_id[] = {
/* FILLME */
NULL,}, *subtitle_id[] = {
NULL,}
, *subtitle_id[] = {
/* FILLME */
NULL,};

View file

@ -98,6 +98,7 @@ gst_median_get_type (void)
0,
(GInstanceInitFunc) gst_median_init,
};
median_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMedian", &median_info, 0);
}

View file

@ -68,13 +68,16 @@ typedef union stack_entry_s
{
const double *left, *right;
double *out;
} v;
}
v;
struct
{
double *main, *null;
} b;
}
b;
} stack_entry;
}
stack_entry;
#define STACK_SIZE (CONVOLVE_DEPTH * 3)

View file

@ -126,6 +126,7 @@ gst_monoscope_get_type (void)
0,
(GInstanceInitFunc) gst_monoscope_init,
};
type = g_type_register_static (GST_TYPE_ELEMENT, "GstMonoscope", &info, 0);
}
return type;

View file

@ -173,6 +173,7 @@ gst_qtdemux_get_type (void)
NULL, NULL, sizeof (GstQTDemux), 0,
(GInstanceInitFunc) gst_qtdemux_init,
};
qtdemux_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstQTDemux", &qtdemux_info,
0);

View file

@ -80,6 +80,7 @@ gst_smoothwave_get_type (void)
0,
(GInstanceInitFunc) gst_smoothwave_init,
};
smoothwave_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSmoothWave",
&smoothwave_info, 0);

View file

@ -140,6 +140,7 @@ gst_smpte_get_type (void)
0,
(GInstanceInitFunc) gst_smpte_init,
};
smpte_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSMPTE", &smpte_info, 0);
}

View file

@ -82,6 +82,7 @@ gst_spectrum_get_type (void)
0,
(GInstanceInitFunc) gst_spectrum_init,
};
spectrum_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSpectrum", &spectrum_info,
0);

View file

@ -63,6 +63,7 @@ gst_udpsink_control_get_type (void)
{CONTROL_TCP, "3", "tcp"},
{CONTROL_ZERO, NULL, NULL},
};
if (!udpsink_control_type) {
udpsink_control_type =
g_enum_register_static ("GstUDPSinkControl", udpsink_control);
@ -107,6 +108,7 @@ gst_udpsink_get_type (void)
(GInstanceInitFunc) gst_udpsink_init,
NULL
};
udpsink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstUDPSink", &udpsink_info,
0);

View file

@ -62,6 +62,7 @@ gst_udpsrc_control_get_type (void)
{CONTROL_TCP, "3", "tcp"},
{CONTROL_ZERO, NULL, NULL},
};
if (!udpsrc_control_type) {
udpsrc_control_type =
g_enum_register_static ("GstUDPSrcControl", udpsrc_control);
@ -104,6 +105,7 @@ gst_udpsrc_get_type (void)
(GInstanceInitFunc) gst_udpsrc_init,
NULL
};
udpsrc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstUDPSrc", &udpsrc_info, 0);
}

View file

@ -135,6 +135,7 @@ gst_video_crop_get_type (void)
0,
(GInstanceInitFunc) gst_video_crop_init,
};
video_crop_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstVideoCrop",
&video_crop_info, 0);

View file

@ -119,6 +119,7 @@ gst_gamma_get_type (void)
0,
gst_gamma_init,
};
gamma_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstGamma", &gamma_info, 0);
}

View file

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

View file

@ -77,6 +77,7 @@ gst_videoflip_method_get_type (void)
"Flip across upper right/lower left diagonal"},
{0, NULL, NULL},
};
if (!videoflip_method_type) {
videoflip_method_type = g_enum_register_static ("GstVideoflipMethod",
videoflip_methods);
@ -101,6 +102,7 @@ gst_videoflip_get_type (void)
0,
gst_videoflip_init,
};
videoflip_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstVideoflip", &videoflip_info, 0);
}

View file

@ -103,6 +103,7 @@ gst_videotemplate_get_type (void)
0,
gst_videotemplate_init,
};
videotemplate_type = g_type_register_static (GST_TYPE_VIDEOFILTER,
"GstVideotemplate", &videotemplate_info, 0);
}

View file

@ -82,6 +82,7 @@ gst_videoflip_method_get_type (void)
"Flip across upper right/lower left diagonal"},
{0, NULL, NULL},
};
if (!videoflip_method_type) {
videoflip_method_type = g_enum_register_static ("GstVideoflipMethod",
videoflip_methods);
@ -131,6 +132,7 @@ gst_videoflip_get_type (void)
0,
(GInstanceInitFunc) gst_videoflip_init,
};
videoflip_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstVideoflip",
&videoflip_info, 0);

View file

@ -303,23 +303,39 @@ struct _maps
{
guint32 id;
char *name;
} maps[] = {
}
maps[] =
{
GST_RIFF_INFO_IARL, "Location"}, {
GST_RIFF_INFO_IART, "Artist"}, {
GST_RIFF_INFO_ICMS, "Commissioner"}, {
GST_RIFF_INFO_ICMT, "Comment"}, {
GST_RIFF_INFO_ICOP, "Copyright"}, {
GST_RIFF_INFO_ICRD, "Creation Date"}, {
GST_RIFF_INFO_IENG, "Engineer"}, {
GST_RIFF_INFO_IGNR, "Genre"}, {
GST_RIFF_INFO_IKEY, "Keywords"}, {
GST_RIFF_INFO_INAM, "Title"}, /* Name */
{
GST_RIFF_INFO_IPRD, "Product"}, {
GST_RIFF_INFO_ISBJ, "Subject"}, {
GST_RIFF_INFO_ISFT, "Software"}, {
GST_RIFF_INFO_ITCH, "Technician"}, {
GST_RIFF_INFO_IARL, "Location"}
, {
GST_RIFF_INFO_IART, "Artist"}
, {
GST_RIFF_INFO_ICMS, "Commissioner"}
, {
GST_RIFF_INFO_ICMT, "Comment"}
, {
GST_RIFF_INFO_ICOP, "Copyright"}
, {
GST_RIFF_INFO_ICRD, "Creation Date"}
, {
GST_RIFF_INFO_IENG, "Engineer"}
, {
GST_RIFF_INFO_IGNR, "Genre"}
, {
GST_RIFF_INFO_IKEY, "Keywords"}
, {
GST_RIFF_INFO_INAM, "Title"}
, /* Name */
{
GST_RIFF_INFO_IPRD, "Product"}
, {
GST_RIFF_INFO_ISBJ, "Subject"}
, {
GST_RIFF_INFO_ISFT, "Software"}
, {
GST_RIFF_INFO_ITCH, "Technician"}
, {
0, NULL}
};

View file

@ -116,6 +116,7 @@ gst_wavparse_get_type (void)
0,
(GInstanceInitFunc) gst_wavparse_init,
};
wavparse_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstWavParse", &wavparse_info,
0);
@ -901,6 +902,7 @@ gst_wavparse_get_formats (GstPad * pad)
0,
0
};
return formats;
}
@ -997,6 +999,7 @@ gst_wavparse_get_query_types (GstPad * pad)
GST_QUERY_POSITION,
0
};
return types;
}
@ -1036,6 +1039,7 @@ gst_wavparse_get_event_masks (GstPad * pad)
{GST_EVENT_SEEK, GST_SEEK_METHOD_SET | GST_SEEK_FLAG_FLUSH},
{0,}
};
return gst_wavparse_src_event_masks;
}

View file

@ -74,37 +74,64 @@ fill_labels (void)
struct
{
gchar *given, *wanted;
} cases[] = {
}
cases[] =
{
/* Note: this list is simply ripped from soundcard.h. For
* some people, some values might be missing (3D surround,
* etc.) - feel free to add them. That's the reason why
* I'm doing this in such a horribly complicated way. */
{
"Vol ", _("Volume")}, {
"Bass ", _("Bass")}, {
"Trebl", _("Treble")}, {
"Synth", _("Synth")}, {
"Pcm ", _("PCM")}, {
"Spkr ", _("Speaker")}, {
"Line ", _("Line-in")}, {
"Mic ", _("Microphone")}, {
"CD ", _("CD")}, {
"Mix ", _("Mixer")}, {
"Pcm2 ", _("PCM-2")}, {
"Rec ", _("Record")}, {
"IGain", _("In-gain")}, {
"OGain", _("Out-gain")}, {
"Line1", _("Line-1")}, {
"Line2", _("Line-2")}, {
"Line3", _("Line-3")}, {
"Digital1", _("Digital-1")}, {
"Digital2", _("Digital-2")}, {
"Digital3", _("Digital-3")}, {
"PhoneIn", _("Phone-in")}, {
"PhoneOut", _("Phone-out")}, {
"Video", _("Video")}, {
"Radio", _("Radio")}, {
"Monitor", _("Monitor")}, {
"Vol ", _("Volume")}
, {
"Bass ", _("Bass")}
, {
"Trebl", _("Treble")}
, {
"Synth", _("Synth")}
, {
"Pcm ", _("PCM")}
, {
"Spkr ", _("Speaker")}
, {
"Line ", _("Line-in")}
, {
"Mic ", _("Microphone")}
, {
"CD ", _("CD")}
, {
"Mix ", _("Mixer")}
, {
"Pcm2 ", _("PCM-2")}
, {
"Rec ", _("Record")}
, {
"IGain", _("In-gain")}
, {
"OGain", _("Out-gain")}
, {
"Line1", _("Line-1")}
, {
"Line2", _("Line-2")}
, {
"Line3", _("Line-3")}
, {
"Digital1", _("Digital-1")}
, {
"Digital2", _("Digital-2")}
, {
"Digital3", _("Digital-3")}
, {
"PhoneIn", _("Phone-in")}
, {
"PhoneOut", _("Phone-out")}
, {
"Video", _("Video")}
, {
"Radio", _("Radio")}
, {
"Monitor", _("Monitor")}
, {
NULL, NULL}
};

View file

@ -119,6 +119,7 @@ gst_osssink_get_type (void)
0,
(GInstanceInitFunc) gst_osssink_init,
};
osssink_type =
g_type_register_static (GST_TYPE_OSSELEMENT, "GstOssSink",
&osssink_info, 0);
@ -486,6 +487,7 @@ gst_osssink_get_formats (GstPad * pad)
GST_FORMAT_BYTES,
0
};
return formats;
}
@ -509,6 +511,7 @@ gst_osssink_get_query_types (GstPad * pad)
GST_QUERY_POSITION,
0,
};
return query_types;
}

View file

@ -121,6 +121,7 @@ gst_osssrc_get_type (void)
0,
(GInstanceInitFunc) gst_osssrc_init,
};
osssrc_type =
g_type_register_static (GST_TYPE_OSSELEMENT, "GstOssSrc", &osssrc_info,
0);
@ -439,6 +440,7 @@ gst_osssrc_get_formats (GstPad * pad)
GST_FORMAT_BYTES,
0
};
return formats;
}
@ -462,6 +464,7 @@ gst_osssrc_get_event_masks (GstPad * pad)
{GST_EVENT_SIZE, 0},
{0,}
};
return gst_osssrc_src_event_masks;
}
@ -516,6 +519,7 @@ gst_osssrc_get_query_types (GstPad * pad)
GST_QUERY_POSITION,
0,
};
return query_types;
}

View file

@ -150,6 +150,7 @@ gst_v4l2src_get_type (void)
gst_v4l2src_init,
NULL
};
v4l2src_type = g_type_register_static (GST_TYPE_V4L2ELEMENT,
"GstV4l2Src", &v4l2src_info, 0);
GST_DEBUG_CATEGORY_INIT (v4l2src_debug, "v4l2src", 0, "v4l2src element");