summaryrefslogtreecommitdiffstats
path: root/tests/icles
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-06-12 20:15:29 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-06-12 20:15:29 +0000
commitbbcc24410daed9b6cbbe0efac8d28c4ff4f7da0f (patch)
tree9fe7951f6f0cf989cfad6d5e0eb660d2042d60c2 /tests/icles
parent98ef159bd144b4c50e5c5bad59abc4c180ff1e79 (diff)
Move videocrop and osxvideo from -bad.
Original commit message from CVS: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/inspect/plugin-videocrop.xml: * gst-plugins-good.spec.in: * sys/Makefile.am: * tests/check/Makefile.am: * tests/icles/Makefile.am: * tests/icles/videocrop-test.c: Move videocrop and osxvideo from -bad.
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)