summaryrefslogtreecommitdiffstats
path: root/tests/icles
diff options
context:
space:
mode:
Diffstat (limited to 'tests/icles')
-rw-r--r--tests/icles/Makefile.am7
-rw-r--r--tests/icles/videocrop-test.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am
index dd415ef8..9f5ddc9d 100644
--- a/tests/icles/Makefile.am
+++ b/tests/icles/Makefile.am
@@ -21,5 +21,10 @@ else
X_TESTS =
endif
-noinst_PROGRAMS = $(V4L2_TESTS) $(X_TESTS)
+videocrop_test_SOURCES = videocrop-test.c
+videocrop_test_CFLAGS = $(GST_CFLAGS)
+videocrop_test_LDADD = $(GST_LIBS)
+videocrop_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+
+noinst_PROGRAMS = $(V4L2_TESTS) $(X_TESTS) videocrop-test
diff --git a/tests/icles/videocrop-test.c b/tests/icles/videocrop-test.c
index 1c7ae4ba..da84f25c 100644
--- a/tests/icles/videocrop-test.c
+++ b/tests/icles/videocrop-test.c
@@ -34,7 +34,9 @@ GST_DEBUG_CATEGORY_STATIC (videocrop_test_debug);
#define TIME_PER_TEST 10 /* seconds each format is tested */
#define FRAMERATE 15 /* frames per second */
+#ifndef DEFAULT_VIDEOSINK
#define DEFAULT_VIDEOSINK "xvimagesink"
+#endif
static gboolean
check_bus_for_errors (GstBus * bus, GstClockTime max_wait_time)