summaryrefslogtreecommitdiffstats
path: root/tests/check/elements
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-08 02:48:54 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-08 02:48:54 +0000
commit4de96f3a8e58fa385f72bbf7c88941e4e4942692 (patch)
treed40abb48312e7b00c16651c420e2efd773c440ea /tests/check/elements
parentd6e3e6d9c0fe39534930c647755c4219eb39f39f (diff)
downloadgst-plugins-bad-4de96f3a8e58fa385f72bbf7c88941e4e4942692.tar.gz
gst-plugins-bad-4de96f3a8e58fa385f72bbf7c88941e4e4942692.tar.bz2
gst-plugins-bad-4de96f3a8e58fa385f72bbf7c88941e4e4942692.zip
docs/plugins/gst-plugins-bad-plugins.*: Remove equalizer plugin docs
Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins.args: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/gst-plugins-bad-plugins.interfaces: Remove equalizer plugin docs * tests/check/Makefile.am: Add GST_OPTION_CFLAGS, to get -Werror -Wall into the tests as for other modules. * tests/check/elements/multifile.c: * tests/check/elements/rganalysis.c: * tests/check/elements/rglimiter.c: Fix compiler warnings from -Wall -Werror
Diffstat (limited to 'tests/check/elements')
-rw-r--r--tests/check/elements/multifile.c5
-rw-r--r--tests/check/elements/rganalysis.c20
-rw-r--r--tests/check/elements/rglimiter.c1
3 files changed, 14 insertions, 12 deletions
diff --git a/tests/check/elements/multifile.c b/tests/check/elements/multifile.c
index 4b5a28f9..26ba0af1 100644
--- a/tests/check/elements/multifile.c
+++ b/tests/check/elements/multifile.c
@@ -18,6 +18,11 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <glib/gstdio.h>
#include <gst/check/gstcheck.h>
static void
diff --git a/tests/check/elements/rganalysis.c b/tests/check/elements/rganalysis.c
index c5168fd2..96ea6dad 100644
--- a/tests/check/elements/rganalysis.c
+++ b/tests/check/elements/rganalysis.c
@@ -94,15 +94,15 @@ struct rate_test
};
static const struct rate_test supported_rates[] = {
- 8000, -0.91,
- 11025, -2.80,
- 12000, -3.13,
- 16000, -4.26,
- 22050, -5.64,
- 24000, -5.87,
- 32000, -6.03,
- 44100, -6.20,
- 48000, -6.14
+ {8000, -0.91},
+ {11025, -2.80},
+ {12000, -3.13},
+ {16000, -4.26},
+ {22050, -5.64},
+ {24000, -5.87},
+ {32000, -6.03},
+ {44100, -6.20},
+ {48000, -6.14}
};
/* Lookup the correct gain adjustment result in above array. */
@@ -1057,7 +1057,6 @@ GST_START_TEST (test_peak_track_album)
{
GstElement *element = setup_rganalysis ();
GstTagList *tag_list;
- guint num;
set_playing_state (element);
@@ -1091,7 +1090,6 @@ GST_START_TEST (test_peak_album_abort_to_track)
{
GstElement *element = setup_rganalysis ();
GstTagList *tag_list;
- guint num;
g_object_set (element, "num-tracks", 2, NULL);
set_playing_state (element);
diff --git a/tests/check/elements/rglimiter.c b/tests/check/elements/rglimiter.c
index 2b7cc741..33b478d0 100644
--- a/tests/check/elements/rglimiter.c
+++ b/tests/check/elements/rglimiter.c
@@ -53,7 +53,6 @@ GstElement *
setup_rglimiter ()
{
GstElement *element;
- GstBus *bus;
GST_DEBUG ("setup_rglimiter");
element = gst_check_setup_element ("rglimiter");