2008-01-21 Jan Schmidt <Jan.Schmidt@sun.com>
+ * tests/check/Makefile.am:
+ Fix up some CFLAGS sets.
+ Don't include gconfvideosrc in the states test.
+
+ * tests/check/elements/autodetect.c: (GST_START_TEST):
+ Add some error strings to fail_unless arguments to fix some weird
+ compiler errors on Solaris.
+
+2008-01-21 Jan Schmidt <Jan.Schmidt@sun.com>
+
* configure.ac:
Detect video4linux headers on Solaris too.
* sys/v4l2/gstv4l2colorbalance.h:
GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/sys:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
GST_TEST_FILES_PATH=$(TEST_FILES_DIRECTORY) \
- STATE_IGNORE_ELEMENTS="aasink autovideosink cacasink cairotextoverlay"
+ STATE_IGNORE_ELEMENTS="aasink autovideosink cacasink cairotextoverlay gconfvideosrc"
# ths core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.*
$(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \
$(CFLAGS) $(AM_CFLAGS)
-elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
-elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
+elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
+elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
-elements_alphacolor_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
+elements_alphacolor_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
elements_sunaudio_CFLAGS = \
- $(GST_PLUGINS_BASE_CFLAGS) \
+ $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) \
$(AM_CFLAGS)
elements_sunaudio_LDADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-@GST_MAJORMINOR@ \
$(LDADD)
elements_videocrop_LDADD = $(LDADD) $(GST_BASE_LIBS)
-elements_videocrop_CFLAGS = $(CFLAGS) $(AM_CFLAGS) $(GST_BASE_CFLAGS)
+elements_videocrop_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
gst_bin_add_many (GST_BIN (pipeline), src, filter, sink, NULL);
- fail_unless (gst_element_link (src, filter));
- fail_unless (gst_element_link (filter, sink));
+ fail_unless (gst_element_link (src, filter), "Failed to link src to filter");
+ fail_unless (gst_element_link (filter, sink),
+ "Failed to link filter to sink");
/* this should fail, there's no such format */
state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED);
* deadlock or block anywhere when autovideosink resets the ghostpad
* targets etc. */
state_ret = gst_element_set_state (pipeline, GST_STATE_NULL);
- fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS);
+ fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS,
+ "State change on pipeline failed");
/* clean up */
gst_object_unref (pipeline);