Commit graph

629 commits

Author SHA1 Message Date
Thiago Santos 13c76e3bc3 Rename aac's stream-format 'none' to 'raw'
Renames aac's stream-format from previous commits from none to
raw
2011-04-08 18:07:04 +01:00
Thiago Santos ed0c1564ca aacparse: update tests to stream-format changes
Updates aacparse unit tests to check for stream-format
correctness as well.
2011-04-08 18:07:04 +01:00
Tim-Philipp Müller fc09fe78af aacparse: set channels and rate on output caps, and keep codec_data
Create output caps from input caps, so we maintain any fields we
might get on the input caps, such as codec_data or rate and channels.
Set channels and rate on the output caps if we don't have input caps
or they don't contain such fields. We do this partly because we can,
but also because some muxers need this information. Tagreadbin will
also be happy about this.
2011-04-08 18:06:57 +01:00
Stefan Kost c3faaa2daa tests/check/: Add unit tests for new parsers.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/aacparse.c:
* tests/check/elements/amrparse.c:
Add unit tests for new parsers.
2011-04-08 18:06:56 +01:00
Wim Taymans c124ba1489 Merge branch 'master' into 0.11
Conflicts:
	gst/rtsp/gstrtspsrc.c
2011-04-05 17:20:08 +02:00
Sebastian Dröge 9f256d81db rtpbin: Don't try to request the same request pad twice 2011-03-29 16:34:53 +02:00
Wim Taymans 8f22a09dc4 Merge branch 'master' into 0.11-fdo 2011-03-28 20:50:59 +02:00
Tim-Philipp Müller 2a8103553d tests: enable more formats in videofilter unit test, check more resolutions 2011-03-15 20:23:25 +00:00
Tim-Philipp Müller 3e1c707495 tests: in videofilter unit test also check with 'odd' widths and heights
And only use one test suite.
2011-03-15 09:45:23 +00:00
Stefan Kost 9bfa7defdf tests: order state-test blacklist and add jack elements
Jack audio src/sink elements recently got moved from bad and should be excluded
from the test (like the other device specific source and sinks).

Fixes #644288
2011-03-11 17:01:03 +02:00
Wim Taymans a4fdb8ee44 Merge branch 'master' into 0.11
Conflicts:
	tests/examples/cairo/Makefile.am
2011-03-08 10:14:20 +00:00
Sebastian Dröge 1a8aa16612 cairooverlay: Add a bus handler to the example to handle EOS/ERROR/WARNING
Also clean up the pipeline properly.
2011-03-07 10:54:22 +01:00
Sebastian Dröge 7f85827bf7 examples: Always dist the cairo example 2011-03-07 10:47:23 +01:00
Sebastian Dröge 8b9183c633 cairooverlay: Use LDADD instead of LDFLAGS for libs and add $(GST_LIBS) 2011-03-07 10:46:12 +01:00
Jon Nordby 92808b1010 cairooverlay: Remove unnecessary gtk/gtk-x11 use in example.
This removes code, and allows the example to be used on any platform.

