summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-01-25 18:13:35 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-01-25 18:13:35 +0100
commit461aa6dd107c84b0f04ee18bddc6c86269f7eceb (patch)
tree19d41b6c6f9ffc3c32679c4e43ee31115515e917
parent73353feed2bb1f6b25fc2c218f81112e47843e27 (diff)
tests: don't use deprecated API
-rw-r--r--tests/check/gnl/gnlcomposition.c3
-rw-r--r--tests/check/gnl/gnloperation.c3
-rw-r--r--tests/check/gnl/seek.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/check/gnl/gnlcomposition.c b/tests/check/gnl/gnlcomposition.c
index 6fcc68a..186d94f 100644
--- a/tests/check/gnl/gnlcomposition.c
+++ b/tests/check/gnl/gnlcomposition.c
@@ -405,7 +405,8 @@ gnonlin_suite (void)
tcase_add_test (tc_chain, test_change_object_start_stop_in_current_stack);
tcase_add_test (tc_chain, test_remove_invalid_object);
- if (gst_default_registry_check_feature_version ("videomixer", 0, 11, 0)) {
+ if (gst_registry_check_feature_version (gst_registry_get (), "videomixer", 0,
+ 11, 0)) {
tcase_add_test (tc_chain, test_no_more_pads_race);
} else {
GST_WARNING ("videomixer element not available, skipping 1 test");
diff --git a/tests/check/gnl/gnloperation.c b/tests/check/gnl/gnloperation.c
index 2ebdf84..a91360c 100644
--- a/tests/check/gnl/gnloperation.c
+++ b/tests/check/gnl/gnloperation.c
@@ -689,7 +689,8 @@ gnonlin_suite (void)
tcase_add_test (tc_chain, test_pyramid_operations);
tcase_add_test (tc_chain, test_pyramid_operations2);
tcase_add_test (tc_chain, test_pyramid_operations_expandable);
- if (gst_default_registry_check_feature_version ("videomixer", 0, 11, 0)) {
+ if (gst_registry_check_feature_version (gst_registry_get (), "videomixer", 0,
+ 11, 0)) {
tcase_add_test (tc_chain, test_complex_operations);
tcase_add_test (tc_chain, test_complex_operations_bis);
} else
diff --git a/tests/check/gnl/seek.c b/tests/check/gnl/seek.c
index be5c96c..30e8270 100644
--- a/tests/check/gnl/seek.c
+++ b/tests/check/gnl/seek.c
@@ -727,7 +727,8 @@ gnonlin_suite (void)
tcase_add_test (tc_chain, test_one_after_other);
tcase_add_test (tc_chain, test_one_under_another);
tcase_add_test (tc_chain, test_one_bin_after_other);
- if (gst_default_registry_check_feature_version ("videomixer", 0, 11, 0)) {
+ if (gst_registry_check_feature_version (gst_registry_get (), "videomixer", 0,
+ 11, 0)) {
tcase_add_test (tc_chain, test_complex_operations);
tcase_add_test (tc_chain, test_complex_operations_bis);
} else