From 0406a69815a0026847b2cd269453d8e2438b8f6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 11 May 2010 13:15:37 +0100 Subject: [PATCH] tests: don't fail tagschecking test if qtdemux is not available or too old --- tests/check/pipelines/tagschecking.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/check/pipelines/tagschecking.c b/tests/check/pipelines/tagschecking.c index 35f4b35..ed17c3f 100644 --- a/tests/check/pipelines/tagschecking.c +++ b/tests/check/pipelines/tagschecking.c @@ -261,6 +261,10 @@ test_tags (const gchar * tag_str, const gchar * caps, const gchar * muxer, GST_START_TEST (test_common_tags) { + if (!gst_default_registry_check_feature_version ("qtdemux", 0, 10, 23)) { + GST_INFO ("Skipping test, qtdemux either not available or too old"); + return; + } test_tags (COMMON_TAGS, H264_CAPS, "qtmux", "qtdemux"); test_tags (COMMON_TAGS, H264_CAPS, "mp4mux", "qtdemux"); test_tags (COMMON_TAGS, H264_CAPS, "gppmux", "qtdemux"); @@ -278,6 +282,10 @@ GST_END_TEST; GST_START_TEST (test_geo_location_tags) { + if (!gst_default_registry_check_feature_version ("qtdemux", 0, 10, 23)) { + GST_INFO ("Skipping test, qtdemux either not available or too old"); + return; + } test_tags (GEO_LOCATION_TAGS, H264_CAPS, "qtmux", "qtdemux"); test_tags (GEO_LOCATION_TAGS, H264_CAPS, "mp4mux", "qtdemux"); test_tags (GEO_LOCATION_TAGS, H264_CAPS, "gppmux", "qtdemux"); @@ -291,6 +299,11 @@ GST_END_TEST; GST_START_TEST (test_user_tags) { + if (!gst_default_registry_check_feature_version ("qtdemux", 0, 10, 23)) { + GST_INFO ("Skipping test, qtdemux either not available or too old"); + return; + } + test_tags (USER_TAGS, H264_CAPS, "qtmux", "qtdemux"); test_tags (USER_TAGS, H264_CAPS, "mp4mux", "qtdemux"); test_tags (USER_TAGS, H264_CAPS, "gppmux", "qtdemux"); -- 2.7.4