2005-09-01 20:23:22 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
2005-11-30 18:36:02 +00:00
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
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) \
|
2007-03-06 23:19:30 +00:00
|
|
|
GST_TEST_FILES_PATH=$(TEST_FILES_DIRECTORY) \
|
2007-03-04 17:33:34 +00:00
|
|
|
STATE_IGNORE_ELEMENTS="aasink cacasink autovideosink gconfvideosink"
|
2005-09-01 20:23:22 +00:00
|
|
|
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
|
|
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 \
|
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 \
|
gst/audiofx/: Add new audiofx element "audioinvert". This element swaps the upper and lower half of samples and can b...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioinvert.c: (gst_audio_invert_base_init),
(gst_audio_invert_class_init), (gst_audio_invert_init),
(gst_audio_invert_set_property), (gst_audio_invert_get_property),
(gst_audio_invert_set_caps), (gst_audio_invert_transform_int),
(gst_audio_invert_transform_float),
(gst_audio_invert_transform_ip):
* gst/audiofx/audioinvert.h:
Add new audiofx element "audioinvert". This element swaps the upper
and lower half of samples and can be used for example for a
wide-stereo effect. Fixes #396057
* 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:
Add docs for the audioinvert element and add them to the build system.
* tests/check/Makefile.am:
* tests/check/elements/audioinvert.c: (setup_invert),
(cleanup_invert), (GST_START_TEST), (invert_suite), (main):
Add unit test suite for the audioinvert element.
2007-01-23 18:16:09 +00:00
|
|
|
elements/audioinvert \
|
gst/audiofx/: Add new element "audioamplify". This allows scaling of raw audio samples, similar to the "volume" eleme...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audioamplify.c:
(gst_audio_amplify_clipping_method_get_type),
(gst_audio_amplify_base_init), (gst_audio_amplify_class_init),
(gst_audio_amplify_init), (gst_audio_amplify_set_process_function),
(gst_audio_amplify_set_property), (gst_audio_amplify_get_property),
(gst_audio_amplify_set_caps),
(gst_audio_amplify_transform_int_clip),
(gst_audio_amplify_transform_int_wrap_negative),
(gst_audio_amplify_transform_int_wrap_positive),
(gst_audio_amplify_transform_float_clip),
(gst_audio_amplify_transform_float_wrap_negative),
(gst_audio_amplify_transform_float_wrap_positive),
(gst_audio_amplify_transform_ip):
* gst/audiofx/audioamplify.h:
* gst/audiofx/audiofx.c: (plugin_init):
Add new element "audioamplify". This allows scaling of raw audio
samples, similar to the "volume" element, but provides different modes
for clipping and allows unlimited amplification. It's mainly targeted
for creative sound design and not as a replacement of the "volume"
element. Fixes #397162
* 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:
Add docs for audioamplify and integrate them into the build system
* tests/check/Makefile.am:
* tests/check/elements/audioamplify.c: (setup_amplify),
(cleanup_amplify), (GST_START_TEST), (amplify_suite), (main):
Add fairly extensive unit test suite for audioamplify
2007-01-24 12:41:03 +00:00
|
|
|
elements/audioamplify \
|
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 \
|
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-03-06 23:19:30 +00:00
|
|
|
elements/id3demux \
|
2005-11-01 14:36:02 +00:00
|
|
|
elements/level \
|
2006-02-24 23:31:08 +00:00
|
|
|
elements/matroskamux \
|
2006-05-02 13:24:38 +00:00
|
|
|
elements/icydemux \
|
2007-03-06 22:14:59 +00:00
|
|
|
elements/videofilter \
|
2007-03-09 19:44:30 +00:00
|
|
|
$(check_sunaudio) \
|
2006-05-02 13:24:38 +00:00
|
|
|
$(check_taglib)
|
2005-11-01 14:36:02 +00:00
|
|
|
|
2007-03-09 18:49:37 +00:00
|
|
|
VALGRIND_TO_FIX =
|
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
|
|
|
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
|
|
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
|
|
|
|
# valgrind testing
|
2007-03-08 12:23:57 +00:00
|
|
|
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
|
2005-09-01 20:23:22 +00:00
|
|
|
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
|
2006-02-24 23:52:28 +00:00
|
|
|
|
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)
|
|
|
|
|
2006-02-24 23:52:28 +00:00
|
|
|
elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
2007-03-09 19:44:30 +00:00
|
|
|
|
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_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2007-03-09 19:44:30 +00:00
|
|
|
elements_sunaudio_CFLAGS = \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(AM_CFLAGS)
|
|
|
|
elements_sunaudio_LDADD = \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-@GST_MAJORMINOR@ \
|
|
|
|
$(LDADD)
|