From dc049084123180fcf0ef2506ff743ef021520083 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 20 Jun 2012 09:59:49 +0200 Subject: [PATCH] update for clock api changes --- gst/rtpmanager/gstrtpjitterbuffer.c | 2 +- tests/examples/spectrum/demo-audiotest.c | 2 +- tests/examples/spectrum/demo-osssrc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 2d7a286d4e..f57c0400da 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -1637,7 +1637,7 @@ again: GST_INFO_OBJECT (jitterbuffer, "scheduling timeout"); id = gst_clock_new_single_shot_id (clock, sync_time); gst_clock_id_wait_async (id, (GstClockCallback) eos_reached, - jitterbuffer); + jitterbuffer, NULL); } GST_OBJECT_UNLOCK (jitterbuffer); } diff --git a/tests/examples/spectrum/demo-audiotest.c b/tests/examples/spectrum/demo-audiotest.c index 1095d75ecf..f5e45b90e5 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 f8fee78bc1..9eeb6c6ffc 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); } }