mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
tests/check/elements/level.c: Fix compilation some more.
Original commit message from CVS: * tests/check/elements/level.c: (GST_START_TEST): Fix compilation some more.
This commit is contained in:
parent
13de1e039b
commit
cc3f301d40
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2008-08-14 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
* configure.ac::
|
* configure.ac::
|
||||||
|
|
|
@ -200,6 +200,7 @@ GST_START_TEST (test_int16_panned)
|
||||||
const GValue *list, *value;
|
const GValue *list, *value;
|
||||||
GstClockTime endtime;
|
GstClockTime endtime;
|
||||||
gdouble dB;
|
gdouble dB;
|
||||||
|
gchar *fields[3] = { "rms", "peak", "decay" };
|
||||||
|
|
||||||
level = setup_level ();
|
level = setup_level ();
|
||||||
g_object_set (level, "message", TRUE, "interval", GST_SECOND / 10, NULL);
|
g_object_set (level, "message", TRUE, "interval", GST_SECOND / 10, NULL);
|
||||||
|
@ -248,7 +249,6 @@ GST_START_TEST (test_int16_panned)
|
||||||
"level");
|
"level");
|
||||||
fail_unless (gst_structure_get_clock_time (structure, "endtime", &endtime));
|
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 */
|
/* silence has 0 dB for rms, peak and decay */
|
||||||
for (j = 0; j < 3; ++j) {
|
for (j = 0; j < 3; ++j) {
|
||||||
list = gst_structure_get_value (structure, fields[j]);
|
list = gst_structure_get_value (structure, fields[j]);
|
||||||
|
|
Loading…
Reference in a new issue