Thiago Santos
80e66a5db4
deinterlace: Adds tests for passthrough
...
Adds tests for checking if the element really does
passthrough in disabled mode and in auto (if the input is
not interlaced)
2010-01-05 18:23:32 -03:00
Thiago Santos
8ba4d1b683
deinterlace: Adds tests for caps acceptance
...
Adds check unit tests for deinterlace for validating
caps accepting and the expected caps output on the
other pad
2010-01-05 18:23:32 -03:00
Thiago Santos
2370c452ca
deinterlace: Adds basic check test
...
Adds a basic check test for deinterlace element
2010-01-05 18:23:32 -03:00
Olivier Crête
e8dcea17fc
tests: Add G.729 RTP payloader/depayloader test
...
https://bugzilla.gnome.org/show_bug.cgi?id=606050
2010-01-05 13:23:26 -05:00
Wim Taymans
5c8527bb20
check: fix jitterbuffer check
...
Make sure we set a base_time on the element.
Fix the timeout to at least twice the jitterbuffer latency.
Enable previously failing tests.
Remove impossible checks.
2009-11-28 12:25:06 +01:00
Stefan Kost
0079f98632
rtpjitterbuffertest: add one more test and file a bug now
...
CHange the backwards test to always send first buffer first to have a define
basetime. Add another test that sends buffers backwards to assert that only
first sent buffer is keep and used as basetime. Disabled those tests still,
as its not passing/failing consitently and file a bug for jitterbuffer.
2009-11-25 16:05:10 +02:00
Stefan Kost
38bd5e5106
jitterbuffertest: improve the test
...
the tests are a bit more solid now but still not produce reliable results.
Wonder if they are still flawky or if its a bug in jitterbuffer.
2009-11-25 10:19:12 +02:00
Sebastian Dröge
a68d676fb1
wavpackparse: Fix unit test for recent position reporting changes
2009-11-20 09:58:26 +01:00
Tim-Philipp Müller
4fb9720cd7
tests: disable all jitterbuffer tests for now
...
Since even the one enabled seems to fail.
2009-10-23 11:21:44 +01:00
Stefan Kost
347caecbe9
tests: also include the new test for prev commit
2009-10-22 13:39:58 +03:00
Stefan Kost
e43eb89449
tests: add a jitterbuffer test
...
Tests pushing a few buffers in various order and asserting the order sent by the
jitterbuffer. Contains two disabled tests that need more work.
2009-10-22 13:35:57 +03:00
Stefan Kost
3503cfa456
tests: include stdio.h for sscanf
2009-10-20 17:34:34 +03:00
Marvin Schmidt
2543d9c28c
flvmux: Use loop test to prevent timeout on slow machines
...
Partially fixes bug #597739 .
2009-10-15 06:03:17 +02:00
Jan Schmidt
993a29a390
check: Make the level unit test succeed on Solaris 10
...
Add a configure check for functional isinf() and fpclass(), and
use fpclass() where possible when isinf() is not available.
2009-10-09 00:14:07 +01:00
Jan Schmidt
0f5711d1dc
check: Link against LIBM and include math.h for isinf()
2009-10-08 16:17:13 +01:00
Jan Schmidt
7c2489ca77
check: Fix a couple of tests.
...
The souphttpsrc test wasn't compiling. The soup-misc.h header is needed for
soup_ssl_supported.
Fix the y4menc test to use a 'progressive' header for the test data now that
the element outputs correct interlacing info.
2009-09-12 00:13:04 +01:00
Marvin Schmidt
ffa63329cb
checks: only run HTTPS test if libsoup has SSL support
2009-09-08 15:28:07 +02:00
Tim-Philipp Müller
80e43452a1
checks: add test for leak to rtpbin unit test
...
See #591476 .
2009-08-14 13:47:18 +01:00
Tim-Philipp Müller
4701696a92
Move rtpmanager from -bad to -good.
...
Hook up build infrastructure (autotools, docs, unit test).
2009-08-11 02:43:09 +01:00
Wim Taymans
512ba93159
rtpbin: do better cleanup of the src ghostpads
...
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
2009-08-11 02:30:46 +01:00
Branko Subasic
779f67adc4
rtpbin: add support for buffer-list
...
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.
fixes #585839
2009-08-11 02:30:45 +01:00
Wim Taymans
57653143c3
tests: add receive rtpbin unit test
2009-08-11 02:30:44 +01:00
Wim Taymans
02b34602c4
tests: more rtpbin checks
2009-08-11 02:30:44 +01:00
Wim Taymans
232624c908
tests: add more rtpbin tests
2009-08-11 02:30:44 +01:00
Wim Taymans
1710d8a3a5
tests: add rtpbin unit test
...
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
2009-08-11 02:30:43 +01:00
Tim-Philipp Müller
04efc92897
check: fix flvmux unit test on big endian machines
...
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.
2009-08-09 01:28:40 +01:00
Tim-Philipp Müller
2e05af3876
id3demux: fix parsing of unsync'ed ID3 v2.4 tags and frames
...
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.
2009-08-07 16:02:23 +01:00
Sebastian Dröge
a931c67597
flvmux: Fix unit test to correctly handle request pads
...
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 .
2009-08-03 20:08:33 +02:00
Tim-Philipp Müller
8c230e08f5
checks: add basic unit test for flvmux, but disable it for now
...
Basic unit test for flvmux. Fails miserably, hence disabled for now.
2009-08-01 12:19:41 +01:00
Tim-Philipp Müller
6227a6118e
check: add basic unit test for flvdemux
...
In particular, test re-use of flvdemux in both pull and push mode
(see #583030 ).
2009-07-31 23:55:01 +01:00
Jan Schmidt
988123b186
gitignore: Ignore some new binaries
2009-07-19 11:42:12 +01:00
Ognyan Tonchev
11b7016f7d
tests: add unit tests for buffer-list payloaders
...
See #585559
2009-06-19 18:12:27 +02:00
Wim Taymans
d1606beaca
tests: add some debug, send newsegment
2009-06-16 15:25:54 +02:00
Ognyan Tonchev
375523be71
multiudpsink: add support for buffer lists
...
Add support for BufferList and add a unit test.
Fixes #585842
2009-06-16 15:04:15 +02:00
Jan Schmidt
fa15557bf5
check: Remove assertion that breaks check again git master
...
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.
2009-05-16 01:21:34 +01:00
Jan Schmidt
135e61f753
Moved 'y4menc' from -bad to -good
2009-05-16 00:16:31 +01:00
Tim-Philipp Müller
c014c4a621
checks: move files required by unit tests into tests/files and make sure 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 .
2009-05-15 17:17:20 +01:00
Sebastian Dröge
633c940362
rganalysis: Remove invalid unit test
...
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 .
2009-05-12 11:18:03 +02:00
Jan Schmidt
a32be6f170
id3v2mux: Make the test failure slightly more informative
2009-05-06 14:24:35 +01:00
Tim-Philipp Müller
0ff1b18cbb
id3demux: add unit test file for unsynced id3 tags
2009-04-24 02:11:28 +01:00
Jan Schmidt
06a4b80918
check: Check whether threads are already initialised before g_thread_init()
2009-04-18 14:05:16 +01:00
Jonathan Matthew
9b7c9208c3
id3v2mux: write RVA2 frames containing peak/gain volume data
2009-04-02 00:20:02 +01:00
Tim-Philipp Müller
c885b3d027
.gitignore: ignore more
2009-03-20 01:06:14 +00:00
Sebastian Dröge
08123cc318
Fix audioecho unit test on 32 bit systems
...
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.
2009-02-03 17:12:46 +01:00
Thijs Vermeir
27093c19a4
Add unit test for aspectratiocrop Fixes bug #527951
...
Add unit test for aspectratiocrop and refactor this element. Added
finalize function to cleanup leaking mutex.
2009-01-25 18:40:42 +01:00
Jan Schmidt
bff7e4bea8
Ignore check binaries
2009-01-25 14:35:20 +00:00
Thijs Vermeir
3733a2ef8c
skip video/x-raw-gray in videocrop unit test
...
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.
2009-01-23 20:36:27 +01:00
Sebastian Dröge
99753365c6
Rename audioreverb to audioecho. Fixes bug #568395 .
...
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.
2009-01-22 13:27:56 +01:00
Sebastian Dröge
344a9f4229
Add an echo/reverb filter to the audiofx plugin, with configurable echo 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 .
2009-01-19 11:19:08 +00:00
Sebastian Dröge
75c1c9f378
Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR 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.
2009-01-13 19:23:57 +00:00