[Gstreamer-openmax] [PATCH v3 3/3] tests: update to use config file
Felipe Contreras
felipe.contreras at nokia.com
Wed Mar 3 14:43:16 PST 2010
From: Rob Clark <rob at ti.com>
Signed-off-by: Felipe Contreras <felipe.contreras at nokia.com>
---
tests/Makefile.am | 3 ++-
tests/check_gstomx.c | 2 --
tests/gst-openmax.conf | 5 +++++
3 files changed, 7 insertions(+), 3 deletions(-)
create mode 100644 tests/gst-openmax.conf
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 41057c6..f43098a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -8,7 +8,8 @@ CHECK_REGISTRY = $(top_builddir)/tests/test-registry.reg
TESTS_ENVIRONMENT = GST_REGISTRY=$(CHECK_REGISTRY) \
LD_LIBRARY_PATH=$(builddir)/standalone \
- GST_PLUGIN_PATH=$(top_builddir)/omx
+ GST_PLUGIN_PATH=$(top_builddir)/omx \
+ OMX_REGISTRY=gst-openmax.conf
check_PROGRAMS =
diff --git a/tests/check_gstomx.c b/tests/check_gstomx.c
index aea8cc9..5db576f 100644
--- a/tests/check_gstomx.c
+++ b/tests/check_gstomx.c
@@ -114,8 +114,6 @@ helper (gboolean flush)
eos_cond = g_cond_new ();
eos_arrived = FALSE;
- g_object_set (G_OBJECT (filter), "library-name", "libomxil-foo.so", NULL);
-
/* start */
fail_unless_equals_int (gst_element_set_state (filter, GST_STATE_PLAYING),
diff --git a/tests/gst-openmax.conf b/tests/gst-openmax.conf
new file mode 100644
index 0000000..f7b3140
--- /dev/null
+++ b/tests/gst-openmax.conf
@@ -0,0 +1,5 @@
+omx_dummy,
+ type=GstOmxDummy,
+ library-name=libomxil-foo.so,
+ component-name=OMX.bellagio.dummy,
+ rank=0;
--
1.7.0.1
More information about the Gstreamer-openmax
mailing list