Fixes bug #643981.
2011-03-07 10:44:48 +01:00
Wim Taymans 4ac7184454 examples: don't use hardcodec 0.10 2011-03-04 17:04:37 +01:00
Wim Taymans 338c300f5f Merge branch 'master' into 0.11 2011-03-04 16:30:36 +01:00
Sebastian Dröge 08232b470e cairooverlay: The example always requires gtk-x11
Check for gtk-x11 and only build the example if it's available.
2011-03-02 23:21:15 +01:00
Jon Nordby 32dff9df75 cairooverlay: Add generic Cairo overlay video element.
Allows applications to connect to the "draw" signal of
the element and do their custom drawing there.
Includes an example application demonstrating usage.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=595520
2011-03-02 22:55:52 +01:00
Stefan Kost 4e9daf0e49 example: fix the variable name for the ip-address
Fix the name in the launch pipeline and use a value of "localhost" by default.
2011-03-01 22:40:19 +02:00
Wim Taymans 8131d1157f build: don't hardcode version number 2011-02-28 11:58:48 +01:00
Stefan Kost f73cc87239 rtp-examples: move capsfilter behind converters
We need to have the capsfilter behin the converters to make the converters
convert from the formats v4l2src can do to what we request with the
capsfilter.
2011-02-22 14:54:28 +02:00
Stefan Kost 768dbfaf92 rtp-examples: fix ascii-art
Some boxes where misaligned due to long "audiotetssrc" name. Trim trailing
whitespace.
2011-02-22 14:54:28 +02:00
Tim-Philipp Müller 603c703cf2 .gitignore: ignore moved equalizer test binary 2011-02-17 11:58:42 +00:00
Sebastian Dröge 4f78d85707 icles: Add equalizer-test to the build system 2011-02-16 15:30:19 +01:00
Sebastian Dröge dd77fddeea [MOVED FROM BAD 5/5] equalizer-test: Initialize debug category after gst_init() to fix segfault 2011-02-16 15:30:19 +01:00
Sebastian Dröge bece468db4 [MOVED FROM BAD 4/5] tests/icles/equalizer-test.c: Fix gain ranges for the latest equalizer changes.
Original commit message from CVS:
* tests/icles/equalizer-test.c: (do_slider_fiddling):
Fix gain ranges for the latest equalizer changes.
2011-02-16 15:30:19 +01:00
Stefan Kost 04689cdb12 [MOVED FROM BAD 3/5] ChangeLog: ChangeLog surgery. gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _GstIirEqualizerBa...
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery.
* gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN,
_GstIirEqualizerBand, object, _GstIirEqualizerBandClass,
parent_class, gst_iir_equalizer_band_set_property,
gst_iir_equalizer_band_class_init, gst_iir_equalizer_band_get_type,
gst_iir_equalizer_child_proxy_get_child_by_index,
gst_iir_equalizer_child_proxy_get_children_count,
gst_iir_equalizer_child_proxy_interface_init, setup_filter,
gst_iir_equalizer_compute_frequencies, plugin_init):
* tests/icles/equalizer-test.c:
Add fixme and comment for example.
2011-02-16 15:30:19 +01:00
Stefan Kost 85f78281f3 [MOVED FROM BAD 2/5] tests/icles/equalizer-test.c: Port the example to new equalizer api.
Original commit message from CVS:
* tests/icles/equalizer-test.c: (equalizer_set_band_value),
(equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Port the example to new equalizer api.
2011-02-16 15:30:19 +01:00
Tim-Philipp Müller 5dea7172c5 [MOVED FROM BAD 1/5] Fix up to use the newly ported (actually working) GstAudioFilter.
Original commit message from CVS:
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init),
(gst_iir_equalizer_class_init), (gst_iir_equalizer_init),
(setup_filter), (gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_transform_ip), (gst_iir_equalizer_setup),
(plugin_init):
* gst/equalizer/gstiirequalizer.h:
Fix up to use the newly ported (actually working) GstAudioFilter.
Bump core/base requirements to CVS for this.
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/equalizer-test.c: (check_bus),
(equalizer_set_band_value), (equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Add brain-dead interactive test for equalizer.
2011-02-16 15:30:19 +01:00
Thiago Santos cb527623a3 deinterlace: Handle image caps without asserting
Images might have framerate=0/1 in the caps, which caused an
assertion on deinterlace. I don't know of interlaced image formats
but deinterlace might be hardcoded on some generic pipelines and
it shouldn't assert.

The fix was to set field_duration to 0 if the input has a framerate
with a 0 numerator.

This patch also adds checks for this situation on the unit tests.

https://bugzilla.gnome.org/show_bug.cgi?id=641400
2011-02-04 09:38:35 -03:00
Ognyan Tonchev 0add79cbf1 matroskamux: don't leak ebml writer caps when re-using matroskamux
https://bugzilla.gnome.org/show_bug.cgi?id=640542
2011-01-26 08:51:04 +00:00
Tim-Philipp Müller 285235a10a examples: autoaudisink -> autoaudiosink in RTP examples 2011-01-24 13:39:58 +00:00
Tim-Philipp Müller 8f501521c7 tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
2011-01-07 01:11:02 +00:00
Tim-Philipp Müller 67f4489cd0 jack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:26:30 +00:00
Tristan Matthews 13957deeed examples: add test to demonstrate jack_client_t usage 2011-01-02 14:30:08 +00:00
David Schleef 7b8981766b Change M_PI to G_PI 2010-12-30 14:20:52 -08:00
Wim Taymans 17c45a8869 examples: add example RTP stats
Add some more RTP examples for how to retrieve RTP stats in a receiver.
2010-12-23 13:58:30 +01:00
Thiago Santos dde7af4b9d jpegenc: Adds another test case
Adds a test for jpegenc to check that is possible to negotiate and
push buffers with different resolution one after another.

https://bugzilla.gnome.org/show_bug.cgi?id=637686
2010-12-21 15:23:11 -03:00
Sebastian Dröge 4ae9f125f0 wavenc: Fix memory leaks in the unit test 2010-12-19 11:02:41 +01:00
Edward Hervey 1d0f79478f check: Fixup the shutting down order
First bring down everything to NULL before attempting to unlink
or unref anything.

Avoids the tests just hanging there for ever waiting to acquire a
lock that doesn't exist anymore.
2010-12-05 14:45:07 +01:00
Edward Hervey e75c11eb7d tests: Fix previously unbuildable/untested wavenc test 2010-12-03 15:04:26 +01:00
Edward Hervey f8b8c0476a check: Use fail_unless_equals_int instead of fail_if
Makes the error message more interesting
2010-12-03 14:52:42 +01:00
Stefan Kost a97c77177e tests: makefile cleanup
Fix indentation. Use $(GST_MAJORMINOR) instead of hardcoded 0.10.
2010-12-03 09:49:26 +02:00
Stefan Kost 4843424da3 tests: add a test for wav muxing 2010-12-03 09:49:26 +02:00
Stefan Kost 35232cd490 tests: remove newlines between variable decls (old gst-indent failure) 2010-12-03 09:49:26 +02:00
Wim Taymans fdfe76ac53 examples: improve RTP examples
Make the examples use autovideosink and ffmpegcolorspace for better
compàtibility.
Make some more variables for the sink and the decoders.
Set zerolatency tuning on x264enc for better realtime results.
2010-12-02 19:16:47 +01:00
David Schleef 0e721b81f4 tests: Don't dist generated orc files 2010-10-15 14:02:57 -07:00
Sebastian Dröge 96fb89f86c examples: Fix build with GTK+ 3.0 2010-10-12 11:37:40 +02:00
Wim Taymans 1e310bc1ee test: add python version of the audio sender
Add a python version of the audio sender pipeline.

Ported by Sp4rc on IRC.
2010-10-04 17:56:57 +02:00
Wim Taymans b50ce27b14 tests: Add python RTP client example
Add a python version of the PCMA client app.

Ported by Sp4rc on IRC.
2010-10-04 17:52:22 +02:00
Thijs Vermeir 9c429de37a examples: fix indentation on rtp client example 2010-09-30 11:38:38 +02:00
Thijs Vermeir 92a1adfde8 examples: fix typo in port of rtp examples 2010-09-30 11:38:38 +02:00
Wim Taymans 0236b2efc3 pulse: add test app for pulse device probe 2010-09-22 19:02:35 +02:00
Stefan Kost 78d0353745 shapewipe: add optional border parameter and slowdown animation
Allow to play with the border property (sharp/soft edges).
2010-09-21 23:35:38 +03:00
Sebastian Dröge e20663bf89 shapewipe: Force the input to AYUV to prevent negotiation failures in videomixer
The second videotestsrc chain might produce YUY2 because everything is
accepted downstream before the first shapewipe chain gets negotiated.
2010-09-21 19:15:22 +02:00
Stefan Kost bbb7943942 camctrl: add license header to demo 2010-09-15 18:44:31 +03:00
Stefan Kost 9338395bc5 example: add v4l2 example, demonstrating the use of gst controller 2010-09-10 17:00:58 +03:00
Stefan Kost b72c29a834 tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
2010-09-09 21:49:43 +03:00
Wim Taymans 5a5c0d6911 tests: fix rtpjpegpay test
Make the data we send to the jpeg payloader be a valid jpeg file because the
payloader now expects this.
2010-09-09 18:48:54 +02:00
Sebastian Dröge 89bb403ffc imagefreeze: Add test for checking if imagefreeze correctly returns UNEXPECTED after the first buffer 2010-09-04 14:52:08 +02:00
Sebastian Dröge 6b705ba6f5 imagefreeze: Add test for bufferalloc passthrough 2010-09-04 14:52:08 +02:00
Sebastian Dröge 5cd240952e imagefreeze: Fix race conditions in the unit test
If setting the pipeline to PLAYING before issuing the seek, buffers
are already arriving at the sink before the seek is handled and
will have the wrong timestamps and everything.

Fixes bug #625547.
2010-09-04 14:52:08 +02:00
Jonathan Matthew debe2d5634 id3v2mux: write beats-per-minute tag using TBPM frame
https://bugzilla.gnome.org/show_bug.cgi?id=621520
2010-08-05 00:04:48 +01:00
Stefan Kost 0a9a3e4b26 examples: no need to set the color for each frq-band 2010-08-02 23:17:46 +03:00
Mark Nauwelaerts f5adfaed23 tests: rtp payloading: fix pad leak 2010-08-02 13:04:37 +02:00
Sebastian Dröge a978c1a03d examples: Destroy the cairo context after usage 2010-07-24 10:29:01 +02:00
Sebastian Dröge bba463be38 examples: Use cairo instead of to-be-deprecated GDK API
Fixes bug #625002.
2010-07-24 10:26:31 +02:00
Guido Günther 496ed42bbd examples: Make demos -DSEAL safe to fix build with GTK+ 3.0 2010-06-27 07:28:22 +02:00
Tim-Philipp Müller 8afc8a7398 tests: add plugin loading whitelist to test environment
Only want to load core/base/good plugins here.

Fixes #619717.
2010-06-24 15:17:11 +01:00
Tim-Philipp Müller 1acafecb2c tests: ignore sub-directory with orc tests 2010-06-17 16:41:56 +01:00
Zaheer Abbas Merali e49c31fd25 matroskamux: revert change that set a reserved flag on the Block.
So matroska's Block structure has no keyframe flag, only the SimpleBlock has it.
To detect keyframes in Blocks, it is just the BlockGroup container that needs
to have a ReferenceBlock attached if it is a delta frame in video.
2010-06-14 14:28:53 +01:00
Sebastian Dröge aa9dc41a6b tests: Add clean rule for the orc tests 2010-06-12 14:12:50 +02:00
Sebastian Dröge 20b589c793 tests: Add autogenerated orc tests 2010-06-12 14:12:04 +02:00
Sebastian Dröge 307e7f7a21 matroskamux: Fix unit test for changed key-frame behaviour
All audio frames are marked as keyframe now instead of marking
them all as delta unit...
2010-06-10 22:55:17 +02:00
Mark Nauwelaerts 4e5c985ba4 matroskamux: adjust unit test to modified behaviour 2010-06-01 15:55:24 +02:00
Mark Nauwelaerts b967b035a9 matroskamux: unit test checks version 1 files 2010-05-20 17:32:24 +02:00
Tim-Philipp Müller 14305e4f9b tests: fix leak in souphttpsrc unit test
Unref server objects when done. Fixes check-valgrind.
2010-05-14 18:16:45 +01:00
Tim-Philipp Müller 1732ce033a Move oss4 plugin from -bad to -good
Hook up build infrastructure, docs and tests.

Fixes #614305.
2010-05-11 19:02:55 +01:00
Tim-Philipp Müller 54986f85c6 tests: fix test-oss4 to treat an empty device name the same as a NULL name 2010-05-11 19:02:54 +01:00
Stefan Kost 9675efa0b2 tests/icles/test-oss4.c: Include stdlib.h.
Original commit message from CVS:
* tests/icles/test-oss4.c:
Include stdlib.h.
2010-05-11 19:02:53 +01:00
Tim-Philipp Müller b508c0440c tests/icles/: Small oss4 test that probes for available devices and retrieves their caps and mixer tracks and all tha...
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/test-oss4.c: (opt_show_mixer_messages), (WAIT_TIME),
(show_mixer_messages), (probe_mixer_tracks), (probe_pad),
(probe_details), (probe_element), (main):
Small oss4 test that probes for available devices and retrieves
their caps and mixer tracks and all that. Also allows testing of
mixer change messages on the bus.
2010-05-11 19:02:53 +01:00
Tim-Philipp Müller 5fcbea7e7e Move imagefreeze plugin from -bad to -good
Hook up build infrastructure, docs and unit test for new plugin.

Fixes #613786.
2010-05-11 14:31:44 +01:00
Benjamin Otte e258a91f8b Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-05-11 14:31:44 +01:00
Sebastian Dröge f152f6e20f imagefreeze: Add some unit tests 2010-05-11 14:31:43 +01:00
Tim-Philipp Müller f9ced7df94 Move capsfilter element from -bad to -good
Hook up moved files to the build infrastructure and docs.

Fixes #617739.
2010-05-11 14:31:43 +01:00
Benjamin Otte a200ec01b8 Add -Wold-style-definition
and fix the warnings
2010-05-11 14:31:43 +01:00
Mark Nauwelaerts 0eee8477df capssetter: add unit test 2010-05-11 14:31:43 +01:00
Mark Nauwelaerts 798ccb7e97 y4menc: adjust unit test to element behaviour 2010-04-30 13:54:41 +02:00
Sebastian Dröge 88451daa03 deinterlace: Fix unit test that checks caps handling
deinterlace now always adds the interlaced field to the output caps,
if it wasn't present in the input caps the output caps will still
contain interlaced=false.
2010-04-29 19:28:23 +02:00
Sebastian Dröge f9edd9b169 videofilter: Extend the unit test to test different color formats 2010-04-29 19:28:21 +02:00
Sebastian Dröge d214820001 videofilter: Add some more tests
These check different property combinations
2010-04-29 19:28:21 +02:00
Tim-Philipp Müller 219058cc6f tests: don't use GST_PLUGIN_LDFLAGS when building test binaries 2010-04-17 10:03:50 +01:00
Tim-Philipp Müller cc04850bd8 tests: use LDADD for libs to link to instead of LDFLAGS
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.

Based on patch by Brian Cameron <brian.cameron@oracle.com>

Fixes #615697.
2010-04-14 20:06:09 +01:00
Edward Hervey 62bd0cd0fa check: Ignore osx audio/video src/sinks in state change tests
And make the line readable for those mere mortals that don't own a 30" screen
2010-04-12 18:22:39 +02:00
Edward Hervey 552f790e84 check: Don't re-declare 'GList *buffers' in the tests
It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.
2010-04-12 18:03:20 +02:00
Edward Hervey d11998247c check: Ignore jpegenc test 2010-04-12 11:17:34 +02:00
Thiago Santos f5dba3a7a3 tests: jpegenc: Adds some getcaps test
Adds tests for the jpegenc getcaps function, to avoid
having it returning non-subset caps
2010-04-05 16:10:06 -03:00
Tim-Philipp Müller d756bab488 build: build plugins and examples in parallel where possible 2010-03-29 11:00:57 +01:00
Tim-Philipp Müller c4a9ed774e tests: use loop test for long-running videocrop check
This should avoid timeouts on slow machines.

Fixes #597739.
2010-03-23 00:19:29 +00:00
Benjamin Otte 412cc10314 Add -Wold-style-definition flag
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte 3f511ec361 Add -Wwrite-strings to the configure flags
... and fix all warnings
2010-03-21 14:17:47 +01:00
Tim-Philipp Müller 073201b329 build: Makefile.am cleanups
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00:00
Benjamin Otte c76e72a7f5 Add -Wundef to configure flags
and fix the resulting warnings
2010-03-17 21:33:28 +01:00
Benjamin Otte 3342b1679e Add -Wmissing-declarations -Wmissing-prototypes warning flags
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Tim-Philipp Müller a18164d56e tests: fix metadata not writable warnings in interleave and deinterleave tests 2010-03-11 15:51:40 +00:00
Tim-Philipp Müller df2c773e7d tests: fix metadata not writable warnings with apev2mux and id3v2mux tests 2010-03-11 15:38:19 +00:00
Benjamin Otte 21f66635e8 Update for recent changes to common submodule
This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.
2010-03-10 21:53:51 +01:00
Tim-Philipp Müller 27569e53e8 Make git ignore shapewipe examples and tests 2010-02-19 12:13:08 +00:00
Sebastian Dröge 5196ee5148 shapewipe: Fix unit test for latest changes
Now the alpha is multiplied with the already existing alpha
value instead of simply ignoring it and the luma/chroma values
are kept, even if the output is 100% transparent.
2010-02-15 00:50:27 +01:00
Sebastian Dröge 9ba1aaef67 shapewipe: Improve unit test output on errors 2010-02-15 00:47:08 +01:00
Sebastian Dröge bc611043a9 Moved 'shapewipe' from -bad to -good
Fixes bug #584536.
2010-02-12 11:24:38 +01:00
Sebastian Dröge a59bc8a240 [MOVED FROM BAD 26/29] shapewipe: Print some more details on error/warning messages 2010-02-12 11:12:35 +01:00
Sebastian Dröge 9b70be59c7 [MOVED FROM BAD 09/29] shapewipe: Increase timeout of the unit test 2010-02-12 11:12:33 +01:00
Sebastian Dröge aeca13bac2 [MOVED FROM BAD 07/29] shapewipe: Add unit test for shapewipe 2010-02-12 11:12:32 +01:00
Sebastian Dröge 88f4bd4efd [MOVED FROM BAD 04/29] shapewipe: Divide the border value by two, otherwise we use a twice a wide border 2010-02-12 11:12:32 +01:00
Sebastian Dröge c0f9553707 [MOVED FROM BAD 03/29] shapewipe: Add border property to allow smooth borders
...and use a border of 0.01 in the example application.
2010-02-12 11:12:32 +01:00
Sebastian Dröge b7f83c6b80 [MOVED FROM BAD 02/29] shapewipe: Fix Makefile of the example application 2010-02-12 11:12:32 +01:00
Sebastian Dröge 12a27a46f9 [MOVED FROM BAD 01/29] shapewipe: Add a simple shapewipe transition filter & example application 2010-02-12 11:12:32 +01:00
Tim-Philipp Müller f40b016ec3 checks: ignore deinterlace check binary 2010-01-27 01:49:49 +00:00
Stefan Kost 8576a11dae Revert "v4l2src: don't deref NULL"
This reverts commit 3d9d34bd60.
2010-01-25 17:21:13 +02:00
Stefan Kost 3d9d34bd60 v4l2src: don't deref NULL
Error out when the pool gets shutdown.
2010-01-25 14:16:22 +02:00
Stefan Kost 498b62c5ba build: no unused variables when disabling asserts 2010-01-22 16:48:01 +02:00
Thiago Santos 62900a4c13 deinterlace: Improve passthrough tests
Improve passthrough tests by forcing more specific
interlaced/deinterlaced caps to be tested
2010-01-05 19:04:23 -03:00
Thiago Santos 096c759427 deinterlace: Adds some docs to the new tests
Adds some docs explaining the utility functions of the check
tests of deinterlace
2010-01-05 18:23:33 -03:00
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 f85ebb389c tests: use right type when passing vararg value 2009-12-24 17:01:15 +01: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
Michael Smith e98c682732 rtp examples: remove executable bits from C files. 2009-10-23 17:25:17 -07: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
Edward Hervey f81575cf26 tests/pipeline/flac: Fix build on macosx 10.5 2009-10-13 18:33:34 +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
Stefan Kost e0cdd879b4 build: fprintf, sprintf, sscanf need stdio.h 2009-10-07 14:03:20 +03:00
Sebastian Dröge 1a291a126a rtp: Use autoaudio{sink,src} instead of alsa in the examples 2009-09-30 18:46:57 +02: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 56850099a6 flvmux: Enable unit test now that it passes 2009-08-04 07:08:45 +02: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
Sebastian Dröge e382514818 effectv: Add unit test for all effectv elements 2009-07-16 12:55:49 +02:00
Filippo Argiolas 6105fa5b5e v4l2src: add a simple test case for device probing 2009-07-13 16:16:22 +02: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
Wim Taymans ff34ca9682 tests: turn g_print into debug 2009-06-16 15:06:25 +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
Tim-Philipp Müller 7ade32216f Remove a few old example apps from the 0.8 days
Some have been replaced by newer ones, others are demoing elements that
don't exist any longer (not in -good anyway), and others have not been
touched in many years and it seem pointless to keep them around.

Removing these files makes sure we don't have any code in our repository
that uses Gtk+ symbols which are to be removed for GNOME3, and as such
will make some script that greps for this kind of stuff give us a clean
bill of code health. Fixes #585757.
2009-06-14 19:19:19 +01:00
Marvin Schmidt e284f0cb29 tests: Don't run the flacdec test if the plugin isn't built. Fixes #585630 2009-06-13 10:43:55 +02:00
Stefan Kost 501f4fe13e makefile: idea about makeing more sources/sinks testable again 2009-05-26 16:29:46 +03:00
Jan Schmidt bdd5f4f2d9 check: Don't change directory in the test
Changing directory invalidates the paths the registry has picked
up for our plugins, because the test environment specifies relative
paths. Fixing that is a separate problem, in the meantime, build a
path to the test files instead of changing directory. Fixes the
distcheck.
2009-05-16 02:37:06 +01: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 bf58596e16 ignores: Ignore the flacdec check binary 2009-05-16 00:18: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
Tim-Philipp Müller 0c4b6ee286 checks: fix flacdec unit tests on big-endian machines and under valgrind
Flacdec outputs 16-bit samples, so let's check if the value of the first
sample is what we expect rather than just the first byte, which may be
different from what we expect depending on the host's endianness. Fixes
the flacdec unit tests on PPC. Also fix a bunch of leaks in the unit
tests to make valgrind happy. Fixes #582420.
2009-05-13 09:24:26 +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 fd1580cc57 checks: dist id3-577468-unsynced-tag.tag test file 2009-05-11 23:13:20 +01:00
Sebastian Dröge e0f4244336 gdkpixbuf: Use the libs and cflags of gdk pixbuf instead of gtk
This fixes the build if gdk-pixbuf is found but gtk isn't
2009-05-11 10:15:00 +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 356e863c9c tests: don't build examples if --disable-examples was passed to configure 2009-05-05 13:23:45 +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
Thomas Vander Stichele 5f802dad4e add debug and an assert 2009-04-04 15:14:31 +02:00
Thomas Vander Stichele be94a147ba add a test to check that we get all decoded bytes
from a 10-buffer audiotestsrc flac, in the case of:
 - a full decode
 - a decode of a seek for the full file
 - a decode of a seek for a small part, smaller than the first buffer

The test fails because flacdec drops the first outgoing buffer on a seek
2009-04-04 15:14:31 +02: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
Peter Kjellerstedt c83635d42c check: gst-plugins-good.supp needs to be distributed. 2009-03-04 16:15:05 +01: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
Wim Taymans fe0bba045f Fix compiler warnings
fix compiler warnings due to unused return values of scanf.
2009-02-02 13:08:14 +01:00
Sebastian Dröge a5acb2e1a8 Fix format string compiler warning 2009-01-31 11:09:00 +01:00
Jan Schmidt fd75e08f45 Fix up some compile flags 2009-01-30 18:04:11 +00:00
Stefan Kost 00fdca0c14 Fix example apps by drawing in the main-loop. 2009-01-27 23:10:36 +02:00
Tim-Philipp Müller 3c1f1b195f tests: fix build of aspectratio crop unit test in uninstalled environment. 2009-01-27 20:33:02 +00: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
Jan Schmidt 093e555473 More entries for the gitignores 2009-01-23 23:38:10 +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