tests/check/elements/level.c: Fix compilation some more.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 14 Aug 2008 12:47:09 +0000 (12:47 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 14 Aug 2008 12:47:09 +0000 (12:47 +0000)
Original commit message from CVS:
* tests/check/elements/level.c: (GST_START_TEST):
Fix compilation some more.

ChangeLog
tests/check/elements/level.c

index aea8ae8..b23b8f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * tests/check/elements/level.c: (GST_START_TEST):
+       Fix compilation some more.
+
 2008-08-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
 
        * configure.ac::
index c932fd0..e330a3e 100644 (file)
@@ -200,6 +200,7 @@ GST_START_TEST (test_int16_panned)
   const GValue *list, *value;
   GstClockTime endtime;
   gdouble dB;
+  gchar *fields[3] = { "rms", "peak", "decay" };
 
   level = setup_level ();
   g_object_set (level, "message", TRUE, "interval", GST_SECOND / 10, NULL);
@@ -248,7 +249,6 @@ GST_START_TEST (test_int16_panned)
       "level");
   fail_unless (gst_structure_get_clock_time (structure, "endtime", &endtime));
 
-  gchar *fields[3] = { "rms", "peak", "decay" };
   /* silence has 0 dB for rms, peak and decay */
   for (j = 0; j < 3; ++j) {
     list = gst_structure_get_value (structure, fields[j]);