Commit 7df5ab1b authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

configure.ac: figure out where plugins-base plugins are

Original commit message from CVS:

* configure.ac:
figure out where plugins-base plugins are
* tests/check/Makefile.am:
use plugins-base plugins, so we have typefind functions
* tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags):
increase num-buffers, this makes sure the test errors out instead
of timing out when no typefind functions are present
parent baf4e3eb
2006-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
figure out where plugins-base plugins are
* tests/check/Makefile.am:
use plugins-base plugins, so we have typefind functions
* tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags):
increase num-buffers, this makes sure the test errors out instead
of timing out when no typefind functions are present
2006-05-01 Thomas Vander Stichele <thomas at apestaart dot org> 2006-05-01 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/plugins/Makefile.am: * docs/plugins/Makefile.am:
......
...@@ -242,6 +242,10 @@ if test -z $GST_TOOLS_DIR; then ...@@ -242,6 +242,10 @@ if test -z $GST_TOOLS_DIR; then
fi fi
AC_SUBST(GST_TOOLS_DIR) AC_SUBST(GST_TOOLS_DIR)
GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir`
AC_SUBST(GSTPB_PLUGINS_DIR)
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
dnl FIXME: get rid of this by making sure gstreamer-check brings it in dnl FIXME: get rid of this by making sure gstreamer-check brings it in
dnl check for "check", unit testing library/header dnl check for "check", unit testing library/header
AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no) AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
......
...@@ -8,7 +8,7 @@ REGISTRY_ENVIRONMENT = \ ...@@ -8,7 +8,7 @@ REGISTRY_ENVIRONMENT = \
TESTS_ENVIRONMENT = \ TESTS_ENVIRONMENT = \
$(REGISTRY_ENVIRONMENT) \ $(REGISTRY_ENVIRONMENT) \
GST_PLUGIN_SYSTEM_PATH= \ GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(GST_PLUGINS_DIR) GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
# ths core dumps of some machines have PIDs appended # ths core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.xml CLEANFILES = core.* test-registry.xml
...@@ -27,12 +27,13 @@ check_PROGRAMS = \ ...@@ -27,12 +27,13 @@ check_PROGRAMS = \
elements/matroskamux \ elements/matroskamux \
elements/cmmldec \ elements/cmmldec \
elements/cmmlenc \ elements/cmmlenc \
elements/icydemux elements/icydemux \
$(check_taglib)
TESTS = $(check_PROGRAMS) TESTS = $(check_PROGRAMS)
# these tests don't even pass # these tests don't even pass
noinst_PROGRAMS = $(check_taglib) noinst_PROGRAMS =
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
......
...@@ -294,7 +294,7 @@ test_taglib_id3mux_with_tags (GstTagList * tags, guint32 mask) ...@@ -294,7 +294,7 @@ test_taglib_id3mux_with_tags (GstTagList * tags, guint32 mask)
/* set up source */ /* set up source */
g_object_set (fakesrc, "signal-handoffs", TRUE, "can-activate-pull", FALSE, g_object_set (fakesrc, "signal-handoffs", TRUE, "can-activate-pull", FALSE,
"filltype", 2, "sizetype", 2, "sizemax", MP3_FRAME_SIZE, "filltype", 2, "sizetype", 2, "sizemax", MP3_FRAME_SIZE,
"num-buffers", 16, NULL); "num-buffers", 256, NULL);
offset = 0; offset = 0;
g_signal_connect (fakesrc, "handoff", G_CALLBACK (fill_mp3_buffer), &offset); g_signal_connect (fakesrc, "handoff", G_CALLBACK (fill_mp3_buffer), &offset);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment