From 1754e12623954b3c6c50bfbe2063769863abca06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 11 Jul 2012 14:27:46 +0100 Subject: [PATCH] tests: fix build of pitch-test Does not sound like the same test in 0.10 though.. --- tests/icles/pitch-test.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/icles/pitch-test.c b/tests/icles/pitch-test.c index dc793d8..98456ae 100644 --- a/tests/icles/pitch-test.c +++ b/tests/icles/pitch-test.c @@ -25,6 +25,9 @@ #include #include #include +#include +#include +#include int main (int argc, char **argv) @@ -71,8 +74,8 @@ main (int argc, char **argv) cs = gst_interpolation_control_source_new (); g_object_set (cs, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL); - gst_object_add_control_binding (pitch, - gst_direct_control_binding_new (pitch, "pitch", cs)); + gst_object_add_control_binding (GST_OBJECT (pitch), + gst_direct_control_binding_new (GST_OBJECT (pitch), "pitch", cs)); tvcs = (GstTimedValueControlSource *) cs; for (i = 0; i < 100; ++i) { -- 2.7.4