From e2cff096c88203d8b134fb8a56290d0d030d6217 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 26 Sep 2005 15:49:23 +0000 Subject: [PATCH] check/gst-libs/controller.c: Update for controller api change. Original commit message from CVS: 2005-09-26 Andy Wingo * check/gst-libs/controller.c: Update for controller api change. --- ChangeLog | 2 ++ check/gst-libs/controller.c | 8 ++++---- tests/check/libs/controller.c | 8 ++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8190c5cb15..3cbc9e2231 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-09-26 Andy Wingo + * check/gst-libs/controller.c: Update for controller api change. + * configure.ac: * tests/Makefile.am: * tests/memchunk: Remove memchunk benchmark stuff, this is taken diff --git a/check/gst-libs/controller.c b/check/gst-libs/controller.c index 066f0b71f4..affeec5344 100644 --- a/check/gst-libs/controller.c +++ b/check/gst-libs/controller.c @@ -468,11 +468,11 @@ GST_START_TEST (controller_interpolate_none) fail_unless (res, NULL); /* now pull in values for some timestamps */ - gst_controller_sink_values (ctrl, 0 * GST_SECOND); + gst_controller_sync_values (ctrl, 0 * GST_SECOND); fail_unless (GST_TEST_MONO_SOURCE (elem)->val_ulong == 0, NULL); - gst_controller_sink_values (ctrl, 1 * GST_SECOND); + gst_controller_sync_values (ctrl, 1 * GST_SECOND); fail_unless (GST_TEST_MONO_SOURCE (elem)->val_ulong == 0, NULL); - gst_controller_sink_values (ctrl, 2 * GST_SECOND); + gst_controller_sync_values (ctrl, 2 * GST_SECOND); fail_unless (GST_TEST_MONO_SOURCE (elem)->val_ulong == 100, NULL); GST_INFO ("controller->ref_count=%d", G_OBJECT (ctrl)->ref_count); @@ -491,7 +491,7 @@ GST_START_TEST (controller_helper_any_gobject) elem = gst_element_factory_make ("bin", "test_elem"); /* that element is not controllable */ - res = gst_object_sink_values (G_OBJECT (elem), 0LL); + res = gst_object_sync_values (G_OBJECT (elem), 0LL); fail_unless (res == FALSE, NULL); gst_object_unref (elem); diff --git a/tests/check/libs/controller.c b/tests/check/libs/controller.c index 066f0b71f4..affeec5344 100644 --- a/tests/check/libs/controller.c +++ b/tests/check/libs/controller.c @@ -468,11 +468,11 @@ GST_START_TEST (controller_interpolate_none) fail_unless (res, NULL); /* now pull in values for some timestamps */ - gst_controller_sink_values (ctrl, 0 * GST_SECOND); + gst_controller_sync_values (ctrl, 0 * GST_SECOND); fail_unless (GST_TEST_MONO_SOURCE (elem)->val_ulong == 0, NULL); - gst_controller_sink_values (ctrl, 1 * GST_SECOND); + gst_controller_sync_values (ctrl, 1 * GST_SECOND); fail_unless (GST_TEST_MONO_SOURCE (elem)->val_ulong == 0, NULL); - gst_controller_sink_values (ctrl, 2 * GST_SECOND); + gst_controller_sync_values (ctrl, 2 * GST_SECOND); fail_unless (GST_TEST_MONO_SOURCE (elem)->val_ulong == 100, NULL); GST_INFO ("controller->ref_count=%d", G_OBJECT (ctrl)->ref_count); @@ -491,7 +491,7 @@ GST_START_TEST (controller_helper_any_gobject) elem = gst_element_factory_make ("bin", "test_elem"); /* that element is not controllable */ - res = gst_object_sink_values (G_OBJECT (elem), 0LL); + res = gst_object_sync_values (G_OBJECT (elem), 0LL); fail_unless (res == FALSE, NULL); gst_object_unref (elem);