update for clock api changes

This commit is contained in:
Wim Taymans 2012-06-20 09:59:49 +02:00
parent d2c6cc3a39
commit dc04908412
3 changed files with 3 additions and 3 deletions

View file

@ -1637,7 +1637,7 @@ again:
GST_INFO_OBJECT (jitterbuffer, "scheduling timeout"); GST_INFO_OBJECT (jitterbuffer, "scheduling timeout");
id = gst_clock_new_single_shot_id (clock, sync_time); id = gst_clock_new_single_shot_id (clock, sync_time);
gst_clock_id_wait_async (id, (GstClockCallback) eos_reached, gst_clock_id_wait_async (id, (GstClockCallback) eos_reached,
jitterbuffer); jitterbuffer, NULL);
} }
GST_OBJECT_UNLOCK (jitterbuffer); GST_OBJECT_UNLOCK (jitterbuffer);
} }

View file

@ -192,7 +192,7 @@ message_handler (GstBus * bus, GstMessage * message, gpointer data)
clock_id = clock_id =
gst_clock_new_single_shot_id (sync_clock, waittime + basetime); gst_clock_new_single_shot_id (sync_clock, waittime + basetime);
gst_clock_id_wait_async (clock_id, delayed_spectrum_update, gst_clock_id_wait_async (clock_id, delayed_spectrum_update,
(gpointer) spect); (gpointer) spect, NULL);
gst_clock_id_unref (clock_id); gst_clock_id_unref (clock_id);
} }
} }

View file

@ -145,7 +145,7 @@ message_handler (GstBus * bus, GstMessage * message, gpointer data)
clock_id = clock_id =
gst_clock_new_single_shot_id (sync_clock, waittime + basetime); gst_clock_new_single_shot_id (sync_clock, waittime + basetime);
gst_clock_id_wait_async (clock_id, delayed_spectrum_update, gst_clock_id_wait_async (clock_id, delayed_spectrum_update,
(gpointer) spect); (gpointer) spect, NULL);
gst_clock_id_unref (clock_id); gst_clock_id_unref (clock_id);
} }
} }