Piotr Fusik
14644457b0
various: typo fixes
...
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller
3c87d7dc77
tests: fix caps leak in audioresample tests
2011-12-01 01:22:19 +00:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Mark Nauwelaerts
12b54cccd1
tests: vorbisdec: remove empty header buffer check
...
... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.
2011-10-08 20:50:06 +02:00
Vincent Penquerc'h
be39ab28c3
tests: actually test what we said we would
...
All tests were testing the default sine wave
https://bugzilla.gnome.org/show_bug.cgi?id=661106
2011-10-06 20:46:03 +02:00
Sjoerd Simons
8ab3947733
videorate: Add tests for the max-rate case
2011-09-21 11:24:59 +01:00
Sjoerd Simons
8c9e6346b4
videorate: Print which caps didn't match up
2011-09-21 11:24:59 +01:00
Sjoerd Simons
ee3dfd4471
videorate: Add test for caps negotiation
2011-09-21 11:24:59 +01:00
Sebastian Dröge
7e1e169b1b
decodebin2: Fix unit test by strictly implementing parser behaviour instead of relying on basetransform
2011-09-20 13:46:41 +02:00
Sebastian Dröge
0e54d2c343
decodebin2: Don't use bufferalloc in the test elements
...
This will cause not-linked errors that usually don't happen
because normal decoders/parsers will set srcpad caps before
allocating buffers from downstream.
2011-09-07 16:44:59 +02:00
Sebastian Dröge
2d1dd857aa
audiorate: Use complete audio caps, including the endianness field
2011-09-07 14:10:46 +02:00
Sebastian Dröge
490518cfa6
decodebin2: Add unit test for correct parser/converter negotiation
2011-09-06 13:16:44 +02:00
Sebastian Dröge
a883ecfc31
decodebin2: Add Tim as author for the parser test
2011-09-06 13:16:44 +02:00
Vincent Penquerc'h
505bae099e
audioresample: add FFT based checks
...
Send a few simple tones through audioresample and check
that the main frequency spot is the same for the input and
the resampled output.
https://bugzilla.gnome.org/show_bug.cgi?id=656392
2011-08-16 08:14:18 +02:00
Stefan Kost
4019e919f6
tests: rename the test suite to match the binary
...
This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.
2011-07-26 12:37:11 +02:00
Tim-Philipp Müller
69dcacf148
tests: add decodebin2 test for parser autoplugging
...
Make sure decodebin2 doesn't try to plug the same parser twice
in a row.
2011-07-15 16:47:44 +01:00
Tim-Philipp Müller
b3a39daed6
tests: add decodebin1 test for parser autoplugging
...
Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).
2011-07-15 16:41:10 +01:00
Sebastian Dröge
8f967e9e70
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
...
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.
Fixes bug #649642 .
2011-05-31 11:07:11 +02:00
Tim-Philipp Müller
4f6da2bcbc
tests: fix some more unused-but-set-variable warnings with gcc 4.6
2011-05-29 13:32:04 +01:00
Tim-Philipp Müller
0a9600be50
Ignore new playbin2-compress test binary
...
And add old testchannels binary to CRUFT_FILES.
2011-05-28 12:39:06 +01:00
Sebastian Dröge
b0e608e308
playbin2: Disable some compressed stream tests that are racy without a stream-activate event
2011-05-14 11:42:33 +02:00
Sebastian Dröge
0e9203df11
playbin2: Reset buffer counter in playbin2-compressed tests every time when going to READY
2011-05-14 11:42:33 +02:00
Sebastian Dröge
22dae31c2d
playbin2: Add unit test for compressed stream support in playbin2/playsink
2011-05-14 11:42:32 +02:00
Tim-Philipp Müller
0b5e203b19
tests: add unit test for basetransform/videoscale negotiation regression
...
Turn Rene's test pipeline into a unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=648220
2011-04-21 14:11:49 +01:00
Sebastian Dröge
86f679aaac
encodebin: Unref encoding profiles after usage in the test
2011-04-14 13:15:08 +02:00
Sebastian Dröge
10e0b85a56
encodebin: Release pads after setting the state to NULL in the unit test
...
See bug #647756 .
2011-04-14 12:55:00 +02:00
Sebastian Dröge
f1f0625e97
encodebin: Requesting a pad again now gives a g_return_val_if_fail()
...
Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
2011-03-29 15:42:50 +02:00
Thiago Santos
40eaac6191
tests: encodebin: Add reuse test case
...
Adds a test case to check if encodebin can be reused
https://bugzilla.gnome.org/show_bug.cgi?id=644416
2011-03-10 15:12:01 -03:00
Sebastian Dröge
eb91fe7162
encodebin: Fix double unref in unit test
2011-02-24 21:00:34 +01:00
Tim-Philipp Müller
2835a9e45c
checks: add a simple unit test for the source-setup signal
2011-02-24 17:47:15 +00:00
Sebastian Dröge
dc87e8698e
encodebin: Fix memory leaks related to request pads
...
Request pads have to be released by the caller and must be
unreffed after releasing them.
2011-02-24 16:02:50 +01:00
Tim-Philipp Müller
01168b83cf
tests: fix videoscale test by ignoring newly-added 64-bit formats
...
They probably fail because ffmpegcolorspace can't handle those formats.
2011-02-21 17:59:40 +00:00
Tim-Philipp Müller
33a5e3e06f
appsink: add buffer fallback in case the application doesn't handle buffer lists
...
We shouldn't assume the application handles buffer lists, for
ease-of-use reasons and for backwards compatibility reasons.
2011-01-31 18:06:18 +00:00
Edward Hervey
949595a7a3
tests: Update container-less profile checks
2010-12-21 13:23:34 +01:00
Edward Hervey
8a3b45aa1f
gst: New encoding plugin
...
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Mark Nauwelaerts
a0e083a717
tests: audioresample: adjust unit test to relaxed discont checking
2010-12-13 13:05:24 +01:00
Sebastian Dröge
0750531378
videoscale: Add unit test for working reverse negotiation
...
See bug #633147 .
2010-10-29 13:25:10 +02:00
Tim-Philipp Müller
d236f9185f
.gitignore: ignore new appsrc unit test
2010-09-24 12:19:43 +01:00
Thiago Santos
24b523e129
appsrc: Do not override buffer caps if appsrc caps is null
...
Make appsrc not set caps on buffers when its own caps is NULL.
This avoids calling make_metadata_writable on all buffers and
prevents losing buffer caps in case we are not replacing it
with something meaningful.
https://bugzilla.gnome.org/show_bug.cgi?id=630353
2010-09-23 08:23:47 -03:00
Thijs Vermeir
2a868b70ec
tests: use gst-check API in videotestsrc
...
use gst_check_drop_buffers in videotestsrc to
clear the global buffers list.
2010-09-16 15:07:15 +02:00
Thijs Vermeir
36e8018ca7
tests: Fix unit test of videotestsrc
...
Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)
2010-09-16 15:00:22 +02:00
Thijs Vermeir
78055cc852
tests: videotestsrc change the pattern property for the tests
2010-09-10 10:43:51 +02:00
Sebastian Dröge
acc7d51ce5
videoscale: Add some debug output to the videoscale negotiation test
2010-08-11 18:10:45 +02:00
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