mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...
Original commit message from CVS: * tests/check/pipelines/streamheader.c: (buffer_probe_cb), (test_multifdsink_gdp_vorbisenc), (streamheader_suite): Do not try to run a test which requires vorbisenc unless we have actually built it.
This commit is contained in:
parent
ba89323790
commit
4822aa7c7b
1 changed files with 4 additions and 1 deletions
|
@ -107,6 +107,7 @@ GST_START_TEST (test_multifdsink_gdp_tag)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
#ifdef HAVE_VORBIS
|
||||||
/* this tests gdp-serialized Vorbis header pages being sent only once
|
/* this tests gdp-serialized Vorbis header pages being sent only once
|
||||||
* to clients of multifdsink; the gdp depayloader should deserialize
|
* to clients of multifdsink; the gdp depayloader should deserialize
|
||||||
* exactly three in_caps buffers for the three header packets */
|
* exactly three in_caps buffers for the three header packets */
|
||||||
|
@ -204,7 +205,7 @@ GST_START_TEST (test_multifdsink_gdp_vorbisenc)
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
#endif /* HAVE_VORBIS */
|
||||||
|
|
||||||
#endif /* #ifndef GST_DISABLE_PARSE */
|
#endif /* #ifndef GST_DISABLE_PARSE */
|
||||||
|
|
||||||
|
@ -217,12 +218,14 @@ streamheader_suite (void)
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
#ifndef GST_DISABLE_PARSE
|
#ifndef GST_DISABLE_PARSE
|
||||||
tcase_add_test (tc_chain, test_multifdsink_gdp_tag);
|
tcase_add_test (tc_chain, test_multifdsink_gdp_tag);
|
||||||
|
#ifdef HAVE_VORBIS
|
||||||
#ifdef HAVE_CPU_PPC64
|
#ifdef HAVE_CPU_PPC64
|
||||||
g_print ("\n\n***** skipping test test_multifdsink_gdp_vorbisenc. May fail "
|
g_print ("\n\n***** skipping test test_multifdsink_gdp_vorbisenc. May fail "
|
||||||
"on PPC64 due to compiler bug. See bug #348114 for details\n\n\n");
|
"on PPC64 due to compiler bug. See bug #348114 for details\n\n\n");
|
||||||
if (0) /* this avoids the 'function not used' warning */
|
if (0) /* this avoids the 'function not used' warning */
|
||||||
#endif
|
#endif
|
||||||
tcase_add_test (tc_chain, test_multifdsink_gdp_vorbisenc);
|
tcase_add_test (tc_chain, test_multifdsink_gdp_vorbisenc);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
|
|
Loading…
Reference in a new issue