summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, ↵Sebastian Dröge2007-09-063-30/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | float and double, use floats for the message... Original commit message from CVS: * configure.ac: * gst/spectrum/Makefile.am: * gst/spectrum/demo-audiotest.c: (draw_spectrum), (message_handler), (main): * gst/spectrum/demo-osssrc.c: (draw_spectrum), (message_handler): * gst/spectrum/gstspectrum.c: (gst_spectrum_base_init), (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_property), (gst_spectrum_get_property), (gst_spectrum_start), (gst_spectrum_setup), (gst_spectrum_message_new), (gst_spectrum_transform_ip): * gst/spectrum/gstspectrum.h: Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, float and double, use floats for the message contents, average all FFTs done in one interval for better results, use a better windowing function, allow posting the phase in the message and actually do an FFT with the requested number of bands instead of interpolating. * tests/check/elements/spectrum.c: (GST_START_TEST), (spectrum_suite): Improve the units tests by checking for a 11025Hz sine wave and add unit tests for all 4 supported sample types.
* tests/examples/: Added some RTP example scripts for sending and receiving ↵Wim Taymans2007-09-0412-2/+175
| | | | | | | | | | | | | | | | | | | RTP streams. Original commit message from CVS: * tests/examples/Makefile.am: * tests/examples/rtp/Makefile.am: * tests/examples/rtp/client-H263p-AMR.sh: * tests/examples/rtp/client-H263p-PCMA.sdp: * tests/examples/rtp/client-H263p-PCMA.sh: * tests/examples/rtp/client-H264-PCMA.sdp: * tests/examples/rtp/client-H264-PCMA.sh: * tests/examples/rtp/client-PCMA.sh: * tests/examples/rtp/server-VTS-H263p-ATS-PCMA.sh: * tests/examples/rtp/server-alsasrc-PCMA.sh: * tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh: * tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh: Added some RTP example scripts for sending and receiving RTP streams.
* tests/check/elements/: Also test everything in 32 bit float mode.Sebastian Dröge2007-08-192-42/+785
| | | | | | | | | Original commit message from CVS: * tests/check/elements/bpwsinc.c: (GST_START_TEST), (bpwsinc_suite): * tests/check/elements/lpwsinc.c: (GST_START_TEST), (lpwsinc_suite): Also test everything in 32 bit float mode.
* tests/check/elements/: Also test 32 bit float mode and the type 2 variants ↵Sebastian Dröge2007-08-194-74/+3570
| | | | | | | | | | | of the filters. Original commit message from CVS: * tests/check/elements/audiochebyshevfreqband.c: (GST_START_TEST), (audiochebyshevfreqband_suite): * tests/check/elements/audiochebyshevfreqlimit.c: (GST_START_TEST), (audiochebyshevfreqlimit_suite): Also test 32 bit float mode and the type 2 variants of the filters.
* Use generator macros for the process functions for the different sample ↵Sebastian Dröge2007-08-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | types, add lower upper boundaries for the GOb... Original commit message from CVS: * gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init), (bpwsinc_set_property), (bpwsinc_get_property): * gst/filter/gstbpwsinc.h: * gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init), (gst_lpwsinc_init), (lpwsinc_build_kernel), (lpwsinc_set_property), (lpwsinc_get_property): * gst/filter/gstlpwsinc.h: * tests/check/elements/lpwsinc.c: (GST_START_TEST): Use generator macros for the process functions for the different sample types, add lower upper boundaries for the GObject properties so automatically generated UIs can use sliders and change frequency properties to floats to save a bit of memory, even ints would in theory be enough. Also rename frequency to cutoff for consistency reasons. * docs/plugins/gst-plugins-bad-plugins.args: * docs/plugins/gst-plugins-bad-plugins.signals: * docs/plugins/inspect/plugin-gstrtpmanager.xml: Regenerated for the above changes.
* gst/filter/gstbpwsinc.*: Implement latency query and only forward those ↵Sebastian Dröge2007-08-161-68/+92
| | | | | | | | | | | | | | | | | | | | samples downstream that actually contain the ... Original commit message from CVS: * gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init), (gst_bpwsinc_init), (process_32), (process_64), (bpwsinc_build_kernel), (bpwsinc_push_residue), (bpwsinc_transform), (bpwsinc_start), (bpwsinc_query), (bpwsinc_query_type), (bpwsinc_event), (bpwsinc_set_property): * gst/filter/gstbpwsinc.h: Implement latency query and only forward those samples downstream that actually contain the data we want, i.e. drop kernel_length/2 in the beginning and append kernel_length/2 (created by convolving the filter kernel with zeroes) to the end. * tests/check/elements/bpwsinc.c: (GST_START_TEST): Adjust the unit test for this slightly changed behaviour. * gst/filter/gstlpwsinc.c: (lpwsinc_build_kernel): Reset residue length only when actually creating a residue.