Tim-Philipp Müller
14649643df
checks: simplify GstBus usage in videoscale unit test
...
There's no need to run a main loop, add a bus watch and deal with
helper structs here just to wait for an EOS message.
2010-06-26 12:03:54 +01:00
Tim-Philipp Müller
3563c7c7a5
checks: speed up videoscale unit test a little
...
Use new gst_element_link_pads_full() function to link elements,
and disable all checks when linking (don't try this at home).
Down to 18s from 3m20s. Scary.
2010-06-26 11:45:34 +01:00
Stefan Kost
aef6123172
tests: use our own macros for the tests main function
2010-06-21 09:53:23 +03:00
Edward Hervey
d17d8e5319
Revert "audioresample: set pads as negotiable"
...
This reverts commit 5f74f3a82e
.
2010-06-15 13:09:37 +02:00
Edward Hervey
be72e1506f
Revert "audioconvert: set pads negotiable"
...
This reverts commit bbd7dee8f6
.
2010-06-15 13:09:29 +02:00
Wim Taymans
bbd7dee8f6
audioconvert: set pads negotiable
2010-06-14 18:10:52 +02:00
Wim Taymans
5f74f3a82e
audioresample: set pads as negotiable
2010-06-14 17:48:58 +02:00
Sebastian Dröge
39c39ff5ab
videoscale: And only expect a single buffer in the unit test
2010-06-14 16:07:21 +02:00
Sebastian Dröge
b62f435fd0
videoscale: Only convert one buffer instead of five
...
Should make the unit test a lot faster.
2010-06-14 16:02:13 +02:00
Sebastian Dröge
8ae112058c
videoscale: Add ffmpegcolorspace after videotestsrc for the unit test
2010-06-13 22:17:18 +02:00
Sebastian Dröge
303566654e
videoscale: Add a unit test for checking if the negotiation works as expected
2010-05-13 11:16:02 +02:00
Benjamin Otte
3bd4aa26ff
Add -Wwrite-strings to configure
...
Fixes for the code included
2010-03-16 17:41:51 +01:00
Benjamin Otte
5e21fa5e0e
gst_element_class_set_details => gst_element_class_set_details_simple
...
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Tim-Philipp Müller
444762a877
tests: fix videorate test
...
Fix up videorate test for latest videotestsrc changes: just check for
the important bits in the negotiated caps, not for exact equality with
our filter caps. Also don't leak the videorate element in the test.
2010-03-16 01:08:48 +00:00
Stefan Kost
412e5f5871
tests: update videorate test for videotestsrc changes
...
Add color-matrix to the caps we are comparing. Add logging og the caps in the
test.
2010-03-15 11:43:23 +02:00
Benjamin Otte
43b1683421
Add -Wmissing-declarations -Wmissing-prototypes to warning flags
...
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Benjamin Otte
9b5ef584e2
check: Ref buffers after setting caps on them
...
Reffing makes metadata unwritable, so we need to set the caps before.
2010-03-11 12:18:50 +01:00
Tim-Philipp Müller
c681ecab9f
tests: fix typo in videorate unit test pipeline description
...
Two consecutive ! ! leave a 'Link without source' error in the debug log.
2010-03-10 00:59:10 +00:00
Tim-Philipp Müller
f7ca667189
tests: don't use deprecated functions in videorate unit test
2010-03-10 00:59:10 +00:00
Thiago Santos
e5f96a7a19
videorate: tests: New unit tests for upstream caps nego
...
Adds unit tests that check videorate's upstream caps
negotiation works properly (put passthrough caps
first)
Fixes #608025
2010-02-22 17:27:52 -03:00
Sebastian Dröge
40a841e377
playbin: Fix the primary-decoder-missing test with USE_DECODEBIN2
2010-02-15 10:23:13 +01:00
Sebastian Dröge
b326b77ffa
playbin2: Enable all unit tests
...
They're all working and valgrind clean now.
2010-02-15 08:28:24 +01:00
Sebastian Dröge
ad9830f547
tests: Add decodebin2 test to .gitignore
2010-02-15 06:50:29 +01:00
Sebastian Dröge
93d7bd2c43
decodebin2: Add simple unit test, mainly a copy of the decodebin unit test
...
The only difference between the two unit tests right now is,
that the decodebin2 test resets the element to READY before trying
to reuse it instead of NULL. decodebin2 guarantees to be reusable
without going back to NULL.
2010-02-15 01:21:14 +01:00
Sebastian Dröge
52a34b65b5
playbin: Fix indention in the unit test
2010-02-14 22:16:31 +01:00
Wim Taymans
59ace1b9ee
adder: use collectpads clipping function
...
Install a clipping function in the collectpads and use the audio clipping helper
function to perform clipping to the segment boundaries.
Fixes #590265
2009-12-24 16:30:23 +01:00
Stefan Kost
3d73a7458a
adder: make events succeed, if they succed on atleast one pad
2009-11-19 21:28:23 +02:00
Iago Toral
f63643bd54
subparse: Add support for DKS subtitle format
...
Fixes bug #598936 .
2009-10-22 10:02:11 +02:00
Jan Schmidt
a9f815bd8d
check: Improve audioresample test
...
Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
2009-09-11 21:44:18 +01:00
Sebastian Dröge
723b2baa5d
volume: Implement GstStreamVolume interface
2009-09-11 16:37:35 +02:00
Sebastian Dröge
e22c843d0e
audioresample: Add unit test for checking for timestamp drifts
...
This also checks for perfect timestamping and offsetting.
2009-08-26 09:10:18 +02:00
Sebastian Dröge
01408497a1
audioresample: Improve debugging a bit in the unit test
2009-08-26 09:10:18 +02:00
Edward Hervey
9819a3519d
tests/adder: Add stream consistency checking. Fixes #588748
2009-07-20 11:30:07 +02:00
Jan Schmidt
de02af8d4f
adder: One more attempt to fix the adder test
...
Give up and discard and recreate the alsasrc after checking it can
be opened, due to some strange crash inside alsa when we don't.
2009-07-14 15:31:13 +01:00
Jan Schmidt
7753d46350
adder: Perform get_state() in the unit test
...
Wait for the alsasrc to return to NULL after setting it to PAUSED for
testing, otherwise it leads to segfaults later on.
2009-07-14 15:06:41 +01:00
Jan Schmidt
b26eae25d0
adder: Don't fail when alsasrc is unavailable
...
Make the liveadder test succeed silently when it can't be completed
either because alsasrc is unavailable, or because the device is
inaccessible.
2009-07-14 14:39:32 +01:00
Stefan Kost
4736429c59
adder: skip live-seek text if we have no audiosrc, add new test
...
The seek-test needs a real audiosrc. Also add a test that checks that adder is
reusable. Finaly handle warnings as warnings to fix a assertion.
2009-07-10 19:01:25 +01:00
Stefan Kost
92ecca7f24
adder: make test more robust
...
Add audioconverts to the live-seeking test to make it negotiate.
2009-07-06 20:44:00 +01:00
Branko Subasic
55a5679d89
Added unit tests for buffer list support in appsink.
2009-06-29 11:59:47 +02:00
Stefan Kost
6688af35eb
adder: test seek handling in adder
...
This tests seeking on an adder that has a normal and a live source connected.
Wheter the current behavior is the desired one needs to be discussed still
(see #586033 )
2009-06-22 22:18:03 +03:00
Tim-Philipp Müller
40bea96ff6
subparse: recognise more subrip timestamp variants
...
Be even less restrictive in what we accept for .srt timestamps when
typefinding and parsing subrip subtitles and add a unit test for
the 'new' format. Fixes #585197 .
2009-06-10 14:41:41 +01:00
Tim-Philipp Müller
a18128a3f6
tests: fix audioresample unit test on big endian architectures
...
Don't hardcode endianness=1234 in the filtercaps, it will cause
pad link failures which will result in the test timing out.
2009-05-12 23:51:08 +01:00
Jan Schmidt
2f01e624f5
check: Fix the input uri in playbin2 test.
...
Don't try and use a random file in wim's home directory as a test input
2009-04-16 00:41:42 +01:00
Wim Taymans
4f89685217
check: add a unit test for playbin2
...
Add unit test for playbin2 and include the refcount test in #577794 .
2009-04-10 13:44:40 +02:00
Wim Taymans
4cdfc4b900
check: fix appsink test
...
Fix the appsink test now that the method signature changed.
2009-04-10 12:27:53 +02:00
Jan Schmidt
df660e91c2
ignores: Ignore the videoscale check binary
2009-04-02 12:18:07 +01:00
Tim-Philipp Müller
d271c8de53
audioresample: fix negotiation so that upstream can actually fixate to downstream's rate
...
If one side has a preference for a particular sample rate or set of sample rates, we
should honour this in the caps we advertise and transform to and from, so that elements
actually know about the other side's sample rate preference and can negotiate to it
if supported. Also add unit test for this.
2009-04-01 15:36:38 +01:00
Sebastian Dröge
5545a9704e
videoscale: Add some more unit tests
2009-03-28 12:48:04 +01:00
Sebastian Dröge
8bb44e0f32
videoscale: Add a lot of unit tests
2009-03-28 10:25:12 +01:00
Wim Taymans
eb7b313369
tests: fix include in the appsink test
...
Fix dist by doing the right include.
2009-03-17 11:03:57 +01:00