[Gstreamer-openmax] [PATCH 3/3] update tests to use config file
Rob Clark
rob at ti.com
Wed Mar 3 05:57:07 PST 2010
---
tests/Makefile.am | 3 ++-
tests/check_gstomx.c | 2 --
tests/gst-openmax.conf | 6 ++++++
3 files changed, 8 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 366396c..ba1c111 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..d8c574f
--- /dev/null
+++ b/tests/gst-openmax.conf
@@ -0,0 +1,6 @@
+omx_dummy,
+ type=GstOmxDummy,
+ library-name=libomxil-foo.so,
+ component-name=OMX.bellagio.dummy,
+ rank=0;
+
--
1.6.3.2
More information about the Gstreamer-openmax
mailing list