summaryrefslogtreecommitdiffstats
path: root/tests/check/elements
Commit message (Collapse)AuthorAgeFilesLines
* checks: only run HTTPS test if libsoup has SSL supportMarvin Schmidt2009-09-081-1/+2
|
* checks: add test for leak to rtpbin unit testTim-Philipp Müller2009-08-141-1/+39
| | | | See #591476.
* Move rtpmanager from -bad to -good.Tim-Philipp Müller2009-08-111-0/+2
| | | | Hook up build infrastructure (autotools, docs, unit test).
* rtpbin: do better cleanup of the src ghostpadsWim Taymans2009-08-111-0/+84
| | | | | | | | Connect to the pad-removed signal of the ptdemux elements so that we remove the ghostpads for them. Fixes cleanup when going to NULL as well as when releasing the sinkpads. Fixes #561752
* rtpbin: add support for buffer-listBranko Subasic2009-08-111-0/+331
| | | | | | | Add support for sending buffer-lists. Add unit test for testing that the buffer-list passed through rtpbin. fixes #585839
* tests: add receive rtpbin unit testWim Taymans2009-08-111-0/+206
|
* tests: more rtpbin checksWim Taymans2009-08-111-49/+64
|
* tests: add more rtpbin testsWim Taymans2009-08-111-4/+26
|
* tests: add rtpbin unit testWim Taymans2009-08-111-0/+94
| | | | | Add the beginnings of an rtpbin unit test Add some more stuff to .gitignore
* check: fix flvmux unit test on big endian machinesTim-Philipp Müller2009-08-091-4/+8
| | | | | | | flvmux only accepts raw audio in little endian, but audiotestsrc produces audio in the native endianness, which makes linking between audiotestsrc and flvmux fail on big endian machines. Add an audioconvert element in between the two to fix this.
* id3demux: fix parsing of unsync'ed ID3 v2.4 tags and framesTim-Philipp Müller2009-08-071-4/+50
| | | | | | | | | | | | | | | | Reversing the unsynchronisation seems to work slightly differently for ID3 v2.3 tags and v2.4 tags: v2.3 tags don't have syncsafe frame sizes in the frame header, so the unsynchronisation is applied to the whole frame data including all the frame headers. v2.4 frames have sync-safe sizes, however, so the unsynchronisation only needs to be applied to the actual frame data, and it seems that's what's being done as well. So we need to undo the unsynchronisation on a per-frame basis for v2.4 tags for things to work properly. Fixes extraction of coverart/images from APIC frames in ID3 v2.4 tags (#588148). Add unit test for this as well.
* flvmux: Fix unit test to correctly handle request padsSebastian Dröge2009-08-031-9/+13
| | | | | | | Request pads are removed by the element instance in PAUSED->READY so we need to re-request pads for every run and link them again. Last fix for bug #590447.
* checks: add basic unit test for flvmux, but disable it for nowTim-Philipp Müller2009-08-012-0/+159
| | | | Basic unit test for flvmux. Fails miserably, hence disabled for now.
* check: add basic unit test for flvdemuxTim-Philipp Müller2009-07-312-0/+185
| | | | | In particular, test re-use of flvdemux in both pull and push mode (see #583030).
* gitignore: Ignore some new binariesJan Schmidt2009-07-191-0/+1
|
* tests: add unit tests for buffer-list payloadersOgnyan Tonchev2009-06-191-16/+212
| | | | See #585559
* tests: add some debug, send newsegmentWim Taymans2009-06-161-1/+9
|
* multiudpsink: add support for buffer listsOgnyan Tonchev2009-06-161-0/+199
| | | | | | Add support for BufferList and add a unit test. Fixes #585842
* check: Remove assertion that breaks check again git masterJan Schmidt2009-05-161-2/+0
| | | | | Remove the assertion that the sender of the tags message is the element until we decide whether that's going to be true or not.
* Moved 'y4menc' from -bad to -goodJan Schmidt2009-05-162-0/+166
|
* checks: move files required by unit tests into tests/files and make sure ↵Tim-Philipp Müller2009-05-152-7/+3
| | | | | | | | | | they're disted Move unit test data into the directory where it belongs and make in particular the flacdec unit test cd into the directory with the test files instead of making assumptions about the current working directory in that unit test. As a side effect of movng those files, there's only one EXTRA_DIST in tests/check/Makefile.am now, which is likely to work better than having two. Hopefully fixes #582753.
* rganalysis: Remove invalid unit testSebastian Dröge2009-05-121-43/+0
| | | | | | | | | | | The test creates buffers with non-silence, sets the GAP flag on it and expects rganalysis to ignore the content and assume silence. That's not the way how GAP buffers should be used, if the GAP flag is set elements *can* assume that they only contain silence but they're not *required* to assume that. The GAP flag must only be set on silence buffers. Fixes bug #582252.
* id3v2mux: Make the test failure slightly more informativeJan Schmidt2009-05-061-2/+5
|
* id3demux: add unit test file for unsynced id3 tagsTim-Philipp Müller2009-04-241-0/+31
|
* check: Check whether threads are already initialised before g_thread_init()Jan Schmidt2009-04-181-1/+2
|
* id3v2mux: write RVA2 frames containing peak/gain volume dataJonathan Matthew2009-04-021-7/+35
|
* .gitignore: ignore moreTim-Philipp Müller2009-03-201-0/+1
|
* Fix audioecho unit test on 32 bit systemsSebastian Dröge2009-02-031-6/+6
| | | | | | Cast the new value for the "delay" property to GstClockTime. Integers without type are passed to vararg functions with an integer type that can hold a pointer.
* Add unit test for aspectratiocrop Fixes bug #527951Thijs Vermeir2009-01-251-0/+201
| | | | | Add unit test for aspectratiocrop and refactor this element. Added finalize function to cleanup leaking mutex.
* Ignore check binariesJan Schmidt2009-01-251-0/+3
|
* skip video/x-raw-gray in videocrop unit testThijs Vermeir2009-01-231-0/+10
| | | | | | A recent commit added video/x-raw-gray support to videocrop. However this lets the videocrop unit test fail. Because videotestsrc can't generate this format.
* Rename audioreverb to audioecho. Fixes bug #568395.Sebastian Dröge2009-01-221-36/+36
| | | | | | | The element can add an echo and a simple reverb effect to an audio stream but for a real reverb filter it would need some additional filtering to prevent a metallic-sounding result.
* Add an echo/reverb filter to the audiofx plugin, with configurable echo ↵Sebastian Dröge2009-01-191-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | delay, intensity and feedback. Fixes bug #567... Original commit message from CVS: * 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/gst-plugins-good-plugins.hierarchy: * docs/plugins/inspect/plugin-audiofx.xml: * docs/plugins/inspect/plugin-spectrum.xml: * gst/audiofx/Makefile.am: * gst/audiofx/audiofx.c: (plugin_init): * gst/audiofx/audioreverb.c: (gst_audio_reverb_base_init), (gst_audio_reverb_class_init), (gst_audio_reverb_init), (gst_audio_reverb_finalize), (gst_audio_reverb_set_property), (gst_audio_reverb_get_property), (gst_audio_reverb_setup), (gst_audio_reverb_stop), (gst_audio_reverb_transform_ip): * gst/audiofx/audioreverb.h: * tests/check/Makefile.am: * tests/check/elements/audioreverb.c: (setup_reverb), (cleanup_reverb), (GST_START_TEST), (audioreverb_suite): Add an echo/reverb filter to the audiofx plugin, with configurable echo delay, intensity and feedback. Fixes bug #567874.
* Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR ↵Sebastian Dröge2009-01-132-0/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filters to be implemented by providing the... Original commit message from CVS: * configure.ac: * gst/audiofx/Makefile.am: * gst/audiofx/audiofirfilter.c: (gst_audio_fir_filter_base_init), (gst_audio_fir_filter_class_init), (gst_audio_fir_filter_update_kernel), (gst_audio_fir_filter_init), (gst_audio_fir_filter_setup), (gst_audio_fir_filter_finalize), (gst_audio_fir_filter_set_property), (gst_audio_fir_filter_get_property): * gst/audiofx/audiofirfilter.h: * gst/audiofx/audiofx.c: (plugin_init): * gst/audiofx/audioiirfilter.c: (gst_audio_iir_filter_base_init), (gst_audio_iir_filter_class_init), (gst_audio_iir_filter_update_coefficients), (gst_audio_iir_filter_init), (gst_audio_iir_filter_setup), (gst_audio_iir_filter_finalize), (gst_audio_iir_filter_set_property), (gst_audio_iir_filter_get_property): * gst/audiofx/audioiirfilter.h: Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the filter coefficients. Fixes bug #567577. * 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/gst-plugins-good-plugins.hierarchy: * docs/plugins/gst-plugins-good-plugins.signals: * docs/plugins/inspect/plugin-alaw.xml: * docs/plugins/inspect/plugin-audiofx.xml: * docs/plugins/inspect/plugin-avi.xml: * docs/plugins/inspect/plugin-flac.xml: * docs/plugins/inspect/plugin-mulaw.xml: * docs/plugins/inspect/plugin-video4linux2.xml: * docs/plugins/inspect/plugin-wavparse.xml: Add documentation for the audioiirfilter and audiofirfilter elements. * tests/check/Makefile.am: * tests/check/elements/audiofirfilter.c: (on_message), (on_rate_changed), (on_handoff), (GST_START_TEST), (audiofirfilter_suite): * tests/check/elements/audioiirfilter.c: (on_message), (on_rate_changed), (on_handoff), (GST_START_TEST), (audioiirfilter_suite): * tests/examples/Makefile.am: * tests/examples/audiofx/Makefile.am: * tests/examples/audiofx/firfilter-example.c: (on_message), (on_rate_changed), (main): * tests/examples/audiofx/iirfilter-example.c: (on_message), (on_rate_changed), (main): Add unit tests and example applications for the two filter elements.
* gst/audiofx/: Implement a base class for generic audio FIR filters.Sebastian Dröge2009-01-112-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/audiofx/Makefile.am: * gst/audiofx/audiofxbasefirfilter.c: (gst_audio_fx_base_fir_filter_dispose), (gst_audio_fx_base_fir_filter_base_init), (gst_audio_fx_base_fir_filter_class_init), (gst_audio_fx_base_fir_filter_init), (gst_audio_fx_base_fir_filter_push_residue), (gst_audio_fx_base_fir_filter_setup), (gst_audio_fx_base_fir_filter_transform), (gst_audio_fx_base_fir_filter_start), (gst_audio_fx_base_fir_filter_stop), (gst_audio_fx_base_fir_filter_query), (gst_audio_fx_base_fir_filter_query_type), (gst_audio_fx_base_fir_filter_event), (gst_audio_fx_base_fir_filter_set_kernel): * gst/audiofx/audiofxbasefirfilter.h: * gst/audiofx/audiofxbaseiirfilter.c: Implement a base class for generic audio FIR filters. * gst/audiofx/audiowsincband.c: (gst_gst_audio_wsincband_mode_get_type), (gst_gst_audio_wsincband_window_get_type), (gst_audio_wsincband_base_init), (gst_audio_wsincband_class_init), (gst_audio_wsincband_init), (gst_audio_wsincband_build_kernel), (gst_audio_wsincband_setup), (gst_audio_wsincband_set_property), (gst_audio_wsincband_get_property): * gst/audiofx/audiowsincband.h: * gst/audiofx/audiowsinclimit.c: (gst_audio_wsinclimit_mode_get_type), (gst_audio_wsinclimit_window_get_type), (gst_audio_wsinclimit_base_init), (gst_audio_wsinclimit_class_init), (gst_audio_wsinclimit_init), (gst_audio_wsinclimit_build_kernel), (gst_audio_wsinclimit_setup), (gst_audio_wsinclimit_set_property), (gst_audio_wsinclimit_get_property): * gst/audiofx/audiowsinclimit.h: * tests/check/elements/audiowsincband.c: (GST_START_TEST): * tests/check/elements/audiowsinclimit.c: (GST_START_TEST): Use this new base class for audiowsincband and audiowsinclimit. Also cleanup both elements.
* gst/matroska/: Some cleanups, refactoring and minor enhancements in caps ↵Mark Nauwelaerts2009-01-081-3/+4
| | | | | | | | | | | | | | | | handling. Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps): * gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps): Some cleanups, refactoring and minor enhancements in caps handling. * gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init), (gst_matroska_mux_init), (gst_matroska_pad_reset), (gst_matroska_pad_free), (gst_matroska_mux_reset), (gst_matroska_mux_video_pad_setcaps), (gst_matroska_mux_request_new_pad): * tests/check/elements/matroskamux.c: (teardown_src_pad): Only remove, release or reset what is appropriate upon state change.
* tests/check/elements/deinterleave.c: Increase timeout to 3 minutes to ↵Sebastian Dröge2008-12-161-0/+1
| | | | | | | | prevent timeouts. Original commit message from CVS: * tests/check/elements/deinterleave.c: (deinterleave_suite): Increase timeout to 3 minutes to prevent timeouts.
* tests/check/elements/interleave.c: Increase timeout to 3 minutes to prevent ↵Sebastian Dröge2008-12-161-0/+1
| | | | | | | | timeouts. Original commit message from CVS: * tests/check/elements/interleave.c: (interleave_suite): Increase timeout to 3 minutes to prevent timeouts.
* tests/check/elements/videocrop.c: Update the unit test for the new color ↵Sebastian Dröge2008-12-091-10/+11
| | | | | | | | | values for BT.601 red. Original commit message from CVS: * tests/check/elements/videocrop.c: (check_1x1_buffer): Update the unit test for the new color values for BT.601 red. Fixes bug #563510.
* tests/check/elements/souphttpsrc.c: The ports in libsoup are unsigned ↵Sebastian Dröge2008-12-091-27/+22
| | | | | | | | | | integers and not signed integers. Original commit message from CVS: * tests/check/elements/souphttpsrc.c: (GST_START_TEST), (run_server): The ports in libsoup are unsigned integers and not signed integers.
* Add support for basic and digest authentication in souphttpsrc.Ron McOuat2008-11-271-0/+143
| | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Ron McOuat <rmcouat at smartt dot com> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init), (gst_soup_http_src_init), (gst_soup_http_src_dispose), (gst_soup_http_src_set_property), (gst_soup_http_src_get_property), (gst_soup_http_src_authenticate_cb), (gst_soup_http_src_start): * ext/soup/gstsouphttpsrc.h: * tests/check/elements/souphttpsrc.c: (basic_auth_cb), (digest_auth_cb), (run_test), (GST_START_TEST), (souphttpsrc_suite), (run_server): Add support for basic and digest authentication in souphttpsrc. Fixes bug #561775.
* tests/check/elements/icydemux.c: Add some refcount checkWim Taymans2008-10-272-1/+11
| | | | | | | | | | Original commit message from CVS: * tests/check/elements/icydemux.c: (icydemux_found_pad): Add some refcount check * tests/check/elements/rtp-payloading.c: (rtp_pipeline_run): Don't ignore the result of write(), fixes a compiler warning for me. * tests/icles/videobox-test.c: (main): Make the output a little more pretty.
* gst/qtdemux/qtdemux.c: Remove previous wrong commitEdward Hervey2008-10-151-1/+1
| | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: Remove previous wrong commit * tests/check/elements/icydemux.c: (icydemux_found_pad): Remove problematic and useless refcount check. Fixes #556381
* gst/: Fix build flags order.Jan Schmidt2008-09-175-25/+27
| | | | | | | | | | | | | | Original commit message from CVS: * gst/interleave/Makefile.am: * gst/matroska/Makefile.am: Fix build flags order. * tests/check/elements/audioamplify.c: (GST_START_TEST): * tests/check/elements/audiodynamic.c: (GST_START_TEST): * tests/check/elements/audioinvert.c: (GST_START_TEST): * tests/check/elements/audiopanorama.c: (GST_START_TEST): Format fixes. * tests/check/elements/multifile.c: Pull in unistd.h
* tests/check/elements/level.c: Fix compilation some more.Wim Taymans2008-08-141-1/+1
| | | | | | Original commit message from CVS: * tests/check/elements/level.c: (GST_START_TEST): Fix compilation some more.
* tests/check/elements/level.c: Add a test for level in stereo mode.Stefan Kost2008-08-101-0/+104
| | | | | | Original commit message from CVS: * tests/check/elements/level.c: Add a test for level in stereo mode.
* gst/rtsp/URLS: Add another URL.Wim Taymans2008-08-052-0/+3
| | | | | | | | | Original commit message from CVS: * gst/rtsp/URLS: Add another URL. * tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags): * tests/check/elements/rglimiter.c: (GST_START_TEST): Add some more debug info.
* ext/soup/gstsouphttpsrc.c: Fix Soup HTTP source seeking.Wouter Cloetens2008-07-191-0/+5
| | | | | | | | | | Original commit message from CVS: * ext/soup/gstsouphttpsrc.c: Fix Soup HTTP source seeking. Patch By: Wouter Cloetens <wouter at mind be> Fixes: #540300 * tests/check/elements/.cvsignore: Ignore new check programs.
* tests/check/elements/: Don't use declarations after statements.Sebastian Dröge2008-07-143-13/+109
| | | | | | | | | Original commit message from CVS: * tests/check/elements/cmmldec.c: (GST_START_TEST): * tests/check/elements/rtp-payloading.c: (rtp_pipeline_create), (rtp_pipeline_run): * tests/check/elements/souphttpsrc.c: (souphttpsrc_suite): Don't use declarations after statements.
* tests/check/elements/avimux.c: Adjust avimux unit test according to ↵Mark Nauwelaerts2008-06-281-1/+1
| | | | | | | | increased streamheader size. Original commit message from CVS: * tests/check/elements/avimux.c: (check_avimux_pad): Adjust avimux unit test according to increased streamheader size.