summaryrefslogtreecommitdiffstats
path: root/gst/spectrum/gstspectrum.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2002-04-06 14:51:03 +0000
committerBenjamin Otte <otte@gnome.org>2002-04-06 14:51:03 +0000
commit2cb859e0c95773cd78473f3d9b279985f64074ea (patch)
tree86b52d961199d4b6eea2466fb9e076eff1c13aea /gst/spectrum/gstspectrum.c
parentb73bb27c605120701619f3fa75acd82d31dec684 (diff)
downloadgst-plugins-bad-2cb859e0c95773cd78473f3d9b279985f64074ea.tar.gz
gst-plugins-bad-2cb859e0c95773cd78473f3d9b279985f64074ea.tar.bz2
gst-plugins-bad-2cb859e0c95773cd78473f3d9b279985f64074ea.zip
fixed rest of warning for gcc 3 in /gst.
Original commit message from CVS: fixed rest of warning for gcc 3 in /gst. fixed some Makefiles: s/-m486/-mcpu=i486/ disabled mpegaudioparse plugin. What good is this rotten code for anyway?
Diffstat (limited to 'gst/spectrum/gstspectrum.c')
-rw-r--r--gst/spectrum/gstspectrum.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c
index f025c28a..f8461a5c 100644
--- a/gst/spectrum/gstspectrum.c
+++ b/gst/spectrum/gstspectrum.c
@@ -30,15 +30,6 @@ static GstElementDetails gst_spectrum_details = {
"(C) 1999",
};
-
-static GstTypeDefinition spectrumdefinition = {
- "spectrum_spectrum_raw",
- "spectrum/raw",
- NULL,
- NULL,
-};
-
-
/* Spectrum signals and args */
enum {
/* FILL ME */
@@ -141,7 +132,7 @@ gst_spectrum_chain (GstPad *pad, GstBuffer *buf)
gint spec_base, spec_len;
gint16 *re, *im, *loud;
gint16 *samples;
- gint samplecount,step,pos,i;
+ gint step,pos,i;
guchar *spect;
GstBuffer *newbuf;