diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2016-07-26 17:01:55 +0100 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2016-07-26 18:09:39 +0100 |
commit | c94c0ad834265feaf077a1ac4d4162f7e5c48eef (patch) | |
tree | 1bdca733a790e1e477fd7eae4706614e66f7510e /tests | |
parent | efa5b219e65ab3614270630eaf1163b3dc6f2dad (diff) |
tests: fix simple-launch-lines when jpeg lib isn't present
JPEG detection in configure.ac defines HAVE_JPEG to 0 if the
jpeg lib isn't found, rather then not defining it.
https://bugzilla.gnome.org/show_bug.cgi?id=769197
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/pipelines/simple-launch-lines.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/check/pipelines/simple-launch-lines.c b/tests/check/pipelines/simple-launch-lines.c index 5cfc98c70a..f03fc94b56 100644 --- a/tests/check/pipelines/simple-launch-lines.c +++ b/tests/check/pipelines/simple-launch-lines.c @@ -188,6 +188,8 @@ GST_START_TEST (test_glfilterapp) } GST_END_TEST +#ifdef HAVE_PNG +#if HAVE_JPEG GST_START_TEST (test_gloverlay) { const gchar *s; @@ -207,6 +209,8 @@ GST_START_TEST (test_gloverlay) } GST_END_TEST +#endif +#endif #if GST_GL_HAVE_OPENGL #define N_SRCS 13 GST_START_TEST (test_gltestsrc) @@ -333,7 +337,7 @@ simple_launch_lines_suite (void) tcase_add_test (tc_chain, test_glshader); tcase_add_test (tc_chain, test_glfilterapp); #ifdef HAVE_PNG -#ifdef HAVE_JPEG +#if HAVE_JPEG tcase_add_test (tc_chain, test_gloverlay); #endif #endif @@ -346,7 +350,7 @@ simple_launch_lines_suite (void) #ifdef HAVE_PNG tcase_add_test (tc_chain, test_gldifferencematte); /* tcase_add_test (tc_chain, test_glbumper);*/ -#ifdef HAVE_JPEG +#if HAVE_JPEG #endif /* HAVE_JPEG */ #endif /* HAVE_PNG */ #endif /* GST_GL_HAVE_OPENGL */ |