summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* fixes: #514889Wim Taymans2008-02-121-4/+6
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: patch by: Wim Taymans <wim.taymans@collabora.co.uk> fixes: #514889 * gst/rtp/gstrtph264pay.c: * gst/rtp/gstrtpmp4gdepay.c: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4gpay.h: * gst/rtp/gstrtptheorapay.c: * gst/rtp/gstrtpvorbispay.c: Fix various leaks shown up in valgrind - free sprops and buffer in error cases in H264 payloader - fix leak in mp4g depayloader when construction the caps - don't leak config string in the mp4g payloader - don't leak buffers and headers in theora and vorbis payloaders * tests/check/elements/rtp-payloading.c: Fix the RTP data test - Actually send valid amr data to the payloader instead of 20 zero-bytes - The mp4g payloader expects codec_data on the caps
* tests/check/elements/souphttpsrc.c: Include glib/gprintf.h for ↵Sebastian Dröge2008-02-121-0/+1
| | | | | | | | g_vasprintf(). Fixes bug #515564. Original commit message from CVS: * tests/check/elements/souphttpsrc.c: Include glib/gprintf.h for g_vasprintf(). Fixes bug #515564.
* Add a few libjpeg suppressions and initialize a variable to make smokeenc ↵Sebastian Dröge2008-02-122-1/+128
| | | | | | | | | | | valgrind clean. Fixes bug #515701. Original commit message from CVS: * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * tests/check/Makefile.am: * tests/check/gst-plugins-good.supp: Add a few libjpeg suppressions and initialize a variable to make smokeenc valgrind clean. Fixes bug #515701.
* Close some memory leaks spotted by the unit test. Fixes bug #515697.Sebastian Dröge2008-02-111-0/+4
| | | | | | | Original commit message from CVS: * gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create): * tests/check/elements/multifile.c: (GST_START_TEST): Close some memory leaks spotted by the unit test. Fixes bug #515697.
* Add a simple example application for the spectrum element, include it in the ↵Jan Schmidt2008-02-093-1/+128
| | | | | | | | | | | | | | docs, and fix some documentation ambigui... Original commit message from CVS: * docs/plugins/Makefile.am: * gst/spectrum/gstspectrum.c: * tests/examples/spectrum/.cvsignore: * tests/examples/spectrum/Makefile.am: * tests/examples/spectrum/spectrum-example.c: Add a simple example application for the spectrum element, include it in the docs, and fix some documentation ambiguities. Fixes: #348085
* gst/: Fix includes orderJan Schmidt2008-02-092-5/+5
| | | | | | | | | | | Original commit message from CVS: * gst/equalizer/Makefile.am: * gst/spectrum/Makefile.am: Fix includes order * tests/check/Makefile.am: Exclude v4l2src from the states test - it takes too long to start. * tests/check/elements/spectrum.c: Make the test run properly with CK_FORK=no
* tests/check/elements/.cvsignore: Spell the new tests correctly in .cvsignoreJan Schmidt2008-02-081-2/+2
| | | | | | Original commit message from CVS: * tests/check/elements/.cvsignore: Spell the new tests correctly in .cvsignore
* gst/multifile/gstmultifilesrc.c: Need to use gsize here for the size, fixes ↵Tim-Philipp Müller2008-02-084-0/+23
| | | | | | | | | | | | | compiler warning. Original commit message from CVS: * gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create): Need to use gsize here for the size, fixes compiler warning. * tests/examples/equalizer/.cvsignore: * tests/examples/equalizer/Makefile.am: * tests/examples/spectrum/.cvsignore: * tests/examples/spectrum/Makefile.am: Add missing files to fix the build.
* Move multifile plugin from -bad.Jan Schmidt2008-02-082-0/+2
| | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * 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-multifile.xml: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: Move multifile plugin from -bad. Fixes: #490283
* gst/multifile/: Use g_file_[sg]et_contents() instead of using stdio functions.David Schleef2008-02-081-11/+61
| | | | | | | | | | | Original commit message from CVS: * gst/multifile/gstmultifilesink.c: * gst/multifile/gstmultifilesrc.c: Use g_file_[sg]et_contents() instead of using stdio functions. Should be less error prone. * tests/check/elements/multifile.c: Create a temporary directory using standard functions instead of creating a directory in the current dir.
* Move spectrum plugin from -bad.Jan Schmidt2008-02-083-2/+4
| | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * 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-spectrum.xml: * gst/spectrum/Makefile.am: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/examples/Makefile.am: Move spectrum plugin from -bad. Move examples into tests/examples/spectrum.
* Move the equalizer plugin across from -badJan Schmidt2008-02-084-11/+11
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * 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.interfaces: * docs/plugins/inspect/plugin-equalizer.xml: * gst/equalizer/Makefile.am: * tests/check/Makefile.am: * tests/examples/Makefile.am: Move the equalizer plugin across from -bad * tests/check/elements/.cvsignore: Add equalizer, audiosincwband and audiosincwlimit * tests/check/elements/equalizer.c: Fix compiler warnings
* docs/plugins/gst-plugins-bad-plugins.*: Remove equalizer plugin docsJan Schmidt2008-02-083-12/+14
| | | | | | | | | | | | | | | Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins.args: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/gst-plugins-bad-plugins.interfaces: Remove equalizer plugin docs * tests/check/Makefile.am: Add GST_OPTION_CFLAGS, to get -Werror -Wall into the tests as for other modules. * tests/check/elements/multifile.c: * tests/check/elements/rganalysis.c: * tests/check/elements/rglimiter.c: Fix compiler warnings from -Wall -Werror
* Move the lpwsinc and bpwsinc elements from gst-plugins-bad into the audiofx ↵Jan Schmidt2008-02-073-272/+270
| | | | | | | | | | | | | | | | | | | | | | | | plugin, and rename to audiowsinclimit and... 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/inspect/plugin-audiofx.xml: * gst/audiofx/Makefile.am: * gst/audiofx/audiofx.c: * gst/audiofx/audiowsincband.c: * gst/audiofx/audiowsincband.h: * gst/audiofx/audiowsinclimit.c: * gst/audiofx/audiowsinclimit.h: * tests/check/Makefile.am: * tests/check/elements/audiowsincband.c: * tests/check/elements/audiowsinclimit.c: Move the lpwsinc and bpwsinc elements from gst-plugins-bad into the audiofx plugin, and rename to audiowsinclimit and audiowsincband respectively. Fixes: #467666
* Return GST_FLOW_NOT_NEGOTIATED if we get a buffer without caps, and add a ↵Tim-Philipp Müller2008-02-071-1/+20
| | | | | | | | | | somewhat useful debug message. Plus test. Original commit message from CVS: * gst/icydemux/gsticydemux.c: (gst_icydemux_chain): * tests/check/elements/icydemux.c: Return GST_FLOW_NOT_NEGOTIATED if we get a buffer without caps, and add a somewhat useful debug message. Plus test.
* Rename audiochebyshevfreqband -> audiochebband and audiochebyshevfreqlimit ↵Jan Schmidt2008-02-066-3002/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> audiocheblimit and do the requisite CVS... 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/inspect/plugin-audiofx.xml: * gst/audiofx/Makefile.am: * gst/audiofx/audiochebband.c: * gst/audiofx/audiochebband.h: * gst/audiofx/audiocheblimit.c: * gst/audiofx/audiocheblimit.h: * gst/audiofx/audiochebyshevfreqband.c: * gst/audiofx/audiochebyshevfreqband.h: * gst/audiofx/audiochebyshevfreqlimit.c: * gst/audiofx/audiochebyshevfreqlimit.h: * gst/audiofx/audiofx.c: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/audiochebband.c: * tests/check/elements/audiocheblimit.c: * tests/check/elements/audiochebyshevfreqband.c: * tests/check/elements/audiochebyshevfreqlimit.c: Rename audiochebyshevfreqband -> audiochebband and audiochebyshevfreqlimit -> audiocheblimit and do the requisite CVS surgery. Closes: #491811
* tests/check/Makefile.am: Add rtp-payloading test to VALGRIND_TO_FIX.Tim-Philipp Müller2008-02-022-91/+96
| | | | | | | | | | | Original commit message from CVS: * tests/check/Makefile.am: Add rtp-payloading test to VALGRIND_TO_FIX. * tests/check/elements/rtp-payloading.c: Add semicolons after GST_TEST_END so gst-indent gets the formatting right; make test less verbose in general, but more verbose in the error case (which should probably make the test fail anyway).
* tests/check/: Add missing files for the unit test.Wouter Cloetens2008-01-302-0/+37
| | | | | | | | Original commit message from CVS: Patch by: Wouter Cloetens <wouter at mind dot be> * tests/check/test-cert.pem: * tests/check/test-key.pem: Add missing files for the unit test.
* docs/plugins/: Add souphttpsrc to the docs.Wouter Cloetens2008-01-301-0/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Wouter Cloetens <wouter at mind dot be> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: Add souphttpsrc to the docs. * configure.ac: * ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init), (gst_souphttp_src_init), (gst_souphttp_src_dispose), (gst_souphttp_src_set_property), (gst_souphttp_src_get_property), (gst_souphttp_src_cancel_message), (gst_souphttp_src_queue_message), (gst_souphttp_src_add_range_header), (gst_souphttp_src_session_unpause_message), (gst_souphttp_src_session_pause_message), (gst_souphttp_src_session_close), (gst_souphttp_src_got_headers_cb), (gst_souphttp_src_got_body_cb), (gst_souphttp_src_finished_cb), (gst_souphttp_src_got_chunk_cb), (gst_souphttp_src_response_cb), (gst_souphttp_src_parse_status), (gst_souphttp_src_create), (gst_souphttp_src_start), (gst_souphttp_src_stop), (gst_souphttp_src_unlock), (gst_souphttp_src_unlock_stop), (gst_souphttp_src_get_size), (gst_souphttp_src_is_seekable), (gst_souphttp_src_do_seek), (gst_souphttp_src_set_location), (gst_souphttp_src_set_proxy), (plugin_init): * ext/soup/gstsouphttpsrc.h: Add support for libsoup2.4 and require it. Also implement redirection and manual proxy specification. Fixes bug #510708. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/souphttpsrc.c: Add unit test for souphttpsrc.
* tests/check/: Add add testsuite for the rtp-payloader that tries simulating ↵Stefan Kost2008-01-293-11/+561
| | | | | | | | | | | dataflow. Needs more test data. Original commit message from CVS: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/rtp-payloading.c: Add add testsuite for the rtp-payloader that tries simulating dataflow. Needs more test data.
* tests/check/elements/alphacolor.c: Remove two unused variables.Stefan Kost2008-01-291-2/+0
| | | | | | Original commit message from CVS: * tests/check/elements/alphacolor.c: Remove two unused variables.
* tests/check/Makefile.am: Fix up some CFLAGS sets.Jan Schmidt2008-01-212-9/+11
| | | | | | | | | | Original commit message from CVS: * 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.
* tests/check/: Add some minimal tests for the equalizer plugin.Sebastian Dröge2008-01-181-0/+331
| | | | | | | | | Original commit message from CVS: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/equalizer.c: (setup_equalizer), (cleanup_equalizer), (GST_START_TEST), (equalizer_suite), (main): Add some minimal tests for the equalizer plugin.
* Ignore more files for the buildbot.David Schleef2008-01-121-0/+3
| | | | | | | Original commit message from CVS: * docs/plugins/.cvsignore: * tests/check/pipelines/.cvsignore: Ignore more files for the buildbot.
* tests/check/elements/: It's "endianness", not "endianess". Fixes unit tests.Tim-Philipp Müller2008-01-113-10/+10
| | | | | | | | | | | | Original commit message from CVS: * tests/check/elements/rganalysis.c: (test_buffer_const_float_mono), (test_buffer_const_float_stereo), (test_buffer_const_int16_mono), (test_buffer_const_int16_stereo), (test_buffer_square_float_mono), (test_buffer_square_float_stereo), (test_buffer_square_int16_mono), (test_buffer_square_int16_stereo): * tests/check/elements/rglimiter.c: (create_test_buffer): * tests/check/elements/rgvolume.c: (test_buffer_new): It's "endianness", not "endianess". Fixes unit tests.
* ignore some moreEdward Hervey2008-01-111-0/+1
| | | | | Original commit message from CVS: ignore some more
* ignore some moreEdward Hervey2008-01-111-0/+1
| | | | | Original commit message from CVS: ignore some more
* tests/check/elements/icydemux.c: Don't use deprecated GST_PLUGIN_DEFINE_STATIC.Tim-Philipp Müller2008-01-111-30/+5
| | | | | | Original commit message from CVS: * tests/check/elements/icydemux.c: (GST_START_TEST), (icydemux_suite): Don't use deprecated GST_PLUGIN_DEFINE_STATIC.
* tests/check/elements/avisubtitle.c: Small unit test fix (has no practical ↵Tim-Philipp Müller2007-12-181-1/+2
| | | | | | | | | | impact at the moment, since we're only feed... Original commit message from CVS: * tests/check/elements/avisubtitle.c: (check_correct_buffer): Small unit test fix (has no practical impact at the moment, since we're only feeding utf8 and hence just create a sub- buffer for the output).
* Add seeking support for avi subtitleThijs Vermeir2007-12-181-2/+17
| | | | | | | Original commit message from CVS: * gst/avi/gstavisubtitle.c: * tests/check/elements/avisubtitle.c: Add seeking support for avi subtitle
* Add avi subtitle element for bug #442034. Need seeking support and more ↵Thijs Vermeir2007-12-182-0/+249
| | | | | | | | | | | | | | | support for character conversion. Original commit message from CVS: * gst/avi/Makefile.am: * gst/avi/gstavi.c: * gst/avi/gstavisubtitle.c: * gst/avi/gstavisubtitle.h: * tests/check/Makefile.am: * tests/check/elements/avisubtitle.c: * win32/common/config.h: Add avi subtitle element for bug #442034. Need seeking support and more support for character conversion.
* tests/check/pipelines/simple-launch-lines.c: Improve the tests by allowing ↵Stefan Kost2007-11-261-24/+27
| | | | | | | | to set a target state. Original commit message from CVS: * tests/check/pipelines/simple-launch-lines.c: Improve the tests by allowing to set a target state.
* tests/check/elements/wavpackenc.c: Don't check the caps of the output buffer ↵Sebastian Dröge2007-11-261-5/+0
| | | | | | | | | | if they're equal some other caps. The ca... Original commit message from CVS: * tests/check/elements/wavpackenc.c: (GST_START_TEST): Don't check the caps of the output buffer if they're equal some other caps. The caps can change in a backward compatible way and did at this point.
* tests/check/pipelines/simple-launch-lines.c: Tests for #498395.René Stadler2007-11-201-0/+27
| | | | | | | Original commit message from CVS: Patch by: René Stadler <mail at renestadler dot de> * tests/check/pipelines/simple-launch-lines.c: Tests for #498395.
* tests/check/elements/spectrum.c: Fix spectrum unit test for the latest ↵Sebastian Dröge2007-11-141-8/+8
| | | | | | | | spectrum changes. Original commit message from CVS: * tests/check/elements/spectrum.c: (GST_START_TEST): Fix spectrum unit test for the latest spectrum changes.
* gst/: Change the meaning of the magnitude values given in theSebastian Dröge2007-11-113-4/+4
| | | | | | | | | | | Original commit message from CVS: * gst/equalizer/demo.c: (draw_spectrum): * gst/spectrum/demo-audiotest.c: (draw_spectrum): * gst/spectrum/demo-osssrc.c: (draw_spectrum): * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init): Change the meaning of the magnitude values given in the GstMessages by spectrum to decibel instead of decibel+threshold.
* gst/equalizer/demo.c: Make default volume a bit less. Improve layout by ↵Stefan Kost2007-11-081-5/+6
| | | | | | | | | giving more space to the slider with big-numb... Original commit message from CVS: * gst/equalizer/demo.c: Make default volume a bit less. Improve layout by giving more space to the slider with big-numbers and enable fill.
* gst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use ↵Sebastian Dröge2007-11-061-2/+2
| | | | | | | | | | a sine wave. Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (main): Use autoaudiosink instead of alsasink and use a sine wave. * gst/spectrum/gstspectrum.c: Fix the magnitude calculation.
* gst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.Sebastian Dröge2007-11-031-1/+1
| | | | | | | | | | | | | | Original commit message from CVS: * gst/equalizer/demo.c: (main): * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_band_class_init), (setup_filter): Allow setting 0 as bandwidth and handle this correctly. Also handle a bandwidth of rate/2 properly. * gst/equalizer/gstiirequalizernbands.c: (gst_iir_equalizer_nbands_class_init): Make it possible to generate a N-band equalizer with 1 bands. The previous limit of 2 was caused by a nowadays replaced calculation doing a division by zero if number of bands was 1.
* gst/equalizer/: Add small demo application based on the spectrum demo ↵Sebastian Dröge2007-10-301-0/+246
| | | | | | | | | | | | | | | | | applications that gets white noise as input, pu... Original commit message from CVS: * gst/equalizer/Makefile.am: * gst/equalizer/demo.c: (on_window_destroy), (on_configure_event), (on_gain_changed), (on_bandwidth_changed), (on_freq_changed), (draw_spectrum), (message_handler), (main): Add small demo application based on the spectrum demo applications that gets white noise as input, pushes it through an equalizer and paints the spectrum. For every equalizer band it's possible to set gain, bandwidth and frequency. * gst/equalizer/gstiirequalizer.c: (setup_filter): Add some guarding against too large or too small frequencies and bandwidths. Also improve debugging a bit.
* gst/interleave/interleave.c: Let's not call every request pad we create ↵Tim-Philipp Müller2007-10-271-0/+79
| | | | | | | | | | | | | "sink%d", that'll create problems if there's ... Original commit message from CVS: * gst/interleave/interleave.c: (gst_interleave_request_new_pad): Let's not call every request pad we create "sink%d", that'll create problems if there's to be more than one pad. Fixes #490682. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/interleave.c: Add unit test for the above.
* Improve documentation, write some tests for multifilesrc/sink for upcoming ↵David Schleef2007-10-251-0/+110
| | | | | | | | | | | | | ->good review. Original commit message from CVS: * gst/multifile/Makefile.am: * gst/multifile/gstmultifilesink.c: * gst/multifile/gstmultifilesrc.c: * tests/check/Makefile.am: * tests/check/elements/multifile.c: Improve documentation, write some tests for multifilesrc/sink for upcoming ->good review.
* tests/check/pipelines/simple-launch-lines.c: Improve the tests a little more.Stefan Kost2007-10-241-37/+46
| | | | | | Original commit message from CVS: * tests/check/pipelines/simple-launch-lines.c: Improve the tests a little more.
* Add some debug and sync tests with the fix.Stefan Kost2007-10-191-1/+1
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: * tests/check/elements/avimux.c: Add some debug and sync tests with the fix.
* gst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP ↵Jason Kivlighn2007-10-113-1/+29
| | | | | | | | | | | | | | frames (Fixes #447000). Original commit message from CVS: Based on patch by: Jason Kivlighn <jkivlighn gmail com> * gst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP frames (Fixes #447000). * tests/check/elements/id3demux.c: * tests/files/Makefile.am: * tests/files/id3-447000-wcop.tag: Add simple unit test.
* tests/check/: Add unit tests for payloaders/depayloaders.Timo Hotti2007-10-042-0/+245
| | | | | | | | Original commit message from CVS: Patch by: Timo Hotti <Timo.Hotti@sysopendigia.com> * tests/check/Makefile.am: * tests/check/pipelines/simple-launch-lines.c: Add unit tests for payloaders/depayloaders.
* ext/cairo/gsttextoverlay.c: Add info about static leak.Stefan Kost2007-09-202-29/+131
| | | | | | | | | Original commit message from CVS: * ext/cairo/gsttextoverlay.c: Add info about static leak. * tests/check/Makefile.am: * tests/check/generic/states.c: Improved state change unit test.
* Ignore registries in any format.Stefan Kost2007-09-191-1/+1
| | | | | | | Original commit message from CVS: * docs/plugins/.cvsignore: * tests/check/.cvsignore: Ignore registries in any format.
* gst/spectrum/: Handling window resize.Stefan Kost2007-09-182-29/+64
| | | | | | | Original commit message from CVS: * gst/spectrum/demo-audiotest.c: * gst/spectrum/demo-osssrc.c: Handling window resize.
* Update my mail address.Sebastian Dröge2007-09-131-1/+1
| | | | | | | | | Original commit message from CVS: * ext/taglib/gstapev2mux.cc: * ext/taglib/gstapev2mux.h: * ext/taglib/gsttaglibmux.c: * tests/check/elements/apev2mux.c: Update my mail address.