From 925a4fe6a4e9813f7ebac00c9cf10f89d9bf5cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 10 Sep 2017 16:32:31 +0100 Subject: [PATCH] tests: playbin-complex: skip test that needs oggdemux if it's not available https://bugzilla.gnome.org/show_bug.cgi?id=773145 --- tests/check/elements/playbin-complex.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/check/elements/playbin-complex.c b/tests/check/elements/playbin-complex.c index ebe5bbdaf2..a59a098bd2 100644 --- a/tests/check/elements/playbin-complex.c +++ b/tests/check/elements/playbin-complex.c @@ -2759,8 +2759,11 @@ playbin_complex_suite (void) test_raw_compressed_video_stream_demuxer_manual_sink); tcase_add_test (tc_chain, test_raw_raw_audio_stream_adder_manual_sink); - tcase_add_test (tc_chain, test_autoplug_decoder_sink_combination); + if (gst_registry_check_feature_version (gst_registry_get (), + "oggdemux", GST_VERSION_MAJOR, GST_VERSION_MINOR, 0)) { + tcase_add_test (tc_chain, test_autoplug_decoder_sink_combination); + } /* These tests need something like the stream-activate event * and are racy otherwise */ #if 0