summaryrefslogtreecommitdiff
path: root/tests/examples
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-06-20 09:59:49 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-06-20 10:01:57 +0200
commitdc049084123180fcf0ef2506ff743ef021520083 (patch)
tree166c35ed56c0ddb87a4b58115a42d00aaa5e4d53 /tests/examples
parentd2c6cc3a3959f7c1b594988a913ef452134a396c (diff)
update for clock api changes
Diffstat (limited to 'tests/examples')
-rw-r--r--tests/examples/spectrum/demo-audiotest.c2
-rw-r--r--tests/examples/spectrum/demo-osssrc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/examples/spectrum/demo-audiotest.c b/tests/examples/spectrum/demo-audiotest.c
index 1095d75ec..f5e45b90e 100644
--- a/tests/examples/spectrum/demo-audiotest.c
+++ b/tests/examples/spectrum/demo-audiotest.c
@@ -192,7 +192,7 @@ message_handler (GstBus * bus, GstMessage * message, gpointer data)
clock_id =
gst_clock_new_single_shot_id (sync_clock, waittime + basetime);
gst_clock_id_wait_async (clock_id, delayed_spectrum_update,
- (gpointer) spect);
+ (gpointer) spect, NULL);
gst_clock_id_unref (clock_id);
}
}
diff --git a/tests/examples/spectrum/demo-osssrc.c b/tests/examples/spectrum/demo-osssrc.c
index f8fee78bc..9eeb6c6ff 100644
--- a/tests/examples/spectrum/demo-osssrc.c
+++ b/tests/examples/spectrum/demo-osssrc.c
@@ -145,7 +145,7 @@ message_handler (GstBus * bus, GstMessage * message, gpointer data)
clock_id =
gst_clock_new_single_shot_id (sync_clock, waittime + basetime);
gst_clock_id_wait_async (clock_id, delayed_spectrum_update,
- (gpointer) spect);
+ (gpointer) spect, NULL);
gst_clock_id_unref (clock_id);
}
}