2005-09-01 20:23:22 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
2007-09-20 13:35:34 +00:00
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
|
2007-03-06 23:19:30 +00:00
|
|
|
TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
|
2005-09-01 20:23:22 +00:00
|
|
|
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
|
|
$(REGISTRY_ENVIRONMENT) \
|
2005-09-24 13:34:46 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
2007-03-01 18:14:42 +00:00
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/sys:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
|
2008-12-09 14:30:03 +00:00
|
|
|
STATE_IGNORE_ELEMENTS="aasink autoaudiosrc autoaudiosink autovideosrc autovideosink cacasink cairotextoverlay gconfaudiosrc gconfvideosrc gconfaudiosink gconfvideosink halaudiosrc halaudiosink v4l2src osssrc osssink pulsesink pulsesrc pulsemixer"
|
2005-09-01 20:23:22 +00:00
|
|
|
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
2007-09-20 13:35:34 +00:00
|
|
|
CLEANFILES = core.* test-registry.*
|
2005-09-01 20:23:22 +00:00
|
|
|
|
|
|
|
clean-local: clean-local-check
|
|
|
|
|
2006-08-16 12:02:48 +00:00
|
|
|
if USE_ANNODEX
|
|
|
|
check_annodex = \
|
|
|
|
elements/cmmldec \
|
|
|
|
elements/cmmlenc
|
|
|
|
else
|
|
|
|
check_annodex =
|
|
|
|
endif
|
|
|
|
|
2008-04-03 22:59:44 +00:00
|
|
|
if USE_GDK_PIXBUF
|
|
|
|
check_gdkpixbuf = elements/gdkpixbufsink
|
|
|
|
else
|
|
|
|
check_gdkpixbuf =
|
|
|
|
endif
|
|
|
|
|
2008-04-12 23:30:54 +00:00
|
|
|
if USE_SOUP
|
|
|
|
check_soup = elements/souphttpsrc
|
|
|
|
else
|
|
|
|
check_soup =
|
|
|
|
endif
|
|
|
|
|
2007-03-09 19:44:30 +00:00
|
|
|
if USE_SUNAUDIO
|
|
|
|
check_sunaudio = elements/sunaudio
|
|
|
|
else
|
|
|
|
check_sunaudio =
|
|
|
|
endif
|
|
|
|
|
2006-05-01 11:46:33 +00:00
|
|
|
if USE_TAGLIB
|
2006-05-30 14:35:18 +00:00
|
|
|
check_taglib = \
|
|
|
|
elements/id3v2mux \
|
|
|
|
elements/apev2mux
|
2006-05-01 11:46:33 +00:00
|
|
|
else
|
|
|
|
check_taglib =
|
|
|
|
endif
|
2005-09-01 20:23:22 +00:00
|
|
|
|
2007-06-08 20:19:55 +00:00
|
|
|
if USE_WAVPACK
|
|
|
|
check_wavpack = \
|
|
|
|
elements/wavpackparse \
|
|
|
|
elements/wavpackdec \
|
2008-04-03 20:05:31 +00:00
|
|
|
elements/wavpackenc \
|
|
|
|
pipelines/wavpack
|
2007-06-08 20:19:55 +00:00
|
|
|
else
|
|
|
|
check_wavpack =
|
|
|
|
endif
|
|
|
|
|
2005-09-01 20:23:22 +00:00
|
|
|
check_PROGRAMS = \
|
2007-02-28 12:59:43 +00:00
|
|
|
generic/states \
|
2006-08-16 12:02:48 +00:00
|
|
|
$(check_annodex) \
|
gst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always ...
Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps):
Double-check that RGB input caps are really RGBA caps (apparently
the core doesn't always catch it if those caps aren't a subset of
our template caps, also see #421543). Fixes #429319 in a way.
Also, don't leak the pad template in the transform_caps function.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/alphacolor.c: (setup_alphacolor),
(cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32),
(create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4),
(GST_START_TEST), (alphacolor_suite):
Add some basic unit tests for alphacolor.
2007-04-25 15:31:53 +00:00
|
|
|
elements/alphacolor \
|
2009-01-24 13:48:00 +00:00
|
|
|
elements/aspectratiocrop \
|
|
|
|
elements/audioamplify \
|
2008-02-06 23:44:43 +00:00
|
|
|
elements/audiochebband \
|
|
|
|
elements/audiocheblimit \
|
gst/audiofx/: Add new audiodynamic element which can act as a compressor or expander. Supported are hard-knee and sof...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiodynamic.c:
(gst_audio_dynamic_characteristics_get_type),
(gst_audio_dynamic_mode_get_type),
(gst_audio_dynamic_set_process_function),
(gst_audio_dynamic_base_init), (gst_audio_dynamic_class_init),
(gst_audio_dynamic_init), (gst_audio_dynamic_set_property),
(gst_audio_dynamic_get_property), (gst_audio_dynamic_setup),
(gst_audio_dynamic_transform_hard_knee_compressor_int),
(gst_audio_dynamic_transform_hard_knee_compressor_float),
(gst_audio_dynamic_transform_soft_knee_compressor_int),
(gst_audio_dynamic_transform_soft_knee_compressor_float),
(gst_audio_dynamic_transform_hard_knee_expander_int),
(gst_audio_dynamic_transform_hard_knee_expander_float),
(gst_audio_dynamic_transform_soft_knee_expander_int),
(gst_audio_dynamic_transform_soft_knee_expander_float),
(gst_audio_dynamic_transform_ip):
* gst/audiofx/audiodynamic.h:
* gst/audiofx/audiofx.c: (plugin_init):
Add new audiodynamic element which can act as a compressor or
expander. Supported are hard-knee and soft-knee operation modes with
user-specified ratio and threshold.
Attack and release parameters are not yet implemented but will follow.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
Integrate audiodynamic into the docs.
* tests/check/Makefile.am:
* tests/check/elements/audiodynamic.c: (setup_dynamic),
(cleanup_dynamic), (GST_START_TEST), (dynamic_suite), (main):
Add unit test for audiodynamic.
2007-03-08 10:02:12 +00:00
|
|
|
elements/audiodynamic \
|
2009-01-24 13:48:00 +00:00
|
|
|
elements/audioecho \
|
|
|
|
elements/audiofirfilter \
|
|
|
|
elements/audioiirfilter \
|
|
|
|
elements/audioinvert \
|
|
|
|
elements/audiopanorama \
|
2008-02-07 21:57:54 +00:00
|
|
|
elements/audiowsincband \
|
|
|
|
elements/audiowsinclimit \
|
gst/avi/: Port AVI muxer to GStreamer-0.10 (#332031).
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/avi/Makefile.am:
* gst/avi/gstavi.c: (plugin_init):
* gst/avi/gstavimux.c: (gst_avi_mux_get_type),
(gst_avi_mux_base_init), (gst_avi_mux_finalize),
(gst_avi_mux_class_init), (gst_avi_mux_init),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps),
(gst_avi_mux_pad_link), (gst_avi_mux_pad_unlink),
(gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad),
(gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header),
(gst_avi_mux_riff_get_avix_header),
(gst_avi_mux_riff_get_video_header),
(gst_avi_mux_riff_get_audio_header), (gst_avi_mux_add_index),
(gst_avi_mux_write_index), (gst_avi_mux_bigfile),
(gst_avi_mux_start_file), (gst_avi_mux_stop_file),
(gst_avi_mux_restart_file), (gst_avi_mux_handle_event),
(gst_avi_mux_fill_queue), (gst_avi_mux_send_pad_data),
(gst_avi_mux_strip_buffer), (gst_avi_mux_do_audio_buffer),
(gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer),
(gst_avi_mux_loop), (gst_avi_mux_collect_pads),
(gst_avi_mux_get_property), (gst_avi_mux_set_property),
(gst_avi_mux_change_state):
* gst/avi/gstavimux.h:
Port AVI muxer to GStreamer-0.10 (#332031).
* tests/check/Makefile.am:
* tests/check/elements/avimux.c:
* tests/check/elements/.cvsignore:
Add unit test for AVI muxer.
2006-04-27 14:51:06 +00:00
|
|
|
elements/avimux \
|
2007-12-18 09:13:12 +00:00
|
|
|
elements/avisubtitle \
|
2008-07-19 01:01:13 +00:00
|
|
|
elements/deinterleave \
|
2008-02-08 02:49:20 +00:00
|
|
|
elements/equalizer \
|
2008-01-29 15:45:48 +00:00
|
|
|
elements/icydemux \
|
2007-03-06 23:19:30 +00:00
|
|
|
elements/id3demux \
|
2008-07-19 01:01:13 +00:00
|
|
|
elements/interleave \
|
2005-11-01 14:36:02 +00:00
|
|
|
elements/level \
|
2006-02-24 23:31:08 +00:00
|
|
|
elements/matroskamux \
|
2008-02-08 04:25:32 +00:00
|
|
|
elements/multifile \
|
2008-07-19 01:01:13 +00:00
|
|
|
elements/rganalysis \
|
|
|
|
elements/rglimiter \
|
|
|
|
elements/rgvolume \
|
2008-01-29 15:45:48 +00:00
|
|
|
elements/rtp-payloading \
|
2008-02-08 03:28:57 +00:00
|
|
|
elements/spectrum \
|
2007-06-12 20:15:29 +00:00
|
|
|
elements/videocrop \
|
2007-03-06 22:14:59 +00:00
|
|
|
elements/videofilter \
|
2007-10-04 07:24:02 +00:00
|
|
|
pipelines/simple-launch-lines \
|
2009-03-03 09:14:02 +00:00
|
|
|
pipelines/flacdec \
|
2008-04-03 22:59:44 +00:00
|
|
|
$(check_gdkpixbuf) \
|
2008-04-12 23:30:54 +00:00
|
|
|
$(check_soup) \
|
2007-03-09 19:44:30 +00:00
|
|
|
$(check_sunaudio) \
|
2007-06-08 20:19:55 +00:00
|
|
|
$(check_taglib) \
|
|
|
|
$(check_wavpack)
|
2007-09-20 13:35:34 +00:00
|
|
|
|
2008-02-02 18:06:19 +00:00
|
|
|
VALGRIND_TO_FIX = \
|
|
|
|
elements/rtp-payloading
|
2007-03-08 12:23:57 +00:00
|
|
|
|
2006-05-01 11:46:33 +00:00
|
|
|
TESTS = $(check_PROGRAMS)
|
2005-09-01 20:23:22 +00:00
|
|
|
|
|
|
|
# these tests don't even pass
|
2006-09-29 15:39:41 +00:00
|
|
|
# autodetect: temporarily disabled because of broken videosinks in -bad
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
elements/autodetect
|
2005-09-01 20:23:22 +00:00
|
|
|
|
2009-05-15 16:11:27 +00:00
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
|
|
|
|
$(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\""
|
2005-09-01 20:23:22 +00:00
|
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
|
|
|
|
# valgrind testing
|
2007-06-12 20:15:29 +00:00
|
|
|
# videocrop disabled since it takes way too long in valgrind
|
|
|
|
VALGRIND_TESTS_DISABLE = \
|
|
|
|
elements/videocrop \
|
|
|
|
$(VALGRIND_TO_FIX)
|
2005-09-01 20:23:22 +00:00
|
|
|
|
2008-02-12 05:14:16 +00:00
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-good.supp
|
2006-02-24 23:52:28 +00:00
|
|
|
|
2009-01-27 20:33:02 +00:00
|
|
|
elements_aspectratiocrop_LDADD = $(LDADD)
|
|
|
|
elements_aspectratiocrop_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
gst/audiofxgood/audiofx.c
Original commit message from CVS:
* configure.ac:
* gst/audiofxgood/.cvsignore:
* gst/audiofxgood/Makefile.am:
* gst/audiofxgood/audiofx.c
* gst/audiofxgood/audiopanorama.c: (gst_audio_panorama_base_init),
(gst_audio_panorama_class_init), (gst_audio_panorama_init),
(gst_audio_panorama_set_property),
(gst_audio_panorama_get_property),
(gst_audio_panorama_get_unit_size),
(gst_audio_panorama_transform_caps), (gst_audio_panorama_set_caps),
(gst_audio_panorama_transform_m2s),
(gst_audio_panorama_transform_s2s), (gst_audio_panorama_transform):
* gst/audiofxgood/audiopanorama.h:
* tests/check/Makefile.am:
* tests/check/elements/audiopanorama.c: (setup_panorama_m),
(setup_panorama_s), (cleanup_panorama), (GST_START_TEST),
(panorama_suite), (main):
Add audiofxgood plugin with audiopanorama element
2006-08-20 12:09:16 +00:00
|
|
|
elements_audiopanorama_LDADD = \
|
|
|
|
$(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) \
|
|
|
|
$(LDADD)
|
|
|
|
|
|
|
|
elements_audiopanorama_CFLAGS = \
|
|
|
|
$(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \
|
|
|
|
$(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2008-01-21 19:41:45 +00:00
|
|
|
elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
2007-03-09 19:44:30 +00:00
|
|
|
|
2008-01-21 19:41:45 +00:00
|
|
|
elements_alphacolor_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
gst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always ...
Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps):
Double-check that RGB input caps are really RGBA caps (apparently
the core doesn't always catch it if those caps aren't a subset of
our template caps, also see #421543). Fixes #429319 in a way.
Also, don't leak the pad template in the transform_caps function.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/alphacolor.c: (setup_alphacolor),
(cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32),
(create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4),
(GST_START_TEST), (alphacolor_suite):
Add some basic unit tests for alphacolor.
2007-04-25 15:31:53 +00:00
|
|
|
|
2008-07-19 01:01:13 +00:00
|
|
|
elements_deinterleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_deinterleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LDADD)
|
|
|
|
elements_interleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_interleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LDADD)
|
|
|
|
|
2009-05-15 16:11:27 +00:00
|
|
|
elements_souphttpsrc_CFLAGS = $(SOUP_CFLAGS) $(AM_CFLAGS)
|
2008-04-12 23:30:54 +00:00
|
|
|
elements_souphttpsrc_LDADD = $(SOUP_LIBS) $(LDADD)
|
|
|
|
|
2007-03-09 19:44:30 +00:00
|
|
|
elements_sunaudio_CFLAGS = \
|
2008-01-21 19:41:45 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) \
|
2007-03-09 19:44:30 +00:00
|
|
|
$(AM_CFLAGS)
|
|
|
|
elements_sunaudio_LDADD = \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-@GST_MAJORMINOR@ \
|
|
|
|
$(LDADD)
|
2007-06-12 20:15:29 +00:00
|
|
|
|
2009-01-30 18:04:11 +00:00
|
|
|
elements_videocrop_LDADD = $(GST_BASE_LIBS) $(LDADD)
|
2008-01-21 19:41:45 +00:00
|
|
|
elements_videocrop_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
2007-06-12 20:15:29 +00:00
|
|
|
|
2008-04-03 22:59:44 +00:00
|
|
|
# FIXME: configure should check for gdk-pixbuf not gtk
|
|
|
|
# only need video.h header, not the lib
|
|
|
|
elements_gdkpixbufsink_CFLAGS = \
|
2009-05-11 08:15:00 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS)
|
2008-04-03 22:59:44 +00:00
|
|
|
elements_gdkpixbufsink_LDADD = \
|
2009-05-11 08:15:00 +00:00
|
|
|
$(LDADD) $(GDK_PIXBUF_LIBS)
|
2008-04-03 22:59:44 +00:00
|
|
|
|
|
|
|
|
2008-04-03 20:05:31 +00:00
|
|
|
pipelines_wavpack_LDADD = $(LDADD) $(GST_BASE_LIBS)
|
|
|
|
pipelines_wavpack_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2009-03-04 15:15:05 +00:00
|
|
|
EXTRA_DIST = gst-plugins-good.supp
|