Commit graph

446 commits

Author SHA1 Message Date
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